From ad143041334ea93872d2ffb56d43b1a41e27f13d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 1 Jul 2014 22:07:56 +0200 Subject: Update readme, remove old thrift compilation script --- README | 20 ++++++-------------- thrift-compile.sh | 9 --------- 2 files changed, 6 insertions(+), 23 deletions(-) delete mode 100755 thrift-compile.sh diff --git a/README b/README index 835d693..77baa3b 100644 --- a/README +++ b/README @@ -1,21 +1,13 @@ 1. Import project in eclipse (requires m2e) Import -> Maven -> Existing Maven Project Eclipse will complain about missing source files/classes. -They need to be generated... +You need the dependency project, master-sync-shared, see +http://git.openslx.org/master-sync-shared.git/ +Import into eclipse too and run maven install, optionally +if you don't want to import it just clone and do mvn install. -2. Install the thrift compiler -Prequisites: -apt-get install libboost-dev libboost-test-dev libboost-program-options-dev libevent-dev automake libtool flex bison pkg-config g++ libssl-dev -Thrift 0.9.1 (current as of writing): -http://www.apache.org/dyn/closer.cgi?path=/thrift/0.9.1/thrift-0.9.1.tar.gz - -./configure, make, make install - -3. Run ./thrift-compile.sh, it will generate the missing -files mentioned before. Refresh the project in Eclipse. - -"Run as -> Maven install..." should work now and create -a nice *.jar in ./target/ +"Run as -> Maven install..." on the main project should +work now and create a nice *.jar in ./target/ 4. Create config/mysql.properties diff --git a/thrift-compile.sh b/thrift-compile.sh deleted file mode 100755 index 76be97c..0000000 --- a/thrift-compile.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -rm -r gen-java -thrift --gen java src/main/thrift/imagemaster.thrift && { - rm -r src/main/java/org/openslx/imagemaster/thrift/iface - cp -r gen-java/org src/main/java/ -} - - -- cgit v1.2.3-55-g7522