ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: fileset and directoryset
Date Mon, 26 May 2008 10:24:20 GMT
A fileset selects files and a dirset directories.

<project>
    <mkdir dir="dir1/dir2a/dir3a"/>
    <mkdir dir="dir1/dir2a/dir3b"/>
    <mkdir dir="dir1/dir2b/dir3a"/>
    <echo file="dir1/dir2b/dir3a/file1.txt"/>
    <echo file="dir1/dir2b/dir3a/file2.txt"/>
    
    <dirset  id="ds" dir="dir1"/>
    <fileset id="fs" dir="dir1"/>
    
    <echo>dirset : ${toString:ds}</echo>
    <echo>fileset: ${toString:fs}</echo>
    
    <delete dir="dir1"/>
</project>


Jan
 

> -----Urspr√ľngliche Nachricht-----
> Von: Irfan.Sayed@t-systems.com [mailto:Irfan.Sayed@t-systems.com] 
> Gesendet: Montag, 26. Mai 2008 12:11
> An: user@ant.apache.org
> Betreff: fileset and directoryset
> 
> Hi All,
> 
>  
> 
> Can somebody please let me know what is the meaning of fileset and
> directory set in case of ANT.
> 
>  
> 
> Please help
> 
>  
> 
> Regards
> 
> Irfan.
> 
>  
> 
> 

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


Mime
View raw message