carbidecpp20devenv/plugins/org.apache.ant_1.7.0.v200803061910/bin/antRun.bat
author cawthron
Wed, 18 Mar 2009 17:21:00 -0500
changeset 1 82d1d1de1a01
permissions -rw-r--r--
import Carbide.c++
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     1
@echo off
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     2
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     3
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     4
REM Copyright  2001-2002,2004-2005 The Apache Software Foundation
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     5
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     6
REM  Licensed under the Apache License, Version 2.0 (the "License");
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     7
REM  you may not use this file except in compliance with the License.
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     8
REM  You may obtain a copy of the License at
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
     9
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    10
REM      http://www.apache.org/licenses/LICENSE-2.0
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    11
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    12
REM  Unless required by applicable law or agreed to in writing, software
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    13
REM  distributed under the License is distributed on an "AS IS" BASIS,
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    14
REM  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    15
REM  See the License for the specific language governing permissions and
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    16
REM  limitations under the License.
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    17
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    18
REM
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    19
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    20
if "%OS%"=="Windows_NT" @setlocal
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    21
if "%OS%"=="WINNT" @setlocal
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    22
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    23
if ""%1""=="""" goto runCommand
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    24
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    25
rem Change drive and directory to %1
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    26
if "%OS%"=="Windows_NT" cd /d ""%1""
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    27
if not "%OS%"=="Windows_NT" cd ""%1""
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    28
shift
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    29
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    30
rem Slurp the command line arguments. This loop allows for an unlimited number
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    31
rem of agruments (up to the command line limit, anyway).
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    32
set ANT_RUN_CMD=%1
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    33
if ""%1""=="""" goto runCommand
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    34
shift
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    35
:loop
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    36
if ""%1""=="""" goto runCommand
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    37
set ANT_RUN_CMD=%ANT_RUN_CMD% %1
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    38
shift
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    39
goto loop
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    40
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    41
:runCommand
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    42
rem echo %ANT_RUN_CMD%
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    43
%ANT_RUN_CMD%
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    44
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    45
if "%OS%"=="Windows_NT" @endlocal
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    46
if "%OS%"=="WINNT" @endlocal
82d1d1de1a01 import Carbide.c++
cawthron
parents:
diff changeset
    47