Built-in build variable which references the workspace's root directory in Eclipse Java IDE
In the Eclip开发者_运维问答se Java IDE does there exist a (built-in) build variable which references the workspace's root directory?
workspace_loc
:
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.
I don't think, there exists such variable.
But, you can create your own workspace directory, and specify that location in the command line of your eclipse.exe, using
"-data <path to your workspace>".
精彩评论