File: antRun.bat

package info (click to toggle)
jsch 0.1.19-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 752 kB
  • ctags: 1,566
  • sloc: java: 9,667; sh: 120; perl: 69; xml: 62; python: 54; makefile: 13
file content (20 lines) | stat: -rw-r--r-- 281 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off

rem Change drive and directory to %1 (Win9X only for NT/2K use "cd /d")
cd %1
%1\
set ANT_RUN_CMD=%2
shift
shift

set PARAMS=
:loop
if ""%1 == "" goto runCommand
set PARAMS=%PARAMS% %1
shift
goto loop

:runCommand
rem echo %ANT_RUN_CMD% %PARAMS%
%ANT_RUN_CMD% %PARAMS%