ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Merging a single file out of a jar
Date Tue, 03 Jul 2001 07:11:50 GMT
Dieter-Bernd Lamberty <Dieter.Lamberty@t-systems.de> wrote:

> Is there a way to just extract that file and put it in the new
> jar.

I think the nested zipfileset element should help you.

<jar jarfile="my-new.jar">
  <zipfileset src="my-old.jar" includes="my.properties" />
  <fileset dir="my-classes" excludes="my.properties" />
</jar>

Stefan

Mime
View raw message