Mega Code Archive

 
Categories / Java Tutorial / Ant
 

Condition properties

<?xml version="1.0"?> <project name="Apache Ant Properties Project" basedir=".">      <fileset dir="." id="uptodate.id">     <include name="src/jstl/One.java"/>   </fileset>   <condition property="is.fileset">     <isreference refid="uptodate.id" type="fileset"/>   </condition>      <target name="fileset-prepare">     <echo message="Value of is.fileset = ${is.fileset}"/>   </target> </project>