summaryrefslogtreecommitdiffstats
path: root/messagebus/test/src/binref/compilejava.in
blob: bebe4374afb120f465d8047c26feab356d2c162e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
unset VESPA_LOG_TARGET
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: compilejava file ..."
  exit 1
fi
exec javac -classpath $CLASSPATH "$@"