I'm setting up fresh eclipse for Activiti and I'm not able to Activity Designer to work.
Windows2003, Eclipse Helios SR 1 Classic.
When I install Activity designer from update site and try to open a process a I get
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.omg.org/spec/BPMN/20100524/MODEL' not found. (platform:/resource/activiti-engine-examples/src/main/process/org/activiti/examples/adhoc/Expense_process.bpmn20.xml, 5, 95) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:315) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:274) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:397) at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getEObject(ResourceSetImpl.java:216) at org.eclipse.graphiti.ui.editor.DiagramEditorInput.getEObject(DiagramEditorInput.java:676) at org.eclipse.graphiti.ui.editor.DiagramEditorInput.setEditorEditingDomain(DiagramEditorInput.java:571) at org.eclipse.graphiti.ui.editor.DiagramEditorInput.<init>(DiagramEditorInput.java:268) at org.eclipse.graphiti.ui.editor.DiagramEditorFactory.createEditorInput(DiagramEditorFactory.java:76) at org.activiti.designer.eclipse.editor.ActivitiMultiPageEditor.init(ActivitiMultiPageEditor.java:150) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798) ….
I've checked uri registration and it seems ok: Entry element: URI Location: xsd\BPMN20.xsd in jar file D:\temp\eclipse\plugins\org.activiti.designer.eclipse_0.7.0.jar URI: jar:file:/D:/temp/eclipse/plugins/org.activiti.designer.eclipse_0.7.0.jar!/xsd/BPMN20.xsd Key type: Namespace name Key: http://www.omg.org/spec/BPMN/20100524/MODEL
I use: - SUN JVM 1.6.0_18 - Eclipse Helios 3.6.1 (clean installation) - Debian Lenny
UPDATE: This problem exists only when I try to open BPMN files of default examples. If I create a new Activiti project and create a new BPMN file, then the designer works fine I will try to correct the examples and give feedback.
and Go to Help -> Install New Software. In the following panel, click on Add button and fill in the following fields: Name: Activiti BPMN 2.0 designer Location: http://activiti.org/designer/update/
But I was not able to Integrate Activiti Designer with Eclipse. The Activiti link was not coming up under 'Windows—> Preferances' tab.
Solution:
The solution is that you need to have Java 1.6 + to do this….When we integrate using 'Install New Software', Eclipse downloads some pluggins. These pluggin jars are created using Java 1.6.0_24+ . Please change your JAVA_HOME and path variable in system variable to Java 1.6+……….