Skip to content
meniku edited this page Sep 11, 2014 · 3 revisions

Working with the Source [ Hannibal 0.11 and above ]

This is a standard play 2.3 project, so everything works just as in play.

If you want to use an IDE you can create eclipse or idea files with sbt:

./activator eclipsify

or

./activator idea

You can run the application in development mode, which will also watch for source changes, so you don't have to restart the app on every change:

./activator "~ run"

For more commands in the play framework you can just type

./activator play

If you want to develop on Version 0.92, 0.94, 0.96 or 0.98 just set the environment-variable HANNIBAL_HBASE_VERSION prior to running sbt-commands

export HANNIBAL_HBASE_VERSION="0.92" #for hbase-0.92
./activator "~ run"

Happy hacking :)

Working with the Source [ < Hannibal 0.11 ]

This is a standard play 2.0 project, so everything works just as in play.

If you want to use an IDE you can create eclipse or idea files with sbt:

./sbt eclipsify

or

./sbt idea

You can run the application in development mode, which will also watch for source changes, so you don't have to restart the app on every change:

./sbt "~ run"

For more commands in the play framework you can just type

./sbt play

If you want to develop on Version 0.92 or 0.94 just set the environment-variable HANNIBAL_HBASE_VERSION prior to running sbt-commands

export HANNIBAL_HBASE_VERSION="0.92" #for hbase-0.92
./sbt "~ run"

Happy hacking :)

githalytics.com alpha

Clone this wiki locally