blob: 835d693b86aef923f662de37c5d202870e562fbd (
plain) (
tree)
|
|
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...
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/
4. Create config/mysql.properties
## TODO: Dump db schema
|