Ant: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with "==References== * [https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html Hello World with Apache Ant] * [https://ant.apache.org/manual/running.html Running Apache Ant C...")
 
No edit summary
Line 1: Line 1:
'''Running Ant via Java''' If you have installed Ant in the do-it-yourself way, Ant can be started from one of two entry points:
<source lang="bat">
java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
java -Dant.home=c:\ant org.apache.tools.ant.launch.Launcher [options] [target]
</source>
==References==
==References==
* [https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html Hello World with Apache Ant]
* [https://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html Hello World with Apache Ant]
* [https://ant.apache.org/manual/running.html Running Apache Ant Command Line]
* [https://ant.apache.org/manual/running.html Running Apache Ant Command Line]

Revision as of 05:43, 27 March 2019

Running Ant via Java If you have installed Ant in the do-it-yourself way, Ant can be started from one of two entry points:

java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target]
java -Dant.home=c:\ant org.apache.tools.ant.launch.Launcher [options] [target]

References