ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Multi-rooted "fileset"?
Date Sun, 01 Oct 2006 12:14:41 GMT
Use a path like so:

<path  id = "allFiles">
    <fileset dir="dir1">
        <include name="sub1/**/*class" />
        <include name="sub2/resources/**/*" />
        <exlcude name="sub2/resources/whatever/**/*" />
    </fileset>
    <fileset dir="dir2">
        <include name="sub1/**/*ext" />
        <include name="sub2/something/**/*" />
    </fileset>
</path>


Kovács István wrote:
> Hi,
>
> I'd like to assemble a group of files that I can save and reuse. It'd 
> need to have files from multiple directories. That is, instead of 
> writing down
> <fileset dir="dir1">
>     <include name="sub1/**/*class" />
>     <include name="sub2/resources/**/*" />
>     <exlcude name="sub2/resources/whatever/**/*" />
> </fileset>
> <fileset dir="dir2">
>     <include name="sub1/**/*ext" />
>     <include name="sub2/something/**/*" />
> </fileset>
>
> several times, I'd like to save this specific group of files in some 
> structure and reuse it whenever I need to (within the same build 
> script). Please let me know if this is possible.
>
> TIA,
> Kofa
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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


Mime
View raw message