<path/> elements can be nested, and so can be aggregated in the way you
describe.
I'd suggest steering clear of handling filesets directly, instead always wrap
them in a <path/>.
Unfortunately far too many 3d party tasks do use them directly - which is a
pain :(
----- Original Message -----
From: Darryl Miles
To: Ant Users List
Sent: Friday, January 04, 2008 12:06 PM
Subject: Aggregation of <fileset> or <path> ?
The concept is a "fileset" or "path" is great, but I have to label each
one, I can't aggregate them for 2 or more.
<path>
<fileset refid="my.fileset.unique"/>
</path>
I want the above "fileset" to actually be 2 or more filesets as if I had
written them out like:
<path>
<fileset refid="my.fileset.unique.one"/>
<fileset refid="my.fileset.unique.two"/>
</path>
But be labeled as a single label "my.fileset.unique".
Maybe a <filesetgroup> is needed:
<filesetgroup id="my.filesetgroup.foobar">
<fileset refid="my.fileset.unique.one"/>
<fileset refid="my.fileset.unique.two"/>
</filesetgroup>
Where <filesetgroup refid="my.filesetgroup.foobar"/> could be used in
_ANY_ place that a regular <fileset/> could be.
Darryl
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
________________________________________________________________________
E-mail is an informal method of communication and may be subject to data
corruption, interception and unauthorised amendment for which I-play, a trading
name of Digital Bridges Ltd will accept no liability. Therefore, it will
normally be inappropriate to rely on information contained on e-mail without
obtaining written confirmation.
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and destroy this e-mail. Any unauthorized
copying, disclosure or distribution of the material in this e-mail is strictly
forbidden.
(C) 2005. I-play is a trademark and trading name of Digital Bridges Limited.
All Rights Reserved.
________________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service. For further information visit
http://www.messagelabs.com/stats.asp