aboutsummaryrefslogtreecommitdiffhomepage
path: root/java/run_greeter_client.sh
blob: e86ab4ae891f5af8b743df6393ec4a427695e96d (plain)
1
2
3
4
5
6
7
8
9
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