0N/A@echo off
0N/A
809N/AREM Licensed to the Apache Software Foundation (ASF) under one or more
809N/AREM contributor license agreements. See the NOTICE file distributed with
809N/AREM this work for additional information regarding copyright ownership.
809N/AREM The ASF licenses this file to You under the Apache License, Version 2.0
809N/AREM (the "License"); you may not use this file except in compliance with
809N/AREM the License. You may obtain a copy of the License at
809N/AREM
0N/AREM http://www.apache.org/licenses/LICENSE-2.0
809N/AREM
0N/AREM Unless required by applicable law or agreed to in writing, software
0N/AREM distributed under the License is distributed on an "AS IS" BASIS,
0N/AREM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0N/AREM See the License for the specific language governing permissions and
0N/AREM limitations under the License.
0N/A
0N/Aif "%OS%"=="Windows_NT" @setlocal
809N/Aif "%OS%"=="WINNT" @setlocal
0N/A
0N/Aif ""%1""=="""" goto runCommand
0N/A
0N/Arem Change drive and directory to %1
809N/Aif "%OS%"=="Windows_NT" goto nt_cd
809N/Aif "%OS%"=="WINNT" goto nt_cd
809N/Acd ""%1""
809N/Agoto end_cd
809N/A:nt_cd
809N/Acd /d ""%1""
809N/A:end_cd
0N/Ashift
0N/A
0N/Arem Slurp the command line arguments. This loop allows for an unlimited number
809N/Arem of arguments (up to the command line limit, anyway).
0N/Aset ANT_RUN_CMD=%1
0N/Aif ""%1""=="""" goto runCommand
0N/Ashift
0N/A:loop
0N/Aif ""%1""=="""" goto runCommand
0N/Aset ANT_RUN_CMD=%ANT_RUN_CMD% %1
0N/Ashift
0N/Agoto loop
0N/A
0N/A:runCommand
0N/Arem echo %ANT_RUN_CMD%
0N/A%ANT_RUN_CMD%
0N/A
0N/Aif "%OS%"=="Windows_NT" @endlocal
809N/Aif "%OS%"=="WINNT" @endlocal
0N/A