1
edit
Changes
→Tutorials
::set JAVA_HOME=...
::set PATH=%PATH%;%ANT_HOME%\bin
:ant buildfiles are written in XML – build.xml. Each buildfile contains one project and at least one (default) target.
:Targets contain task elements
<code>
<?xml version="1.0"?>
<!-- compile java files from all subdirectories -->
<project name="First" default="build" basedir=".">
<target name="build" >
<javac srcdir="."
debug="false"
optimize="false"
includes="**/*.java"
/>
</target>
</project>
</code>