On 2010-06-28, SZEDER Gábor wrote: > Hi,
> On Sun, Jun 13, 2010 at 04:26:51PM +0100, Peter Reilly wrote: >> how is it failing? >>> <jar destfile="build/main/checksites.jar"> >>> <fileset dir="build/main/classes"/> >>> <zipfileset includes="**/*.class"> >>> <fileset dir="lib/main" includes="**/*.jar"/> >>> </zipfileset> >>> <manifest> >>> <attribute name="Main-Class" >>> value="com.acme.checksites.Main"/> >>> </manifest> >>> </jar> > .../build.xml:3: only single argument resource collections are supported as > archives The nested resource collection of a <zipfileset> specifies the single archive to read from. >> it works for me with ant 1.8.0. > fails here with both 1.8.0 and 1.8.1. The code above will work if there is only a single jar under lib/main but fail if there is more than one. It looks as if the example wanted to use zipgroupfileset instead of zipfileset. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org