Hi all,
 
Attached is patch and test-case for extension for <fileset> type. It allows to include another fileset in current one. E.g.:
 
<fileset id="foo1">
<includes name="world.peace" />
</fileset>
<fileset id="foo2">
<includesfileset refid="foo1" />
<includes name="world.war" />
</fileset>
 
It works even recursivelly, so this is valid:
 
<fileset id=""foo2"">
<includesfileset refid=""foo2"" />
<includes name=""reefer.saddness"" />
</fileset>
 
 
This solves RFE 1051752 [http://sourceforge.net/tracker/?group_id=31650&atid=402871&func=detail&aid=1051752] and maybe some others.
Some tasks, which accept multiple filesets should now be transformed into one fileset with multiple includesfilesets.
 
Attached is also one test-case for this functionality. Excuse briefness of xml-documentation - I'm not good document writer (mainly becouse of mine English...)
 
Regards,
Martin
 

Attachment: FileSetTest.patch
Description: Binary data

Attachment: FileSet.patch
Description: Binary data

Reply via email to