ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant Manual question
Date Thu, 27 Aug 2009 12:25:45 GMT
On 2009-08-27, Alec Fernandez <Alec.Fernandez@sas.com> wrote:

> I found this example in the selectors section of the ant manual

[re-flown]

> <fileset dir="${src}">
>   <type type="dir"/>
> </fileset>

> but I was unable to get it to work.  If I change <fileset> to <dirset>
> then it returns the the matching directories as expected

It depends on the task.  Some tasks will use fileset as a container for
files only (what you have seen when you said "unable to get ot to work"
while other tasks will also consider the directories matched by the
fileset.

Stefan


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


Mime
View raw message