The Tomcat build has a nifty way to do this and I mirrored their technique in the build I did for the open source project called Prevayler...
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/prevayler
Their webcvs seems down right now, so try a bit later. When it come up, look at the "Dependency Targets" section in the build.xml and then look at the utility-targets.incl entity include file which contains the genericized targets. The sample.build.properties contains locations of each library you want to download.
Thought I'd put that out there as an alternative to Maven, although Maven does seem to be pretty cool from what I've seen. I just think it is overkill for some things but, then again, I haven't used it much yet so take my opinion with a grain of salt.
Jake
At 01:51 PM 8/29/2003 -0400, you wrote:
You might want to take a look at Maven, http://maven.apache.org/
Maven builds on top of Ant and one of its features is it handles that gathering of 3rd party libraries automaticly for you.
Charlie Cano wrote:
I would like to use Ant to automate the "gathering" of 3rd party libraries (jars, etc) from a remote ftp server, but I'm not sure what the "right" way of doing it would be.
You're welcome.Thanks in advance, Charlie
-- Erik Husby Team Lead for Software Quality Automation Whitehead Institute/MIT Center for Genome Research Rm. 2192 320 Charles St Cambridge, MA 02141-2023 mobile: 781.354.6669 office: 617.258.9227 [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
