How to build Bonita BPM from sources
Dear Community,
I know that even though it is very easy now to add a language to Bonita BPM Portal, it is still not quite as easy in Bonita BPM Studio. As I am working on that point, I first needed create a script to build Bonita BPM from source files. As you may already know, sources of Bonita BPM Community Edition are available on GitHub.
Browse sources
Browsing repository by repository, you can find Bonita Engine, Portal and Studio, as well as all connector sources. You can also use Git Tags in GitHub repositories to find different versions of the code we use to build Bonitasoft BPM binaries. You will also need the Target Sources: this is an archive of dependencies to ensure that you will have the same versions as the Bonitasoft R&D team to build our software.
Build
Using these sources and the doc page about building Bonita 6.1.0, it took me some time, but I succeded in writing a script for Linux that will get all the dependencies from maven, sources from GitHub, and more. And of course, it will build Bonita BPM Engine, Portal and Studio for you. Note that the script builds the "All in one" version of Bonita BPM 6.2.1, which works on all systems with Java installed. This build does not provides specific installers.
Script
I am pleased to share the result of my work with you.
The script is already available as a Project on Bonita Community website, and of course, I created a repository on our Community Github so it is easy for everyone to fork it if necessary. At the moment, the version available is for 6.2.1, so I created a 6.2.1 Tag for it. I will do my best to maintain this script when new versions are released.
Our code is open, so feel free to:
- fork
- test
- provide pull requests
- and any feedback
Have fun with Bonita!
Antoine
Comments
Hello Antoine;
The script in github was a great help :) I have made just one change so studio platform module can be installed and added to the extracted mirror path the "repository" folder as below:
Now I'm trying to change the bonita installation database engine to MySQL but didn't make too much progress... Do you know by chance how to do it for 6.1+ versions? I've found help for 5.x and 6.0 versions only.
found it!!
http://documentation.bonitasoft.com/configure-bonita-your-dbms
Is build of 6.3.5 now supported? Thanks!
This badly needs to be updated. When will it reflect the 7.0 code?
hello, v7 is fresh and with the summer vacation, we didn't find time to update the script. It will come in september.
Hello,
Please Bonitasoft, could you take some time to keep this doc and scripts up-to-date with last releases ?
I'm trying with v7.2 and it doesn't build at all...
Thanks & regards