ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: JarX: a task to generate JAR's using class dependencie s
Date Thu, 02 Aug 2001 15:27:23 GMT
Matthew,

Sorry - focussed on bug fixes and stuff that will make the 1.4 release
right now. I'd leave the regexp include/exclude to a separate patch, just
to keep things clear. The other things I thought of in relation to this

Move the <depend> support code into the core since it doesn't need to be
optional.

Another thought in this was to create a <dependency-fileset> (I thought
that was what Craeg's depend set was going to be before he explained it).
This fileset would look for classes in its includes and "expand" to suck in
the dependencies. Dunno how workable that is.

Given your timeframe, this is going to be a 1.5 job, so you probably won't
get much feedback in the next few weeks while we concentrate on the 1.4
release.

Conor




----- Original Message -----
From: "Phillips, Matthew" <Matthew.Phillips@dsto.defence.gov.au>
To: <ant-dev@jakarta.apache.org>
Sent: Thursday, August 02, 2001 10:36 AM
Subject: RE: JarX: a task to generate JAR's using class dependencie s


> Looks like with the flurry of current activity, this message may have
gotten
> buried.  Perhaps this sort of extension to the jar task is not high on
the
> agenda at the moment?  Any comments?
>
> Cheers,
>
> Matthew.
>
> > -----Original Message-----
> > From: Phillips, Matthew [mailto:Matthew.Phillips@dsto.defence.gov.au]
> > Sent: Monday, 30 July 2001 11:30 AM
> > To: 'ant-dev@jakarta.apache.org'
> > Subject: RE: JarX: a task to generate JAR's using class dependencie s
> >
> >
> > I _think_ I'd be prepared to merge the jarx logic into the
> > Ant jar task, but
> > I haven't had a look at the size of the code yet, so I may
> > regret saying
> > that ;)  I agree that a generalised class dependency tracking
> > layer would be
> > a Good Thing, perhaps in the form of a Visitor-style
> > iterator.  Not being an
> > EJB developer, I'm not sure if that sort of capability would
> > be all that's
> > required for the ejbjar task.
> >
> > One thing that jarx has that the jar doesn't seem to is the
> > option to use
> > regular expressions with include/exclude via statements like <exclude
> > regexp="my.package.(?!but_not_this_one)"/> which we pretty
> > much depend on,
> > since exclude always wins in fight between conflicting rules.
> >  I think I'd
> > want to add this to jar as part of a merge.
> >
> > If I take this on, my timeframe for anything useful to emerge
> > (ie prototype
> > merged-jarx-jar-task-with-generalised-dependency-tracking-laye
> > r v0.1a) is
> > likely to be 2-3 weeks.  How does that sound?
> >
> > Cheers,
> >
> > Matthew.
> >
> > > -----Original Message-----
> > > From: Conor MacNeill [mailto:conor@cortexebusiness.com.au]
> > > Sent: Friday, 27 July 2001 11:23 PM
> > > To: ant-dev@jakarta.apache.org
> > > Subject: Re: JarX: a task to generate JAR's using class dependencies
> > >
> > >
> > > 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 <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
> > > timeframe.
> > >
> > > Conor
> > >
> > >
> > > ----- Original Message -----
> > > From: "Phillips, Matthew" <Matthew.Phillips@dsto.defence.gov.au>
> > > To: <ant-dev@jakarta.apache.org>
> > > 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
> > > >
> > > >
> > >
> >
>


Mime
View raw message