You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Emmanouil Batsis <Em...@eurodyn.com> on 2004/09/17 13:34:47 UTC

[Thanks]Re: Best way to run Ant without installing it?

I now use

java -jar /path/to/ant/lib/ant-launcher.jar -buildfile /path/to/build.xml

without changing env properties. The ant lib classpath is resolved by 
the launcher. I could use the ant scripts, but i'd have to branch 
between .sh .bat (I'm using izpack to build a crossplatform installer) 
but calling java works equally well everywhere.

The AntBuild class is a very usefull start for another idea of mine so 
thanks John!.

Many thanks again all,

Manos

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org