ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ecirame...@upromise.com>
Subject proper use of filesets...
Date Tue, 22 Jun 2004 15:15:48 GMT
What's the best way to use filesets (in tasks that support them)?

Delete, for example, you can use filesets two ways:

  <delete includeEmptyDirs="true">
    <fileset dir="dir1"/>
    <fileset dir="dir2"/>
  </delete>

or 

  <delete includeEmptyDirs="true">
    <fileset dir="${parent.dir}">
     <include name="dir1"/>
     <include name="dir2"/>
    </fileset>
  </delete>

I prefer the second example, but is there any benefit of one over the other?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message