|
@@ -15,10 +15,17 @@ set DEFAULT_ANT_HOME=%DEFAULT_ANT_HOME:\bin\=% |
|
|
if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME% |
|
|
if "%ANT_HOME%"=="" set ANT_HOME=%DEFAULT_ANT_HOME% |
|
|
set DEFAULT_ANT_HOME= |
|
|
set DEFAULT_ANT_HOME= |
|
|
|
|
|
|
|
|
|
|
|
rem Need to check if we are using the 4NT shell... |
|
|
|
|
|
if "%eval[2+2]" == "4" goto setup4NT |
|
|
|
|
|
|
|
|
rem On NT/2K grab all arguments at once |
|
|
rem On NT/2K grab all arguments at once |
|
|
set ANT_CMD_LINE_ARGS=%* |
|
|
set ANT_CMD_LINE_ARGS=%* |
|
|
goto doneStart |
|
|
goto doneStart |
|
|
|
|
|
|
|
|
|
|
|
:setup4NT |
|
|
|
|
|
set ANT_CMD_LINE_ARGS=%$ |
|
|
|
|
|
goto doneStart |
|
|
|
|
|
|
|
|
:win9xStart |
|
|
:win9xStart |
|
|
rem Slurp the command line arguments. This loop allows for an unlimited number of |
|
|
rem Slurp the command line arguments. This loop allows for an unlimited number of |
|
|
rem agruments (up to the command line limit, anyway). |
|
|
rem agruments (up to the command line limit, anyway). |
|
|