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=10784>. 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=10784 The $ANT_LIB variable for Cygwin / ant-1.5 Summary: The $ANT_LIB variable for Cygwin / ant-1.5 Product: Ant Version: 1.5 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Wrapper scripts AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] ----------- The facts ----------- I entered 'ant -version' in the Cygwin console: ------ [EMAIL PROTECTED] Administrator]$ ant -version java.lang.NoClassDefFoundError: org/apache/tools/ant/Main Exception in thread "main" [EMAIL PROTECTED] Administrator]$ ------ CLASSPATH was not properly set in the $ANT_HOME/bin/ant. ------------- Modification ------------- before: ------- # set ANT_LIB location ANT_LIB=${ANT_HOME}/lib # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath --unix "$ANT_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi -------- after: -------- # For Cygwin, ensure paths are in UNIX format before anything is touched if $cygwin ; then [ -n "$ANT_HOME" ] && ANT_HOME=`cygpath --unix "$ANT_HOME"` [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi # set ANT_LIB location ANT_LIB=${ANT_HOME}/lib -------- result: -------- [EMAIL PROTECTED] Administrator]$ ant -version Apache Ant version 1.5 compiled on July 9 2002 [EMAIL PROTECTED] Administrator]$ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
