|
Re: Path and build variable syntax [message #1815962 is a reply to message #1815958] |
Wed, 16 October 2019 05:25 |
Ed Merks Messages: 33223 Registered: July 2009 |
Senior Member |
|
|
Try to use then in any Launch Configuration. Create any old one for testing (Run -> Run Configurations...); perhaps a simple Java application from which you can print out the arguments from main(). On the Arguments page there are Variables... buttons. Here these are descriptions for the variables, i.e., work workspace_loc it says:
Returns the absolute file system path of the workspace root. When an argument is specified, the absolute file system path of the resource identified by a workspace relative path is returned.
So one important difference between ${workspace_loc}/project/path/file.extension and ${workspace_loc:/project/path/file.extension} is that the former assumes the file is physically in the workspace's root folder whereas the latter works even if the project is elsewhere in the file system, e.g., a Git clone not physically nested in the workspace.
I'm not sure there is documentation elsewhere; all these variables are contributed via extensions in some plugin.xml...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.08503 seconds