ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Skeet" <jon.sk...@peramon.com>
Subject RE: Combining JARs into one JAR
Date Wed, 12 Jun 2002 20:19:13 GMT
> Ant is allowing me to split my mungo project into lots of 
> smaller (more
> manageable) projects that can be built separately or in bulk. 
> I am getting
> lots of JAR files out as a result, but unfortunately that is 
> causing my
> classpath to grow long, too long for certain things that need 
> to use it...

The extensions mechanism (or judicious use of URLClassLoader inside your code) could be of
use.
 
> I know the real problem is probably elsewhere, but is there 
> any simple way (via Ant) to bundle these JARs back into one big 
> JAR?

You could build a new jar file with all the others listed as zipfilesets.

Jon

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


Mime
View raw message