On 2010-06-29, Stefan Bodewig wrote:

>>>>    <zipfileset includes="**/*.class">
>>>>      <fileset dir="lib/main" includes="**/*.jar"/>
>>>>    </zipfileset>

> It looks as if the example wanted to use zipgroupfileset instead of
> zipfileset.

No, that wouldn't work either.  <zipgroupfileset> cannot filter its
contents.

<restrict>
  <name name="**/*.class"/>
  <archives>
    <zips>
      <fileset dir="lib/main" includes="**/*.jar"/>
    </zips>
  </archives>
</restrict>

is a correct way to do what the example promises, as would be 

<restrict>
  <name name="**/*.class"/>
  <zipgroupfileset dir="lib/main" includes="**/*.jar"/>
</restrict>

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to