Custom properties : Properties « Ant « Java
- Java
- Ant
- Properties
Custom properties
<?xml version="1.0"?>
<project name="Apache Ant Properties Project" default="properties.custom" basedir=".">
<target name="properties.custom">
<property name="build.no" value="1.1"/>
<echo message="Build no. = ${build.no}"/>
</target>
</project>
AntBasicTags.zip( 2 k)Related examples in the same category