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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -