/[pdpsoft]/branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/jgridstart.bat
ViewVC logotype

Contents of /branches/nl.nikhef.jgridstart-flyingsaucer/nl.nikhef.jgridstart/jgridstart.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1005 - (show annotations) (download) (as text)
Tue Oct 27 13:51:47 2009 UTC (12 years, 1 month ago) by wvengen
File MIME type: application/x-dos-batch
File size: 1314 byte(s)
update junit version in batchfiles as well (oops)
1 @echo off
2 REM
3 REM Batch file for running jGridstart
4 REM
5
6 set BASE=%~dp0
7 set LIB=%BASE%\thirdparty
8 set CLASSPATH=%LIB%\bouncycastle\bcprov-jdk14-143.jar;%LIB%\bouncycastle\bcmail-jdk14-143.jar;%LIB%\bouncycastle\mail-1.4.1.jar;%LIB%\commons\commons-cli-1.2.jar;%LIB%\commons\commons-lang-2.4.jar;%LIB%\flyingsaucer\core-renderer-minimal.jar;%LIB%\flyingsaucer\iText-2.0.8.jar;%LIB%\swingworker\swing-worker-1.2.jar;%LIB%\winregistry\WinRegistry-3.4.jar;%BASE%\bin
9 set INVOKED_PROGRAM=%0
10
11 REM undocumented behaviour: first parameter can be "test" to run unit tests,
12 REM "cli" to force the command-line version, or "gui" to force the gui version
13 REM to be run.
14 REM By default, the gui version will be run.
15
16 if not "%1"=="test" goto :notest
17 echo.
18 echo Running jGridstart tests
19 echo.
20 set CLASSPATH=%CLASSPATH%;%LIB%\junit\junit-4.7.jar;%LIB%\junit\abbot.jar
21 rem java org.junit.runner.JUnitCore nl.nikhef.jgridstart.AllTests
22 java nl.nikhef.jgridstart.AllTests
23 goto :end
24
25 :notest
26 if not "%1"=="cli" goto :nowantcli
27 shift
28 java nl.nikhef.jgridstart.cli.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
29 goto :end
30
31 :nowantcli
32 if not "%1"=="gui" goto :nowantgui
33 shift
34 java nl.nikhef.jgridstart.gui.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
35 goto :end
36
37 :nowantgui
38 java nl.nikhef.jgridstart.gui.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
39 goto :end
40
41 :end

Properties

Name Value
svn:executable *

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28