Tx Stephan ... :((
I actually have no other place where I intend to use it... It is just that I prefere 
to prepare all the FileSets / PatternSets in the upper part of my Build-file. Cleaness 
caught me ;-)

\T,


Stefan Bodewig <[EMAIL PROTECTED]> wrote:

>On Fri, 05 Dec 2003, Thomas Lionel SMETS <[EMAIL PROTECTED]> wrote:
>
>> � � <fileset id="compiled.files"
>> � � � � �dir="${build.dir}">
>> � � � � <patternset refid="pattern.class.files" />
>> � � </fileset>
>> 
>> � � <!-- The list with all the jars / �libraries -->
>> � � <fileset id="lib.files"
>> � � � � �dir="${lib.dir}" >
>> � � � � <patternset refid="pattern.lib.files" /> � � 
>> � � </fileset> � � � � �
>>
>> Now for creating my jar, the would like to include both file sets
>> defined here above, to have something like : 
>>
>> � �<!-- The files to be jarred -->
>> � �<fileset id="jarred.files">
>> � � � �<include refid="compiled.files" />
>> � � � �<include refid="lib.files" /> � 
>> � � � �<include refid="java.files" unless="${prod.flag}" /> � �
>> � �</fileset>
>
>which doesn't work as you can't nest filesets into filesets - as
>filesets are rooted in a common dir by (Ant's) definition.
>
>You could simply use
>
><jar ...>
> �<fileset refid="compiled.files" />
> �<fileset refid="lib.files" /> � 
> �<fileset refid="java.files" unless="${prod.flag}" /> � �
></jar>
>
>but I assume you want to pass the collection of filesets around (or is
>there any other reason you don't want to place them under <jar>?).
>What are the "other things" you intended to do with your jarred.files
>fileset?
>
>Stefan
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
 
Thomas SMETS 
rue J. Wytsmanstraat 62
1050 Brussels


__________________________________________________________________
McAfee VirusScan Online from the Netscape Network.
Comprehensive protection for your entire computer. Get your free trial today!
http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397

Get AOL Instant Messenger 5.1 free of charge.  Download Now!
http://aim.aol.com/aimnew/Aim/register.adp?promo=380455

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to