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

           Summary: Allow User-Specified Ant Library Access In Scripts
           Product: Ant
           Version: 1.5.3
          Platform: All
        OS/Version: MacOS X
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the file 'ant' in the bin directory, the following line exists:
> ANT_LIB="${ANT_HOME}/lib"

Essentially, what I would request is that another variable (USER_ANT_LIB?) be
made available as a top-level environment variable like ANT_HOME and that the
line be changed to be:
> ANT_LIB=${USER_ANT_LIB:-${ANT_HOME}/lib}

This provides the same default value as before unless the new environment
variable is set. If set, the specified user directory would take the place
of the standard one.

Benefits to user:
Not everyone has root access. So making a change to the standard install
on a system may not be possible for just anyone. And anyone having done
much XML coding will agree, sometimes putting the jar in $ANT_HOME/lib is
the only way to fix classpath loading errors. Having to share a single
directory can have its downsides.

This would allow creation of library director(y|ies) that can be maintained
independent of the version of Ant installed on the system.

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

Reply via email to