How to get the ant root directory (in a crossplatform way) ?
For example:
- in linux or macosx would be:
/
- in windows would be:
C:/
- etc..
Thanks..
How to get the ant root directory (in a crossplatform way) ?
For example:
/
C:/
Thanks..
I don't think you can get that directly.
Probably, you can get the user.home
system property and extract the root from it.