3 REM Licensed to the Apache Software Foundation (ASF) under one or more
\r
4 REM contributor license agreements. See the NOTICE file distributed with
\r
5 REM this work for additional information regarding copyright ownership.
\r
6 REM The ASF licenses this file to You under the Apache License, Version 2.0
\r
7 REM (the "License"); you may not use this file except in compliance with
\r
8 REM the License. You may obtain a copy of the License at
\r
10 REM http://www.apache.org/licenses/LICENSE-2.0
\r
12 REM Unless required by applicable law or agreed to in writing, software
\r
13 REM distributed under the License is distributed on an "AS IS" BASIS,
\r
14 REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
15 REM See the License for the specific language governing permissions and
\r
16 REM limitations under the License.
\r
18 if "%OS%"=="Windows_NT" @setlocal
\r
19 if "%OS%"=="WINNT" @setlocal
\r
21 if ""%1""=="""" goto runCommand
\r
23 rem Change drive and directory to %1
\r
24 if "%OS%"=="Windows_NT" goto nt_cd
\r
25 if "%OS%"=="WINNT" goto nt_cd
\r
33 rem Slurp the command line arguments. This loop allows for an unlimited number
\r
34 rem of arguments (up to the command line limit, anyway).
\r
36 if ""%1""=="""" goto runCommand
\r
39 if ""%1""=="""" goto runCommand
\r
40 set ANT_RUN_CMD=%ANT_RUN_CMD% %1
\r
45 rem echo %ANT_RUN_CMD%
\r
48 if "%OS%"=="Windows_NT" @endlocal
\r
49 if "%OS%"=="WINNT" @endlocal
\r