From 49838c297a517c9532c729e2af1e9e461bdd9af1 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Sun, 22 Jul 2001 09:56:23 +0000 Subject: [PATCH] OK, reverting change since it was bad and the errorlevel is being set anyway :-( git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269370 13f79535-47bb-0310-9956-ffa450edef68 --- src/script/ant.bat | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/script/ant.bat b/src/script/ant.bat index a913fb75f..81a2835be 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -87,7 +87,6 @@ echo to the installation directory of java. echo. :checkJikes -set ANT_ERROR=no if not "%JIKESPATH%" == "" goto runAntWithJikes :runAnt @@ -98,29 +97,14 @@ goto end "%_JAVACMD%" -classpath "%LOCALCLASSPATH%" -Dant.home="%ANT_HOME%" -Djikes.class.path="%JIKESPATH%" %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS% :end -if errorlevel 1 set ANT_ERROR=yes set LOCALCLASSPATH= set _JAVACMD= set ANT_CMD_LINE_ARGS= if not "%OS%"=="Windows_NT" goto mainEnd - :winNTend -if %ANT_ERROR% == yes goto winNTError - -:winNTOK @endlocal -set ANT_ERROR=no -goto :mainEnd - -:winNTError -@endlocal -set ANT_ERROR=yes -goto :mainEnd :mainEnd if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat" -if %ANT_ERROR%=="yes" exit 1 - -