The current version of thrift used by Warp10 is thrift 0.9.1. Download the tar.gz on the official Apache Thrift page (http://archive.apache.org/dist/thrift/0.9.1/). Then execute the following commands:
./configure --without-python --prefix=/opt/thrift-0.9.1 CPPFLAGS='-I/usr/local/opt/openssl/include'
make
Make may raise Errors and warning, do not care about it and exec:
sudo make install
Then add "/opt/thrift-0.9.1/bin" to your path.
In order to avoid conflicts between gradle & Eclipse, please configure Eclipse default output path on another directory BEFORE importing the gradle project(bin for example in Preferences/Java/Build Path)
Generate Thrift source code with the tasks
gradle warp10:generateThrift
gradle token:generateThrift
Import the project in Eclipse as Gradle project. If build/gen-java are not compiled on warp10 & token subproject, refresh it manually.
Warp10 should compile and run at this step.
Open the project in IntelliJ with 'File/Open...' The project should be imported as Gradle project by IntelliJ.
Warp10 should compile and run at this step.
It's possible on the head with DEV versions. Activate MavenLocal() repository (uncomment it in the global repositories definition)
gradle crypto:install
gradle token:install
Warp10 Context Menu / Gradle / Refresh Gradle Project
The release & upload can only be performed on a clone with a git "porcelain" status (no new file or modifications)
Add your API key & credentials in the gradle.properties file.
commit & push the change.
adds GIT tag git tag -a 0.0.2-rc1 -m 'release candidate 0.0.2'
WARNING don't forget to push the TAG git push origin 0.0.2-rc1
Build Warp10 in the order bellow
gradle crypto:clean crypto:bintrayUpload (if updated)
gradle token:clean token:bintrayUpload (if updated)
gradle warp10:clean warp10:bintrayUpload