Define properties in a target : Target « Ant « Java Tutorial






<?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>








38.11.Target
38.11.1.Define properties in a target