ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conelly, Luis (GE Energy, Non GE, GENE)" <>
Subject RE: Ant should have an ext directory
Date Mon, 03 Jan 2005 23:46:12 GMT
Why don't just use the -lib switch[1] and leave all as is? You can modify
the ant script (either ant.bat or to make part of the ant command
the lib switch. Then, you can distribute this modified version to your

Just my 2 cents.


-----Original Message-----
From: Robert r. Sanders []
Sent: Monday, January 03, 2005 5:31 PM
To: Ant Users List
Subject: Re: Ant should have an ext directory

Yeah, but I don't think this is what the question was about.  It would 
be nice to have a place to put the (global) ant extensions you are using 
to keep them separate from the main/default ant libraries to help with 
file management, etc... 

The best I can think of:  Create an ext directory in a central location, 
then use a build process to merge it with a base ANT install; then copy 
the results out to everyone in your department.  Not as nice as if ANT 
supported this directly, but it might help. wrote:

>  "Dick, Brian E." <> writes:
>  > Understood, but I want to create a department-wide ant distribution
>  > is augmented with common extension libraries. None of the options you
>  > list make this particularly clean and easy to manage.
>You may want to look into Maven for this one.  You keep your sources
>on a common server, describe these in a ".xml" file.  Maven downloads
>the sources to the local development environments, caching them there 
>as well as executing the build targets in your ant files.
>I'm going to be looking into it to keep track of which/where SQLServer
>and Oracle jars are, as well as the beanshell and other distributions.
>Seems quite promising.
>I'm pretty sure you could define all your extension libraries,
>versions and where they go in the maven descriptor files.  It also
>allows different projects to have different distributions. (I believe
>it uses an override mechanism)

    Robert r. Sanders
    Chief Technologist

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message