ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: web site example does not work
Date Tue, 29 Jun 2010 11:51:59 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message