Browse Source

ant.bat was missing runAntNoClasspath label for goto

PR: 34510


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278146 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 20 years ago
parent
commit
dd6f6417d1
2 changed files with 8 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +5
    -1
      src/script/ant.bat

+ 3
- 0
WHATSNEW View File

@@ -371,6 +371,9 @@ Fixed bugs:
* Jar task was not including manifest files when duplicate="preserve" was
chosen. Bugzilla 32802.

* ant.bat was missing runAntNoClasspath label for goto.
Bugzilla 34510

* Classpath was treated in the same way as -lib options. Bugzilla 28046.

* Manual page for cvsversion contained incorrect attributes and did not


+ 5
- 1
src/script/ant.bat View File

@@ -1,6 +1,6 @@
@echo off

REM Copyright 2001,2004 The Apache Software Foundation
REM Copyright 2001,2004-2005 The Apache Software Foundation
REM
REM Licensed under the Apache License, Version 2.0 (the "License");
REM you may not use this file except in compliance with the License.
@@ -94,6 +94,10 @@ if not "%CLASSPATH%"=="" goto runAntWithClasspath
"%_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%
goto end

:runAntNoClasspath
"%_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%
goto end

:runAntWithClasspath
"%_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%
goto end


Loading…
Cancel
Save