Ant: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:
* [https://ant.apache.org/manual/using.html Writing a Simple Buildfile]
* [https://ant.apache.org/manual/using.html Writing a Simple Buildfile]
* [http://ant.apache.org/manual/tutorial-writing-tasks.html Tutorial: Writing Tasks]
* [http://ant.apache.org/manual/tutorial-writing-tasks.html Tutorial: Writing Tasks]
* [https://ant.apache.org/manual/Tasks/replaceregexp.html Replace RegExp]
* [https://ant.apache.org/manual/Tasks/checksum.html Checksum]
* [https://ant.apache.org/manual/Tasks/replace.html Replace]

Revision as of 00:49, 26 February 2020

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]
<checksum file="${build.dir}/${jarname}.jar" algorithm="md5"  property="jarname.jar.md5"/>
<checksum file="${build.dir}/${jarname}.jar" algorithm="sha1" property="jarname.jar.sha1"/>

References