From 0bd1b3f1daf41257393caa6b64ee4111ab5bfecf Mon Sep 17 00:00:00 2001 From: Antoine Levy-Lambert Date: Tue, 9 Mar 2010 23:09:35 +0000 Subject: [PATCH] fix for Bug 48876, ANT_CMD_LINE_ARGS are rippling through lower level Ant usage git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@921184 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 3 +++ src/script/ant.bat | 1 + 2 files changed, 4 insertions(+) diff --git a/WHATSNEW b/WHATSNEW index d5b3a52e1..215f4ee9f 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -57,6 +57,9 @@ Fixed bugs: * AntClassLoader in Ant 1.8.0 has been considerably slower than in 1.7.1 Bugzilla Report 48853 + + * ANT_CMD_LINE_ARGS are rippling through lower level Ant usage + Bugzilla Report 48876 Other changes: -------------- diff --git a/src/script/ant.bat b/src/script/ant.bat index ff85b6de6..a70841895 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -59,6 +59,7 @@ if "%CLASSPATH%"=="" set _USE_CLASSPATH=no rem Slurp the command line arguments. This loop allows for an unlimited number rem of arguments (up to the command line limit, anyway). +set ANT_CMD_LINE_ARGS= :setupArgs if ""%1""=="""" goto doneStart if ""%1""==""-noclasspath"" goto clearclasspath