diff options
-rwxr-xr-x | build.bat | 4 | ||||
-rwxr-xr-x | build.sh | 11 |
2 files changed, 4 insertions, 11 deletions
@@ -9,11 +9,11 @@ set LIBDIR=lib set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip;%LIBDIR%\ant.jar;%LIBDIR%\batik.jar;%LIBDIR%\buildtools.jar;%LIBDIR%\xerces-1.2.3.jar;%LIBDIR%\xalan-2.0.0.jar;%LIBDIR%\xalanj1compat.jar;%LIBDIR%\bsf.jar;%LIBDIR%\jimi-1.0.jar set ANT_HOME=%LIBDIR% -echo Building with classpath %LOCALCLASSPATH%;%CLASSPATH% +echo Building with classpath %LOCALCLASSPATH% echo Starting Ant... -%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath %LOCALCLASSPATH%;%CLASSPATH% org.apache.tools.ant.Main %1 %2 %3 %4 %5 +%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5 goto end @@ -17,15 +17,8 @@ LOCALCLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/classes.zip:$LIBDIR/ant.j ANT_HOME=$LIBDIR echo -CP=$LOCALCLASSPATH -if [ ! "$CLASSPATH" = "" ] -then -CP=$CP:$CLASSPATH -fi -echo Building with classpath $CP - - +echo Building with classpath $LOCALCLASSPATH echo Starting Ant... echo -$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$CP" org.apache.tools.ant.Main $* +$JAVA_HOME/bin/java -Dant.home=$ANT_HOME -classpath "$LOCALCLASSPATH" org.apache.tools.ant.Main $* |