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: Multi-rooted "fileset"?
Date Mon, 02 Oct 2006 06:20:55 GMT
<fileset dir="dir1">
    <patternset id="ps">
       <include ... /> 
    </patternset>
</fileset>
<fileset dir="dir2">
    <patternset refid="ps"/>
</fileset>


Jan

>-----Ursprüngliche Nachricht-----
>Von: Scot P. Floess [mailto:floess@mindspring.com] 
>Gesendet: Sonntag, 1. Oktober 2006 14:15
>An: Ant Users List
>Betreff: Re: Multi-rooted "fileset"?
>
>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
>
>

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


Mime
View raw message