Reputation: 690
How to get the ant root directory (in a crossplatform way) ?
For example:
/
C:/
Thanks..
Upvotes: 2
Views: 3676
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