ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <>
Subject Re: JarX: a task to generate JAR's using class dependencies
Date Fri, 27 Jul 2001 13:52:43 GMT

This is something that is on my todo list so it would be good if you run
with it. I would, however, like to see it integrated with the current <jar>
task and also the code from the <depend> task. No sense in duplicating that
sort of stuff. If your code is better, of course, we can change <depend> to
use it instead. What I would really like to see is a jar service and
possibly a dependency service that these tasks layer on top of. That way, I
can re-jig ejbjar to use the jar service and automatically have the
dependency gathering facility. I really want this to have the capability to
automatically ad support classes into an EJB jar.

I was going to tackle some of this, this weekend. Let me know your


----- Original Message -----
From: "Phillips, Matthew" <>
To: <>
Sent: Friday, July 27, 2001 6:06 PM
Subject: JarX: a task to generate JAR's using class dependencies

> Hello all,
> my group has been using Ant to manage our projects for some time and we
> depend on it, so a big thankyou to all the Ant developers.
> In the spirit of giving something back, I'd like to offer to the Ant
> a task I've developed called JarX, which generates JAR's by tracing class
> dependencies.  It essentially takes a main class (or, more generally, a
> of included classes) and follows the class dependency graph to create a
> compact JAR containing only the required classes.  This is most useful
> creating a self-contained executable JAR that uses bits and pieces from a
> number of 3rd party libraries.
> If this is deemed to be a useful addition, please let me know how I
> go about submitting it.
> Cheers,
> Matthew.
> --
> Senior Software Engineer,
> EVIS Group, Information Technology Division,
> Defence Science and Technology Organisation.
> Salisbury, South Australia

View raw message