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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 428 - (hide annotations) (download) (as text)
Tue Jun 16 14:59:08 2009 UTC (12 years, 7 months ago) by wvengen
File MIME type: application/x-dos-batch
File size: 1024 byte(s)
make shellscript/bathfile use updated bouncycastle
1 wvengen 368 @echo off
2     REM
3     REM Batch file for running jGridstart
4     REM
5    
6     set BASE=%~dp0
7     set LIB=%BASE%\thirdparty
8 wvengen 428 set CLASSPATH=%LIB%\bouncycastle\bcprov-jdk14-143.jar;%LIB%\commons-cli\commons-cli-1.2.jar;%LIB%\flyingsaucer\core-renderer-minimal.jar;%LIB%\swingworker\swing-worker-1.2.jar;%BASE%\bin
9 wvengen 368 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.5.jar;%LIB%\junit\abbot.jar
21     java org.junit.runner.JUnitCore nl.nikhef.jgridstart.AllTests
22     goto :end
23    
24     :notest
25     if not "%1"=="cli" goto :nowantcli
26     shift
27     java nl.nikhef.jgridstart.cli.Main $@
28     goto :end
29    
30     :nowantcli
31     if not "%1"=="gui" goto :nowantgui
32     shift
33     java nl.nikhef.jgridstart.gui.Main $@
34     goto :end
35    
36     :nowantgui
37     java nl.nikhef.jgridstart.gui.Main $@
38     goto :end
39    
40     :end

Properties

Name Value
svn:executable *

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