Hi,
I believe there's a bug in the ant startup script when running under
cygwin:
The CLASSPATH env var is never switched to windows format before
running ant. Since sub tasks that spawn new processes (i.e. antlr)
inherits the CLASSPATH and doesn't use the LOCALCLASSPATH passed to
java, they'll fail. A quick fix is included below:
rgds
Jeppe
*** bin/ant.orig Wed Feb 20 12:14:42 2002
--- bin/ant Wed Feb 20 12:14:32 2002
***************
*** 129,133 ****
--- 129,134 ----
ANT_HOME=`cygpath --path --windows "$ANT_HOME"`
JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
LOCALCLASSPATH=`cygpath --path --windows "$LOCALCLASSPATH"`
+ CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
fi
$JAVACMD -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS
org.apache.tools.ant.Main "$@"
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>