diff options
Diffstat (limited to 'java/run_greeter_client.sh')
-rwxr-xr-x | java/run_greeter_client.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/java/run_greeter_client.sh b/java/run_greeter_client.sh new file mode 100755 index 0000000000..e86ab4ae89 --- /dev/null +++ b/java/run_greeter_client.sh @@ -0,0 +1,10 @@ +#!/bin/bash -e +TARGET='Greeter Client' +TARGET_CLASS='ex.grpc.GreeterClient' +TARGET_ARGS="$@" + +cd "$(dirname "$0")" +mvn -q -nsu -am package -Dcheckstyle.skip=true -DskipTests +. target/bootclasspath.properties +echo "[INFO] Running: $TARGET ($TARGET_CLASS $TARGET_ARGS)" +exec java "$bootclasspath" -cp "$jar" "$TARGET_CLASS" $TARGET_ARGS |