Build bonita studio

When I execute ‘mvn package’ to build the bonita studio I have the following error:

[ERROR] Internal error: java.lang.RuntimeException: Failed to resolve target definition C:\temp\bonita-source\bonita-studio-master\platform\platform.target: Failed to load p2 metadata repository from location http://repositories.rd.lan/p2/7.0: Unknown Host: http://repositories.rd.lan/p2/7.0/content.xml: Unknown host repositories.rd.lan → [Help 1]

I tried both bonita-studio-bos-studio-7.0.1-201507021345 and bonita-studio-master.

My java version:
java version “1.7.0_79”
Java™ SE Runtime Environment (build 1.7.0_79-b15)
Java HotSpot™ 64-Bit Server VM (build 24.79-b02, mixed mode)

I’m working on Windows 7.

How can I build the bonita studio?

Hi,

what is the purpose of building from source? (to check if it is required for your use case or if we already provide extension points/configuration)

You can take inspiration from http://documentation.bonitasoft.com/building-bonita-bpm-source-files-1 even if the script might not be completely up-to-date.

Regards,

Hi,

I’m also very interested in the answer about this subject.
I’m currently trying to build the last release from source (specially the engine and portal) but facing many errors.

Does Bonitasoft plan to update its doc and/or scripts shortly ?

Regards

Hi Oleg,

first I wouldn’t trust the Build instructions at present.

Bonitasoft need to provide updated versions for 7 as it is significantly different from 6, which the instructions (even in the 7 documentation) refer too.

I would also be careful as I remember reading somewhere that the How to Build (as referred to in the documentation) has been created on an Ubuntu machine…not windows which is what I believe you are using.

Actually this is one page I wish Bonita would keep up to date, it is fun, and very satisfying know you are running a build you have made…

regards
Seán

Hi Aurelien,

the purpose of doing the source from scratch is many fold as follows:

  • Satisfaction in doing it
  • Education on how to do it
  • Modifications to source which is allowed (who knows what but there are some examples of good code out there)

I can’t speak for Oleg, but it’s fun…

regards
Seán