You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ir...@t-systems.com on 2008/05/26 12:10:44 UTC

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.

 


AW: fileset and directoryset

Posted by Ja...@rzf.fin-nrw.de.
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