OSDN Git Service

DBFlute-0.9.3に更新
[ea2ddl/ea2ddl.git] / ea2ddl-gen / dbflute-0.9.3 / ant / bin / antRun.bat
1 @echo off\r
2 \r
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
9 REM \r
10 REM      http://www.apache.org/licenses/LICENSE-2.0\r
11 REM \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
17 \r
18 if "%OS%"=="Windows_NT" @setlocal\r
19 if "%OS%"=="WINNT" @setlocal\r
20 \r
21 if ""%1""=="""" goto runCommand\r
22 \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
26 cd ""%1""\r
27 goto end_cd\r
28 :nt_cd\r
29 cd /d ""%1""\r
30 :end_cd\r
31 shift\r
32 \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
35 set ANT_RUN_CMD=%1\r
36 if ""%1""=="""" goto runCommand\r
37 shift\r
38 :loop\r
39 if ""%1""=="""" goto runCommand\r
40 set ANT_RUN_CMD=%ANT_RUN_CMD% %1\r
41 shift\r
42 goto loop\r
43 \r
44 :runCommand\r
45 rem echo %ANT_RUN_CMD%\r
46 %ANT_RUN_CMD%\r
47 \r
48 if "%OS%"=="Windows_NT" @endlocal\r
49 if "%OS%"=="WINNT" @endlocal\r
50 \r