Browse Source

fix for bug 48186 ant.bat file ignores -noclasspath if it is the first parameter supplied by Ken Southerland.

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

+ 4
- 0
WHATSNEW View File

@@ -9,6 +9,10 @@ Changes that could break older environments:
Fixed bugs: Fixed bugs:
----------- -----------


* ant.bat can now also process the -noclasspath switch when it is
the first switch on a command line.
Bugzilla Report 48186.

* <fixcrlf> now tries to delete the created temporary files earlier. * <fixcrlf> now tries to delete the created temporary files earlier.
Bugzilla Report 48506. Bugzilla Report 48506.




+ 0
- 3
src/script/ant.bat View File

@@ -59,9 +59,6 @@ if "%CLASSPATH%"=="" set _USE_CLASSPATH=no


rem Slurp the command line arguments. This loop allows for an unlimited number rem Slurp the command line arguments. This loop allows for an unlimited number
rem of arguments (up to the command line limit, anyway). rem of arguments (up to the command line limit, anyway).
set ANT_CMD_LINE_ARGS=%1
if ""%1""=="""" goto doneStart
shift
:setupArgs :setupArgs
if ""%1""=="""" goto doneStart if ""%1""=="""" goto doneStart
if ""%1""==""-noclasspath"" goto clearclasspath if ""%1""==""-noclasspath"" goto clearclasspath


Loading…
Cancel
Save