source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/bootstrap/bin/antRun.bat@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 1.3 KB
Line 
1@echo off
2
3REM
4REM Copyright 2001-2002,2004-2005 The Apache Software Foundation
5REM
6REM Licensed under the Apache License, Version 2.0 (the "License");
7REM you may not use this file except in compliance with the License.
8REM You may obtain a copy of the License at
9REM
10REM http://www.apache.org/licenses/LICENSE-2.0
11REM
12REM Unless required by applicable law or agreed to in writing, software
13REM distributed under the License is distributed on an "AS IS" BASIS,
14REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15REM See the License for the specific language governing permissions and
16REM limitations under the License.
17REM
18REM
19
20if "%OS%"=="Windows_NT" @setlocal
21if "%OS%"=="WINNT" @setlocal
22
23if ""%1""=="""" goto runCommand
24
25rem Change drive and directory to %1
26if "%OS%"=="Windows_NT" cd /d ""%1""
27if not "%OS%"=="Windows_NT" cd ""%1""
28shift
29
30rem Slurp the command line arguments. This loop allows for an unlimited number
31rem of agruments (up to the command line limit, anyway).
32set ANT_RUN_CMD=%1
33if ""%1""=="""" goto runCommand
34shift
35:loop
36if ""%1""=="""" goto runCommand
37set ANT_RUN_CMD=%ANT_RUN_CMD% %1
38shift
39goto loop
40
41:runCommand
42rem echo %ANT_RUN_CMD%
43%ANT_RUN_CMD%
44
45if "%OS%"=="Windows_NT" @endlocal
46if "%OS%"=="WINNT" @endlocal
47
Note: See TracBrowser for help on using the repository browser.