Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 41753 invoked from network); 14 Jul 2002 06:54:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Jul 2002 06:54:03 -0000 Received: (qmail 19017 invoked by uid 97); 14 Jul 2002 06:54:26 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 18980 invoked by uid 97); 14 Jul 2002 06:54:25 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 18966 invoked by uid 50); 14 Jul 2002 06:54:24 -0000 Date: 14 Jul 2002 06:54:24 -0000 Message-ID: <20020714065424.18965.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 10784] New: - The $ANT_LIB variable for Cygwin / ant-1.5 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: ant-dev@jakarta.apache.org ReportedBy: y.inoue@computer.org ----------- The facts ----------- I entered 'ant -version' in the Cygwin console: ------ [Administrator@SEBASTIAN Administrator]$ ant -version java.lang.NoClassDefFoundError: org/apache/tools/ant/Main Exception in thread "main" [Administrator@SEBASTIAN 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: -------- [Administrator@SEBASTIAN Administrator]$ ant -version Apache Ant version 1.5 compiled on July 9 2002 [Administrator@SEBASTIAN Administrator]$ -- To unsubscribe, e-mail: For additional commands, e-mail: