You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

antRun.bat 686B

12345678910111213141516171819202122232425262728293031
  1. @echo off
  2. REM Copyright (c) 2001-2002 The Apache Software Foundation. All rights
  3. REM reserved.
  4. if "%OS%"=="Windows_NT" @setlocal
  5. if ""%1""=="""" goto runCommand
  6. rem Change drive and directory to %1
  7. if "%OS%"=="Windows_NT" cd /d ""%1""
  8. if not "%OS%"=="Windows_NT" cd ""%1""
  9. shift
  10. rem Slurp the command line arguments. This loop allows for an unlimited number
  11. rem of agruments (up to the command line limit, anyway).
  12. set ANT_RUN_CMD=%1
  13. if ""%1""=="""" goto runCommand
  14. shift
  15. :loop
  16. if ""%1""=="""" goto runCommand
  17. set ANT_RUN_CMD=%ANT_RUN_CMD% %1
  18. shift
  19. goto loop
  20. :runCommand
  21. rem echo %ANT_RUN_CMD%
  22. %ANT_RUN_CMD%
  23. if "%OS%"=="Windows_NT" @endlocal