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

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -