Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 65624 invoked by uid 500); 27 Jul 2001 14:05:41 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 65615 invoked from network); 27 Jul 2001 14:05:41 -0000 Message-ID: <007901c116a6$06401610$0fe4223f@cognetnt> From: "Conor MacNeill" To: References: <2149A0BABC77D311AF890090274E00B203A1E9EA@salex005.dsto.defence.gov.au> Subject: Re: JarX: a task to generate JAR's using class dependencies Date: Fri, 27 Jul 2001 23:52:43 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Matthew, 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 task and also the code from the task. No sense in duplicating that sort of stuff. If your code is better, of course, we can change 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 timeframe. Conor ----- 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 now > 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 project > 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 set > of included classes) and follows the class dependency graph to create a > compact JAR containing only the required classes. This is most useful when > 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 should > go about submitting it. > > Cheers, > > Matthew. > -- > matthew.phillips@dsto.defence.gov.au > > Senior Software Engineer, > EVIS Group, Information Technology Division, > Defence Science and Technology Organisation. > Salisbury, South Australia > >