summaryrefslogtreecommitdiffstats
path: root/messagebus/test/src/binref/compilejava.in
diff options
context:
space:
mode:
Diffstat (limited to 'messagebus/test/src/binref/compilejava.in')
-rwxr-xr-xmessagebus/test/src/binref/compilejava.in11
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 "$@"