Java Tutorial/Ant/Target
Define properties in a target
<?xml version="1.0"?>
<project name="Apache Ant Properties Project" basedir=".">
<target name="properties.custom">
<property name="build.no" value="1.1"/>
<echo message="Build no. = ${build.no}"/>
</target>
</project>