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 21072] New: - Allow User-Specified Ant Library Access In Scripts
Date Wed, 25 Jun 2003 06:06:14 GMT
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: dev@ant.apache.org
        ReportedBy: paul_roebuck@mac.com


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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message