ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Gonze" <lu...@worldos.com>
Subject RE: [PATCH] modifications to ant shell script to run under cygwin
Date Tue, 20 Feb 2001 22:58:43 GMT
Small correction to my patch follows.

bash.exe-2.02$ diff /usr/ant/bin/ant-orig /usr/ant/bin/ant
2a3,4
> # modifications by lucas@gonze.com Feb 20, 2001 to make this run under Cygwin.
> 
40c42,48
< LOCALCLASSPATH=`echo $ANT_HOME/lib/*.jar | tr ' ' ':'`
---
> if [ "$OSTYPE" = "cygwin32" ] ; then
>     LOCALCLASSPATH=`echo $ANT_HOME/lib/*.jar | tr ' ' ';'`
>     CLASSPATHSEP=";"
> else
>     LOCALCLASSPATH=`echo $ANT_HOME/lib/*.jar | tr ' ' ':'`
>     CLASSPATHSEP=":"
> fi
43c51
<   LOCALCLASSPATH=$CLASSPATH:$LOCALCLASSPATH
---
>   LOCALCLASSPATH="${CLASSPATH}${CLASSPATHSEP}${LOCALCLASSPATH}"
48c56
<     LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/tools.jar
---
>     LOCALCLASSPATH="${LOCALCLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/lib/tools.jar"
52c60
<     LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
---
>     LOCALCLASSPATH="${LOCALCLASSPATH}${CLASSPATHSEP}${JAVA_HOME}/lib/classes.zip"


Mime
View raw message