| 1 |
d2a8c3fd
|
Marc NICOLAS
|
@echo off
|
| 2 |
|
|
|
| 3 |
|
|
REM
|
| 4 |
|
|
REM Grab the directory where this script resides, for use later
|
| 5 |
|
|
REM
|
| 6 |
|
|
set COBERTURA_HOME=%~dp0
|
| 7 |
|
|
|
| 8 |
|
|
REM
|
| 9 |
|
|
REM Read all parameters into a single variable using an ugly loop
|
| 10 |
|
|
REM
|
| 11 |
|
|
set CMD_LINE_ARGS=%1
|
| 12 |
|
|
if ""%1""=="""" goto doneStart
|
| 13 |
|
|
shift
|
| 14 |
|
|
:getArgs
|
| 15 |
|
|
if ""%1""=="""" goto doneStart
|
| 16 |
|
|
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
|
| 17 |
|
|
shift
|
| 18 |
|
|
goto getArgs
|
| 19 |
|
|
:doneStart
|
| 20 |
|
|
|
| 21 |
|
|
java -cp "%COBERTURA_HOME%cobertura.jar;%COBERTURA_HOME%lib\asm-3.0.jar;%COBERTURA_HOME%lib\asm-tree-3.0.jar;%COBERTURA_HOME%lib\log4j-1.2.9.jar;%COBERTURA_HOME%lib\jakarta-oro-2.0.8.jar" net.sourceforge.cobertura.reporting.Main %CMD_LINE_ARGS% |