Ant: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 3: | Line 3: | ||
java -Dant.home=c:\ant org.apache.tools.ant.Main [options] [target] | 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] | java -Dant.home=c:\ant org.apache.tools.ant.launch.Launcher [options] [target] | ||
</source> | |||
<source lang="xml"> | |||
<checksum file="${build.dir}/${jarname}.jar" algorithm="md5" property="jarname.jar.md5"/> | |||
<checksum file="${build.dir}/${jarname}.jar" algorithm="sha1" property="jarname.jar.sha1"/> | |||
</source> | </source> | ||
Revision as of 23:32, 25 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"/>