conor 01/07/22 02:56:23
Modified: src/script ant.bat Log: OK, reverting change since it was bad and the errorlevel is being set anyway :-( Revision Changes Path 1.13 +0 -16 jakarta-ant/src/script/ant.bat Index: ant.bat =================================================================== RCS file: /home/cvs/jakarta-ant/src/script/ant.bat,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- ant.bat 2001/07/21 13:03:19 1.12 +++ ant.bat 2001/07/22 09:56:23 1.13 @@ -87,7 +87,6 @@ echo. :checkJikes -set ANT_ERROR=no if not "%JIKESPATH%" == "" goto runAntWithJikes :runAnt @@ -98,29 +97,14 @@ "%_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 [EMAIL PROTECTED] -set ANT_ERROR=yes -goto :mainEnd - :mainEnd if exist "%HOME%\antrc_post.bat" call "%HOME%\antrc_post.bat" -if %ANT_ERROR%=="yes" exit 1 - -