I have 2 different filesets defined in Ant as follows:

<fileset id="fileset1" dir="${classes.dir}">
</fileset>

<zipfileset id="fileset2" src="myArchive.zip" includes="**/*.class">
</zipfileset>

I want to create a third fileset which is the union of both the above filesets

<fileset id="merged">
</fileset>

Can someone tell me how to do this ? Is it even possible to do something like that ? Thanks in advance!

ant
Edit
Report