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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 375 by wvengen, Tue Jun 2 08:51:34 2009 UTC revision 376 by wvengen, Tue Jun 2 14:00:40 2009 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    JAVA=java1.5
3  BASE=`dirname $0`  BASE=`dirname $0`
4  LIB="$BASE/thirdparty"  LIB="$BASE/thirdparty"
5  CLASSPATH="$LIB/bouncycastle/bcprov-jdk14-142.jar:$LIB/commons-cli/commons-cli-1.2.jar:$LIB/flyingsaucer/core-renderer-minimal.jar:$BASE/bin"  CLASSPATH="$LIB/bouncycastle/bcprov-jdk14-142.jar:$LIB/commons-cli/commons-cli-1.2.jar:$LIB/flyingsaucer/core-renderer-minimal.jar:$LIB/swingworker/swing-worker-1.2.jar:$BASE/bin"
6  INVOKED_PROGRAM="$0"  INVOKED_PROGRAM="$0"
7  export BASE CLASSPATH INVOKED_PROGRAM  export BASE CLASSPATH INVOKED_PROGRAM
8    
# Line 16  if [ "$1" = "test" ]; then Line 17  if [ "$1" = "test" ]; then
17          echo          echo
18          CLASSPATH="$CLASSPATH:$LIB/junit/junit-4.5.jar:$LIB/junit/abbot.jar"          CLASSPATH="$CLASSPATH:$LIB/junit/junit-4.5.jar:$LIB/junit/abbot.jar"
19          export CLASSPATH          export CLASSPATH
20          java org.junit.runner.JUnitCore nl.nikhef.jgridstart.AllTests          $JAVA org.junit.runner.JUnitCore nl.nikhef.jgridstart.AllTests
21  elif [ "$1" = "cli" ]; then  elif [ "$1" = "cli" ]; then
22          shift          shift
23          java nl.nikhef.jgridstart.cli.Main $@          $JAVA nl.nikhef.jgridstart.cli.Main $@
24  elif [ "$1" = "gui" ]; then  elif [ "$1" = "gui" ]; then
25          shift          shift
26          java nl.nikhef.jgridstart.gui.Main $@          $JAVA nl.nikhef.jgridstart.gui.Main $@
27  elif [ "$DISPLAY" ]; then  elif [ "$DISPLAY" ]; then
28          java nl.nikhef.jgridstart.gui.Main $@          $JAVA nl.nikhef.jgridstart.gui.Main $@
29  else  else
30          java nl.nikhef.jgridstart.cli.Main $@          $JAVA nl.nikhef.jgridstart.cli.Main $@
31  fi  fi

Legend:
Removed from v.375  
changed lines
  Added in v.376

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