Construct path under unix in ant script : File Directory « Ant « Java Tutorial






<?xml version="1.0"?>
<project name="Apache Ant Properties Project" basedir=".">
  
  <target name="build.path.unix">
    <echo message="File: ${basedir}/build.xml"/>
    <echo message="Path: ${basedir}/build.xml;${basedir}/build.properties"/>
  </target> 


</project>








38.5.File Directory
38.5.1.Get base directory and file separator
38.5.2.Construct path in ant script
38.5.3.Construct path under unix in ant script
38.5.4.Converted path
38.5.5.File set to include a file
38.5.6.Ant task delete tree
38.5.7.Ant task copy file
38.5.8.Ant task make dir
38.5.9.Accepts a selection if it is acceptable to both of two FilenameFilters