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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to