Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Actual value of variable workspace_loc?

Tags:

eclipse

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

like image 331
Roland Avatar asked Nov 27 '25 05:11

Roland


2 Answers

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}"/>

like image 176
Roland Avatar answered Nov 29 '25 19:11

Roland


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.

like image 40
Jim Fred Avatar answered Nov 29 '25 17:11

Jim Fred



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!