Menu

[r27]: / BuildScript / get-junit.cmd  Maximize  Restore  History

Download this file

19 lines (14 with data), 621 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
@IF DEFINED NOECHO echo off
echo ====== Get junit ======
echo ====== Get junit ====== > %LOG_DIR%\get-junit.log
rmdir /S /Q %JUNITDIR% >> %LOG_DIR%\get-junit.log 2>>&1
IF ERRORLEVEL 1 GOTO CO_FAIL
mkdir %JUNITDIR% >> %LOG_DIR%\get-junit.log 2>>&1
IF ERRORLEVEL 1 GOTO CO_FAIL
%WGET% -O %JUNITDIR%\junit-%JUNITVER%.jar "http://search.maven.org/remotecontent?filepath=junit/junit/%JUNITVER%/junit-%JUNITVER%.jar" >> %LOG_DIR%\get-junit.log 2>>&1
IF ERRORLEVEL 1 GOTO CO_FAIL
exit /B 0
:CO_FAIL
echo ****** junit Checkout failed ****** >> %LOG_DIR%\get-junit.log
type %LOG_DIR%\get-junit.log
exit /B 1
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.