summaryrefslogtreecommitdiffstats
path: root/messagebus/test/src/binref/runjava.in
blob: 20d4de0a47713874177f76b6af0da929a4e90e91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
unset VESPA_LOG_TARGET
unset LD_PRELOAD
CLASSPATH=@PROJECT_BINARY_DIR@/messagebus/target/messagebus-jar-with-dependencies.jar
CLASSPATH=$CLASSPATH:@PROJECT_BINARY_DIR@/component/target/component.jar
CLASSPATH=$CLASSPATH:.
if [ $# -lt 1 ]; then
  echo "usage: runjava <class> [args]"
  exit 1
fi
CLASS=$1
shift
exec java -cp $CLASSPATH $CLASS "$@"