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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 323 - (show annotations) (download) (as text)
Thu May 7 10:40:26 2009 UTC (12 years, 6 months ago) by wvengen
File MIME type: application/x-shellscript
File size: 352 byte(s)
update shellscript to pass script name to java application using environment
1 #!/bin/sh
2 export BASE=`dirname $0`
3 export LIB="$BASE/thirdparty"
4 export CLASSPATH="$LIB/bouncycastle/bcprov-jdk14-142.jar:$LIB/commons-cli/commons-cli-1.2.jar:$LIB/flyingsaucer/core-renderer-minimal.jar:$BASE/bin"
5 export INVOKED_PROGRAM="$0"
6 if [ "$DISPLAY" ]; then
7 java nl.nikhef.jgridstart.gui.Main $@
8 else
9 java nl.nikhef.jgridstart.cli.Main $@
10 fi

Properties

Name Value
svn:executable *

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