You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2002/11/14 14:59:47 UTC

DO NOT REPLY [Bug 14553] New: - Add support for a separate CLASSPATH

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=14553>.
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=14553

Add support for a separate CLASSPATH

           Summary: Add support for a separate CLASSPATH
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: max@eos.dk


In our buildenvironment we attempt to keep the CLASSPATH as clean as possible 
(read: it is empty) - so it will not influence other java programs.




Thus it would be nice to be able to set an ANTCLASSPATH that would be included 
on the LOCALCLASSPATH when running ant.




It is not an viable option to copy the needed libraries to ant's lib directory 
because that would lead to having duplicats of the same .jars in the build 
environment - and that is not good.




A simple cahnge to do in ant.cmd




set LOCALCLASSPATH=%CLASSPATH%




should read




set LOCALCLASSPATH=%ANTCLASSPATH%;%CLASSPATH%

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>