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 11872] New: - ANT_LIB not set correctly on Cygwin
Date Tue, 20 Aug 2002 20:09:45 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=11872>.
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=11872

ANT_LIB not set correctly on Cygwin

           Summary: ANT_LIB not set correctly on Cygwin
           Product: Ant
           Version: 1.5
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Wrapper scripts
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: scottg@scripted.com


Ant 1.5 fails to run on Cygwin. It generates the following error:
  java.lang.NoClassDefFoundError: org/apache/tools/ant/Main
  Exception in thread "main"

The problem is that in the ant wrapper script ($ANT_HOME/bin/ant), ANT_LIB is 
set before Cygwin paths are converted. It needs to be done afterwards.

Here's a diff:

72,74d71
< # set ANT_LIB location
< ANT_LIB=${ANT_HOME}/lib
< 
83a81,83
> 
> # set ANT_LIB location
> ANT_LIB=${ANT_HOME}/lib

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


Mime
View raw message