Author: antoine
Date: Tue Jan 26 17:41:27 2010
New Revision: 903337

URL: http://svn.apache.org/viewvc?rev=903337&view=rev
Log:
fix for bug 48186 ant.bat file ignores -noclasspath if it is the first 
parameter supplied by Ken Southerland.

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/src/script/ant.bat

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=903337&r1=903336&r2=903337&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Tue Jan 26 17:41:27 2010
@@ -9,6 +9,10 @@
 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.
    Bugzilla Report 48506.
 

Modified: ant/core/trunk/src/script/ant.bat
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/script/ant.bat?rev=903337&r1=903336&r2=903337&view=diff
==============================================================================
--- ant/core/trunk/src/script/ant.bat (original)
+++ ant/core/trunk/src/script/ant.bat Tue Jan 26 17:41:27 2010
@@ -59,9 +59,6 @@
 
 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=%1
-if ""%1""=="""" goto doneStart
-shift
 :setupArgs
 if ""%1""=="""" goto doneStart
 if ""%1""==""-noclasspath"" goto clearclasspath


Reply via email to