If you want to build or contribute to a droolsjbpm project, read this document.
It will save you and us a lot of time by setting up your development environment correctly. It solves all known pitfalls that can disrupt your development. It also describes all guidelines, tips and tricks. If you want your pull requests (or patches) to be merged into master, please respect those guidelines.
Follow the instructions of Awestruct's getting started guide.
First set up your environment correctly, for example on Fedora 24:
$ sudo dnf install ruby $ ruby --version ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-linux]
$ sudo dnf install rubygem-rake
$ rake setup
$ sudo dnf install rubygem-bundler
$ sudo dnf install ruby-devel rpm-build
$ sudo dnf install gcc-c++
$ rake setup
Then build the website (before and after your changes):
$ rake clean build
$ firefox _site/index.html
And publish your changes:
$ rake clean build publish