How to compile Bonita BPM Studio with embedded Engine + Portal 6.2.1 ?

1
0
-1


I want to compile from sources Bonita BPM Studio with embedded Engine + Portal
I have tried with version 6.2.1 from github repository and the instructions from documentation http://documentation.bonitasoft.com/building-bonita-bpm-source-files
I followed the steps described below and the compilation failed.

  • ****BUILD STUDIO - COMMON ACTION ****
  • export MAVEN_OPTS="-XX:MaxPermSize=256m"
  • git clone git@github.com:bonitasoft/bonita-studio.git
  • **** BUILD STUDIO ALL-IN-ONE MODULE ****
  • cd bonita-studio/all-in-one
  • git checkout bos-studio-6.2.1-201401090931
  • mvn clean package
caused by: org.eclipse.tycho.p2.target.facade.TargetDefinitionResolutionException: Failed to load p2 metadata repository from loca
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.loadRepository(TargetDefinitionResolver.java:190)
at org.eclipse.tycho.p2.target.TargetDefinitionResolver.resolveContent(TargetDefinitionResolver.java:109)
at org.eclipse.tycho.p2.target.TargetDefinitionResolverService.resolveFromArguments(TargetDefinitionResolverService.java:6
5)


Should i modify the pom.xml to point to different p2 repository url. Should i use a differnet profile to build ?

Thank you,

Michalis

Comments

Submitted by ttoine on Fri, 01/31/2014 - 16:36

It seems that Maven can't find where are the target sources. At the Bonita Studio build step, the script should download target sources from ow2 forge, unzip it, and then it tells Maven where it is. Can you check that this part is working ?

Submitted by romain.bioteau on Tue, 02/04/2014 - 09:49

There is a mistake in documentation.

I will report this issue to our documentation team.

Thanks for the help.

1 answer

1
0
-1

Hello,

A script is available to help building Bonita BPM 6.2.1, Studio, Engine and Portal. An article is available on Community Blog, and the script is available on our Community GitHub.

http://community.bonitasoft.com/blog/how-build-bonita-bpm-sources

https://github.com/Bonitasoft-Community/Build-Bonita-BPM

Please let me know if you succeed, or not ;-)

Notifications