Show
Ignore:
Timestamp:
01/03/07 15:35:40 (2 years ago)
Author:
patrick
Message:

MFT [rev 19747]: Hack around yet another problem with running batch files

from Visual C++ 8.0. This problem may be specific to Visual
C++ 8.0 Express Edition, but the basic issue is that having
a label named "end" causes a lot of problems. This has not
been changed in Ant 1.7.0, so I do not know what to think
about this workaround—other than that it is lame.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/branches/2.0/external/ant/bin/ant.bat

    r17443 r19748  
    7373:noAntHome 
    7474echo ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME. 
    75 goto end 
     75goto antend 
    7676 
    7777:checkJava 
     
    9393if not "%CLASSPATH%"=="" goto runAntWithClasspath 
    9494"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% 
    95 goto end 
     95goto antend 
    9696 
    9797:runAntNoClasspath 
    9898"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% 
    99 goto end 
     99goto antend 
    100100 
    101101:runAntWithClasspath 
    102102"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% 
    103 goto end 
     103goto antend 
    104104 
    105105:runAntWithJikes 
     
    109109:runAntWithJikesNoClasspath 
    110110"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS% %ANT_CMD_LINE_ARGS% 
    111 goto end 
     111goto antend 
    112112 
    113113:runAntWithJikesAndClasspath 
    114114"%_JAVACMD%" %ANT_OPTS% -classpath "%ANT_HOME%\lib\ant-launcher.jar" "-Dant.home=%ANT_HOME%" "-Djikes.class.path=%JIKESPATH%" org.apache.tools.ant.launch.Launcher %ANT_ARGS%  -cp "%CLASSPATH%" %ANT_CMD_LINE_ARGS% 
    115 goto end 
     115goto antend 
    116116 
    117 :end 
     117:antend 
    118118set _JAVACMD= 
    119119set ANT_CMD_LINE_ARGS=