ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37223] - dynamically extend ant's classpath, i.e. from inside of a running ant
Date Tue, 25 Oct 2005 19:56:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37223>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37223





------- Additional Comments From meinc@web.de  2005-10-25 21:56 -------
I know the ${user.home}/.ant/lib option. However this is per user not per project.
Maybe another solution which could help a bit would be to scan a third
location, e.g. a subdirectory below the the project homedir such as ${basedir}/.ant/lib.

By the wy this request for extension has nothing to do with IDEs. Rather
i would like to have a mean to extend a standard ant installation with
project specific jars. E.g. if I write an ant script that requires the
groovy libs to be installed, I could ship them together with the project
and inject them in case they are not already found on the classpath
(by testing for existance of a ceratin class). So the only requirement
would be to have a working ant installation. That should be all.
And typing ant on the command line should do the rest.

Without such means, the only way I see to solve the problem is to write
a bootstrap target that injects the required libs into ants home lib
or user lib. Calls itself again does what it should do and than ...
should it always delete the injected libs (hmmm we need to keep track of already existant
libs) and finally what's about performance.

Hope I made it more clear and there is still a chance for consideration of this request.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message