alem0lars
alem0lars

Reputation: 690

ANT root directory

How to get the ant root directory (in a crossplatform way) ?

For example:

Thanks..

Upvotes: 2

Views: 3676

Answers (1)

adarshr
adarshr

Reputation: 62583

I don't think you can get that directly.

Probably, you can get the user.home system property and extract the root from it.

Upvotes: 2

Related Questions