ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier CROISIER" <Olivier.CROIS...@thales-is.com>
Subject Re: Merging jar files?
Date Tue, 24 Aug 2004 12:31:09 GMT
Hi !

Basically, a jar file is just a zip file, so I think you could use the unzip task to extract
the jar contents into your compiled class' folder, then jar the whole ?

Olivier Croisier

> Is there a simple way to merge one jar file into another in ant?
> Specifically, I have a hierarchy of .class files and a .jar file, and
> I'd like to build a new .jar file that contains both the classes from
> the .class files and the classes from the first .jar file.

-- 
CROISIER Olivier
Software Engineer
Thales IS - ANS
olivier.croisier@thales-is.com

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


Mime
View raw message