Skip to content
This repository was archived by the owner on Nov 9, 2022. It is now read-only.

Commit 2416c1b

Browse files
authored
Merge pull request #110 from kghmanuel/102_fix_bpmn_plugin
Fix import dependencies and add more details to the documentation
2 parents a0d4ec3 + 2f8ccdc commit 2416c1b

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed

documentation/DEV-MODELER.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@ Note: If following the Contributing guide, you should have logged an issue and c
3333
$ git checkout -b feature-ISSUEID develop
3434
```
3535

36-
To execute the latest extension from source:-
37-
- Checkout or download the zip of the latest (develop or feature branch) of MarkLogic Workflow at http://github.com/adamfowleruk/marklogicworkflow
38-
- Open Eclipse Luna (4.4) or above
39-
- Go to File -> Import project
40-
- Navigate to ./marklogicworkflow/eclipse/org.eclipse.bpmn2.modeler.runtime.marklogic (NOT just ./marklogicworkflow)
41-
- Import this workspace
42-
- Double click on the 'plugin.xml' file
43-
- In the top right of the edit dialogue for this file, click the green Play button. This launches Eclipse Luna with this extension
36+
1. Checkout or download the zip of the latest (develop or feature branch) of MarkLogic Workflow at http://github.com/adamfowleruk/marklogicworkflow
37+
2. Open Eclipse Luna (4.4) or above
38+
3. Install the BPMN plugin version according to your eclipse version. Refer to [BPMN's download page](http://www.eclipse.org/bpmn2-modeler/downloads.php "BPMN download page") for more info.
39+
* Only needed if you haven't installed BPMN yet.
40+
* Users that are using BPMN plugin v 1.2.2 or earlier (typically Eclipse-Luna) of would need to recompile the project to refer to the old class that contain ```RootElementParser```, i.e. search ```AbstractBpmn2RuntimeExtension.RootElementParser``` and replace with ```DefaultBpmn2RuntimeExtension.RootElementParser```
41+
* You may refer to [this issue](https://www.eclipse.org/forums/index.php/t/1074631/) for more details regarding above need for change.
42+
4. Go to File -> Import project
43+
5. Navigate to ./marklogicworkflow/eclipse/org.eclipse.bpmn2.modeler.runtime.marklogic _**(NOT just ./marklogicworkflow)**_
44+
6. Import this workspace
45+
7. Double click on the 'plugin.xml' file
46+
8. Menu >> Run >> Run As >> "Eclipse Application"
4447

4548
### Current published In Development version
4649

eclipse/org.eclipse.bpmn2.modeler.runtime.marklogic/src/org/eclipse/bpmn2/modeler/runtime/marklogic/workflow/MarkLogicCPFRuntimeExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
//import org.eclipse.bpmn2.modeler.core.runtime.TargetRuntime;
4949
import org.eclipse.bpmn2.modeler.core.utils.ModelUtil.Bpmn2DiagramType;
5050

51-
import org.eclipse.bpmn2.modeler.ui.DefaultBpmn2RuntimeExtension.RootElementParser;
51+
import org.eclipse.bpmn2.modeler.ui.AbstractBpmn2RuntimeExtension.RootElementParser;
5252
import org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor;
5353
import org.eclipse.bpmn2.modeler.ui.wizards.FileService;
5454
import org.eclipse.core.resources.IContainer;

eclipse/org.eclipse.bpmn2.modeler.runtime.marklogic/src/org/eclipse/bpmn2/modeler/runtime/marklogic/workflow/MarkLogicWorkflowRuntimeExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
//import org.eclipse.bpmn2.modeler.core.runtime.TargetRuntime;
4949
import org.eclipse.bpmn2.modeler.core.utils.ModelUtil.Bpmn2DiagramType;
5050

51-
import org.eclipse.bpmn2.modeler.ui.DefaultBpmn2RuntimeExtension.RootElementParser;
51+
import org.eclipse.bpmn2.modeler.ui.AbstractBpmn2RuntimeExtension.RootElementParser;
5252
import org.eclipse.bpmn2.modeler.ui.editor.BPMN2Editor;
5353
import org.eclipse.bpmn2.modeler.ui.wizards.FileService;
5454
import org.eclipse.core.resources.IContainer;

0 commit comments

Comments
 (0)