Roland
Roland

Reputation: 7863

Actual value of variable workspace_loc?

How can I find out what actual path the variable workspace_loc points to? This is in the context of "External Tools Configurations".

Upvotes: 3

Views: 8423

Answers (2)

Jim Fred
Jim Fred

Reputation: 1126

The actual variables values can be viewed in the project properties dialog using: Properties / Resource / Linked Resources / Path Variables. Expect to see a list of name/value pairs for ECLIPSE_HOME, PARENT_LOC, PROJECT_LOC and WORKSPACE_LOC.

Upvotes: 2

Roland
Roland

Reputation: 7863

Use the ANT echo task:

assume that in the "External Tools Configurations" you defined basedir as: ${workspace_loc:/com.my.tools}

Then use the following in your ant build file:

<echo message="${basedir}"/>

Upvotes: 4

Related Questions