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=18766>. 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=18766 JIKESPATH is corrupted by ant wrapper script when using Cygwin Summary: JIKESPATH is corrupted by ant wrapper script when using Cygwin Product: Ant Version: 1.5.2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Wrapper scripts AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Near the end of the "ant" wrapper script are these lines: if [ -n "$CYGHOME" ]; then if [ -n "$JIKESPATH" ]; then JIKESPATH=`cygwin --path --windows "$JIKESPATH"` ... This converts JIKESPATH from a Unix-style path to a Windows-style path, when JIKESPATH is set, and Ant is being run under Cygwin. The problem is that JIKESPATH is already a Windows-style path, certainly if the user is using Cygwin. So JIKESPATH "C:\j2sdk1.4.1_02\lib\rt.jar" becomes "C;C:\j2sdk1.4.1_02\lib\rt.jar" I guess JIKESPATH could just be left untouched, since it must already be a Windows-style path, but maybe a more robust solution is to add a line farther up in the script, where Windows-style paths are turned into Unix-style when running under Cygwin, before any modifications are made: if $cygwin; then ... [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` # two new lines: [ -n "$JIKESPATH" ] && JIKESPATH=`cygpath --path --unix "$JIKESPATH"` fi