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=10664>. 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=10664 wrapper script fails on cygwin if ANT_HOME is a Windows path Summary: wrapper script fails on cygwin if ANT_HOME is a Windows path Product: Ant Version: 1.5 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Wrapper scripts AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If ANT_HOME is set to a Windows-style path (such as "C:\java\jakarta-ant-1.5"), the ant startup script ($ANT_HOME/bin/ant) fails on cygwin. The problem is that ANT_LIB is set to ${ANT_HOME}/lib before ANT_HOME is changed to a UNIX path. The fix is simply to set ANT_LIB after ANT_HOME is changed. Patch shown below. *** ant.orig Tue Jul 9 09:13:56 2002 --- ant Wed Jul 10 15:11:52 2002 *************** *** 69,77 **** cd $saveddir fi - # 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" ] && --- 69,74 ---- *************** *** 82,87 **** --- 79,87 ---- CLASSPATH=`cygpath --path --unix "$CLASSPATH"` fi + # set ANT_LIB location + ANT_LIB=${ANT_HOME}/lib + if [ -z "$JAVACMD" ] ; then if [ -n "$JAVA_HOME" ] ; then if [ -x "$JAVA_HOME/jre/sh/java" ] ; then -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
