cancel
Showing results for 
Search instead for 
Did you mean: 

Building the Activiti Designer from trunk

elygre
Confirmed Champ
Confirmed Champ
I'm trying to build the Activiti Designer eclipse plugin from trunk, following the instructions at http://docs.codehaus.org/display/ACT/Activiti+Designer+Developer+Guide.

I'm guessing that these instructions are not quite up-to-date with the latest changes on trunk. In particular, the file "BPMN20.genmodel" is no longer in subversion, and the task related to that one does not work. Ignoring this minor bump, I get problems when trying to create a bpmn diagram in the designer:

eclipse.buildId=M20120208-0800
java.version=1.7.0_03
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.platform.ide
Command-line arguments:  -product org.eclipse.platform.ide -data C:\Users\Eirik Lygre\workspace/../runtime-EclipseApplication -dev file:C:/Users/Eirik Lygre/workspace/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.eclipse.jface 4 2 2012-03-20 14:40:41.369
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.graphiti.ui.internal.services.IEmfService.createResourceSetAndEditingDomain()Lorg/eclipse/emf/transaction/TransactionalEditingDomain;

The question, then, is this:

* Am I doing something wrong, or is trunk currently not runnable?
2 REPLIES 2

activiti-admin
Champ in-the-making
Champ in-the-making
The BPMN20.genmodel should be generated from the pbmn2.ecore model (e.g., see http://www.vogella.de/articles/EclipseEMF/article.html). Sadly, this results in the following errors:

The feature 'eClassifier' of 'null' contains an unresolved proxy 'org.eclipse.emf.ecore.impl.EClassImpl@47ed052c{http://www.omg.org/spec/BPMN/20100524/DI-XMI#//BPMNDiagram}' bpmn2.ecore /org.activiti.designer.model/src/main/resources/org/eclipse/bpmn2/impl Unknown EMF Problem
The feature 'eRawType' of 'null' contains an unresolved proxy 'org.eclipse.emf.ecore.impl.EClassImpl@47ed052c{http://www.omg.org/spec/BPMN/20100524/DI-XMI#//BPMNDiagram}' bpmn2.ecore /org.activiti.designer.model/src/main/resources/org/eclipse/bpmn2/impl Unknown EMF Problem
The feature 'eReferenceType' of 'diagrams : null' contains an unresolved proxy 'org.eclipse.emf.ecore.impl.EClassImpl@47ed052c{http://www.omg.org/spec/BPMN/20100524/DI-XMI#//BPMNDiagram}' bpmn2.ecore /org.activiti.designer.model/src/main/resources/org/eclipse/bpmn2/impl Unknown EMF Problem
The feature 'eType' of 'diagrams : null' contains an unresolved proxy 'org.eclipse.emf.ecore.impl.EClassImpl@47ed052c{http://www.omg.org/spec/BPMN/20100524/DI-XMI#//BPMNDiagram}' bpmn2.ecore /org.activiti.designer.model/src/main/resources/org/eclipse/bpmn2/impl Unknown EMF Problem

This seems to be a showstopper for building the Activiti Designer (at least 5.9.0) from source.

smirzai
Champ on-the-rise
Champ on-the-rise
Here is the solution. It costed me one day:
The activiti guideline is not update.
This worked for me :

  1. Eclipse version  Indigo, instead of Helios  (I tested it with 3.7.2 version of Eclipse)
  2. Graphithi version 9 should be installed  (I tested with 0.9.0 version of Graphiti)
  3. Graphiti update site seems to be changed. It should be http://download.eclipse.org/graphiti/updates/0.9.0 instead of http://download.eclipse.org/graphiti/updates/0.8.0.

4. the sections about BPMN20.genmodel  and BPMN20.ecore and generation should be removed


– Saeid