avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: cvs commit: jakarta-avalon-excalibur/naming build.xml
Date Thu, 21 Mar 2002 15:06:36 GMT
> -----Original Message-----
> From: Peter Donald [mailto:peter@apache.org] 
> On Mon, 18 Mar 2002 00:17, Leif Mortenson wrote:
> > What about adding an init task to the builds which checks for the 
> > pressence of all required jars.  If any are missing then the build 
> > will fail with a message telling them to run 'ant 
> update-ant-jars'.  
> > This task would automatically download and install all of 
> the required 
> > jars from our server and install them into the correct ant 
> > directories.  The user then reruns and and everything will 
> work.  Is 
> > there a way to have ant check the dates of the required files?  It 
> > would  be nice if the build could tell users to rerun the update 
> > whenever any of the required jar versions are changed as well.
> I would seriously think about strangling anyone who tried to 
> update my ant 
> installation in the build process. I don't think this is the 
> solution. 
> Hopefully the BUILDING.txt instructions should help a little though.

Now, how do you feel about creating an init task which checks the
GUMP <depends> entries and installs the required libs into the
sub-project lib folder?

It does not change your ant install, and it allows you to get the
jars from a known location.  Even better, It allows you to use
that already exists in the GUMP desriptor so that as that is updated,
the init task is also automatically updated.  By minimizing duplication
of information, you minimize the chance that it is not updated in all
the proper places.

> > > junitperf.jar shouldn't be needed ... but the rest of them are. 
> > > junitperf.jar could probably be added in wherever it is 
> needed. It 
> > > is an unfortunate "feature" of ant that these need to be 
> in the same 
> > > classloader as the rest of the task.
> >
> > There are a few tests in the all subproject that use it.
> True but it sjhould not need to go int ant/lib - it should 
> just bereferenced 
> from whatever project needs it via properties.

I agree

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

View raw message