cancel
Showing results for 
Search instead for 
Did you mean: 

How to Embed/Reference Activiti Designer in Stand-alone RCP Application

peilers
Champ in-the-making
Champ in-the-making
I would like to create a stand-alone RCP Application that leverages/references/encapsulates/embeds the functionality of the Activiti Designer. My question is: Do I need to:

a) add the org.activiti.designer.feature as an included feature in my application's feature project, or
b) simply add org.activiti.designer.feature as a Required Feature/Plug-in to my application's product configuration file.

Before I get too far into it I wanted to get some guidance because method #1 seems to result in errors at launch time related to bundles and constraints such as:
com.[company].[product]
  "Missing Constraint: Require-Bundle: org.apache.commons.lang; bundle-version="2.6.0"
org.activiti.designer.eclipse
  "Missing Constraint: Require-Bundle: org.apache.commons.io; bundle-version="0.0.0"
org.activiti.designer.gui
  "Missing Constraint: Require-Bundle: org.apache.commons.lang; bundle-version="0.0.0"

I'm basically looking for advise on how to structure my RCP application such that I can encapsulate the Activiti Designer and take advantage of code updates to the Designer as time goes by.

Thank you in advance
2 REPLIES 2

trademak
Star Contributor
Star Contributor
You would need to add the external libraries of the org.activiti.designer.libs project to your product as well. That's probably not done automatically by adding the Designer feature.

Best regards,

peilers
Champ in-the-making
Champ in-the-making
So I figured out that I need to add the External JARs to the Project properties and add the org.activiti.designer.feature as an included feature in my application's feature project.

I am still mystified how to launch either the New Project or New Process Wizards but I suppose I'll have to do some reverse engineering of the Designer plug-in code.

Thanks much for a great book ("Activiti in Action")!