java - Find working directory from Ant -
Can anyone say that the ant is running an ant from the user?
For example, I would like
I tried to do this:
& lt; Property Environment = "env" /> & Lt; Echo & gt; $ {Env.CWD} & lt; / Echo & gt;
But it does not work.
The whole property object is returned by System.getProperties ()
Ant Try it out:
& lt; Echo & gt; $$ user.dir} & lt; / Echo & gt;
Comments
Post a Comment