ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erskine, Chris" <chris.ersk...@eds.com>
Subject RE: Ant library paths
Date Fri, 10 Dec 2004 22:43:13 GMT
Is there a way within Ant to find the arguments that were supplied so that I
can call a new version of Ant through the Exec task?

Chris Erskine
 
EDS Consulting Services
F5-EDS-001
2424 Garden of the Gods Rd
Colorado Springs, CO  80919
 
Phone: 719-535-6064


> -----Original Message-----
> From: RADEMAKERS Tanguy [mailto:Tanguy.RADEMAKERS@swift.com]
> Sent: Friday, December 10, 2004 11:35 AM
> To: Ant Users List
> Subject: RE: Ant library paths
> 
> Hi Chris,
> 
> You could try using the <exec> task and specifying the -lib switch.
> 
> Regs,
> /t
> 
> >-----Original Message-----
> >From: Erskine, Chris [mailto:chris.erskine@eds.com]
> >Sent: Friday, December 10, 2004 7:23 PM
> >To: Ant Users List
> >Subject: RE: Ant library paths
> >
> >I am planning on version controlling them as part of the
> >project.  The issue
> >is that I need an Ant task from within Ant that will allow me
> >to add the
> >jars to the top level classloader when I spawn ant to the new
> >build file.
> >The jars may not be around on the first pass or will at least
> >be nuked and
> >recreated when I reload the project.
> >
> >Chris Erskine
> >
> >EDS Consulting Services
> >F5-EDS-001
> >2424 Garden of the Gods Rd
> >Colorado Springs, CO  80919
> >
> >Phone: 719-535-6064
> >
> >> -----Original Message-----
> >> From: ed.wittmann@fiserv.com [mailto:ed.wittmann@fiserv.com]
> >> Sent: Friday, December 10, 2004 11:14 AM
> >> To: Ant Users List
> >> Subject: Re: Ant library paths
> >>
> >> Well, you could version-control your libraries and get them
> >out based on
> >> version and project..
> >>
> >> ant lets you specify wildcards, you could simply get out all your
> >> libraries, and include them with a mask like:
> >>
> >>  ../lib/*.zip
> >> ../lib/*.jar
> >>
> >>
> >>
> >>
> >> Edward Wittmann
> >>
> >>
> >>
> >>
> >>
> >> "Erskine, Chris" <chris.erskine@eds.com>
> >> 12/10/2004 12:47 PM
> >> Please respond to "Ant Users List"
> >>
> >>         To:     user@ant.apache.org
> >>         cc:
> >>         Subject:        Ant library paths
> >>
> >>
> >> I have seen a number of mails about the ant runtime path for
> >items like
> >> the
> >> optional jar files.  The environment that I am working with
> >is running
> >> under
> >> CruiseControl, I am calling a build file that will delete the project
> >> directory and then recreate it.  In this project, I want to
> >have an ant
> >> lib
> >> directory that will contain the jars that are required for
> >running ant.
> >> The
> >> question is how to spawn ant from the first build file
> >passing in the jars
> >> in this lib directory and include all of the arguments that
> >are passed to
> >> the first instance of ant?
> >>
> >> I want to do it in this form to allow me to have multiple
> >projects that
> >> may
> >> be dependent on different version of the optional jar files
> >so that I am
> >> not
> >> required to upgrade all the projects at the same time when a
> >new version
> >> of
> >> a jar becomes available.
> >>
> >> Chris Erskine
> >>
> >> EDS Consulting Services
> >> F5-EDS-001
> >> 2424 Garden of the Gods Rd
> >> Colorado Springs, CO  80919
> >>
> >> Phone: 719-535-6064
> >>
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >> For additional commands, e-mail: user-help@ant.apache.org
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> >For additional commands, e-mail: user-help@ant.apache.org
> >
> >

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


Mime
View raw message