user63904
user63904

Reputation:

Built-in build variable which references the workspace's root directory in Eclipse Java IDE

In the Eclipse Java IDE does there exist a (built-in) build variable which references the workspace's root directory?

Upvotes: 1

Views: 372

Answers (2)

Arjan Tijms
Arjan Tijms

Reputation: 38163

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.

Upvotes: 2

Saurabh Gokhale
Saurabh Gokhale

Reputation: 46395

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>".

Upvotes: 0

Related Questions