From 693392fe6c0022e7ec5060192ee322c7753b0d90 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 5 Jun 2015 11:25:50 +0200 Subject: Changes for Dozmod v1.1 --- thrift-compile.sh | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'thrift-compile.sh') diff --git a/thrift-compile.sh b/thrift-compile.sh index 82822fd..4831fd7 100755 --- a/thrift-compile.sh +++ b/thrift-compile.sh @@ -10,20 +10,10 @@ if ! thrift --version | grep -q "0\.9\.1"; then echo "OK, compiling..." fi -echo "1) Masterserver RPC" +echo "1) Masterserver + Satellite RPC" [ -e gen-java ] && rm -r gen-java -if thrift --gen java src/main/thrift/imagemaster.thrift; then - [ -e "src/main/java/org/openslx/imagemaster/thrift/iface" ] && rm -rf src/main/java/org/openslx/imagemaster/thrift/iface - if ! cp -r gen-java/org src/main/java/; then - echo "Error copying compiled files! Aborting!" - exit 1 - fi -fi - -echo "2) Sat RPC" -[ -e gen-java ] && rm -r gen-java -if thrift --gen java src/main/thrift/sat.thrift; then - [ -e "src/main/java/org/openslx/sat/thrift/iface" ] && rm -rf src/main/java/org/openslx/sat/thrift/iface +if thrift --gen java src/main/thrift/bwlp.thrift; then + [ -e "src/main/java/org/openslx/bwlp/thrift/iface" ] && rm -rf src/main/java/org/openslx/bwlp/thrift/iface if ! cp -r gen-java/org src/main/java/; then echo "Error copying compiled files! Aborting!" exit 1 -- cgit v1.2.3-55-g7522