How to build Bonita BPM from sources

ttoine's picture
Article submitted by ttoine Mon, 01/27/2014 - 12:19
Category: 

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

Submitted by vivisima Thu, 03/06/2014 - 21:47

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:

mvn clean install -Pmirrored -Dp2MirrorUrl=file://$DIR/6.1/repository/

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.

Submitted by Andrii.Stesin_2 Thu, 09/11/2014 - 12:40

Is build of 6.3.5 now supported? Thanks!