DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21072>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21072

Allow User-Specified Ant Library Access In Scripts





------- Additional Comments From [EMAIL PROTECTED]  2003-07-14 09:20 -------
The original thought was something akin to 'java.ext.dirs' but specific to Ant.
The '-Dant.ext.dirs' would add all jars from any existing directory found in 
the path.
This could accomodate both project and user level setups.

If a single directory is being offered, could it be environment-based?

USER_ANT_LIB=${ANT_EXT_LIB:-${HOME}/.ant/lib}
if [ -d $USER_ANT_LIB ];
then
    # load any jars found
fi

This would allow turning it off (if necessary) or redirecting it to another 
directory.
It would be very handy for many common extensions. The question remains as
to whether it will this allow Xerces/Xalan to be loaded from there.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to