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
<source lang=java>
<?xml version="1.0"?>
</project>
</source>
:A project has three attributes:
'''name''' the name of the project.
'''default''' the default target to use when no target is supplied.
'''basedir''' the base directory from which all path calculations are done
: Each project defines one or more targets which are a set of task elements you want to execute
:When starting ant, you can select which target(s) you want to have executed