File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ . ` dirname $0 ` /../libexec/env.sh
4+
5+ if [ $# -eq 0 ]; then
6+ echo " " "
7+ Run the \` main\` method of any Java class, with the coatjava classpath
8+
9+ USAGE: $( basename $0 ) [CLASS_NAME] [CLASS_ARGS] -- [JVM_ARGS]
10+
11+ CLASS_NAME the full class name
12+ CLASS_ARGS arguments for its \` main\` method
13+ JVM_ARGS arguments for the JVM, overriding defaults
14+
15+ EXAMPLE - run coatjava's \` DaqScalersSequence\` :
16+ $( basename $0 ) org.jlab.detector.scalers.DaqScalersSequence \\
17+ skim_file.hipo -- -XshowSettings
18+ " " "
19+ exit 2
20+ fi
21+
22+ class_name=$1
23+ shift
24+
25+ split_cli $@
26+
27+ exec java -Xmx1536m -Xms1024m -XX:+UseSerialGC ${jvm_options[@]} \
28+ -cp ${COATJAVA_CLASSPATH:- ' ' } \
29+ $class_name \
30+ ${class_options[@]}
You can’t perform that action at this time.
0 commit comments