You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by co...@locus.apache.org on 2000/08/02 12:28:30 UTC
cvs commit: jakarta-ant/src/bin antRun.bat
conor 00/08/02 03:28:29
Modified: src/bin antRun.bat
Log:
Support more than 9 arguments under Win 95/98
Revision Changes Path
1.5 +10 -1 jakarta-ant/src/bin/antRun.bat
Index: antRun.bat
===================================================================
RCS file: /home/cvs/jakarta-ant/src/bin/antRun.bat,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- antRun.bat 2000/07/15 06:31:42 1.4
+++ antRun.bat 2000/08/02 10:28:28 1.5
@@ -5,5 +5,14 @@
shift
shift
-%ANT_RUN_CMD% %1 %2 %3 %4 %5 %6 %7 %8 %9
+set PARAMS=
+:loop
+if "%1" == "" goto runCommand
+set PARAMS=%PARAMS% %1
+shift
+goto loop
+
+:runCommand
+echo %ANT_RUN_CMD% %PARAMS%
+%ANT_RUN_CMD% %PARAMS%