diff options
Diffstat (limited to 'messagebus/test/src/binref/compilejava.in')
-rwxr-xr-x | messagebus/test/src/binref/compilejava.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/messagebus/test/src/binref/compilejava.in b/messagebus/test/src/binref/compilejava.in new file mode 100755 index 00000000000..bebe4374afb --- /dev/null +++ b/messagebus/test/src/binref/compilejava.in @@ -0,0 +1,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 "$@" |