Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » generate org.eclipse.bpmn2 source code from BPMN20.genmodel
icon5.gif  generate org.eclipse.bpmn2 source code from BPMN20.genmodel [message #1697060] Mon, 01 June 2015 09:23 Go to next message
Aaron Li is currently offline Aaron LiFriend
Messages: 2
Registered: June 2015
Junior Member
Hi,
I want to extend the BPMN 2.0 Modeler plugin. I know in most cases changing the BPMN 2.0 meta model won't be necessary, but i still want to know how to generate org.eclipse.bpmn2 source code from BPMN20.genmodel file.
I decompiled org.eclipse.bpmn2_0.7.0.201304230617.jar package file, and toke out the .ecore files and .genmodel file. Then generated Model Code in eclipse GMF environment. In the result code, there are a lot of difference when compared to original jar files. For example, there were only 5 files in org.eclipse.bpmn2.util package, but there were 14 files in org.eclipse.bpmn2_0.7.0.201304230617.jar.
Here is my question:
1.
how can I get the other files I mentioned above
2.
In some .java file there were some methods have to be modified, how can i get the complete source code of org.eclipse.bpmn2?


If my question is not clear enough, tell me.
Thanks in advance for any help.

Cheers,
Aaron

[Updated on: Tue, 02 June 2015 01:17]

Report message to a moderator

Re: generate org.eclipse.bpmn2 source code from BPMN20.genmodel [message #1698033 is a reply to message #1697060] Wed, 10 June 2015 13:43 Go to previous messageGo to next message
Robert Brodt is currently offline Robert BrodtFriend
Messages: 811
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Some of the generated java files needed to be hand-edited to provide specific behavior. These are annotated with @generated NOT.
The source code for the bpmn2 metamodel can be found here:
https://git.eclipse.org/c/bpmn2/org.eclipse.bpmn2.git/
Re: generate org.eclipse.bpmn2 source code from BPMN20.genmodel [message #1698940 is a reply to message #1698033] Fri, 19 June 2015 03:41 Go to previous message
Aaron Li is currently offline Aaron LiFriend
Messages: 2
Registered: June 2015
Junior Member
Thank you very much!
Previous Topic:Re: Exception while opening diagram
Next Topic:We want to create a custom validation logic
Goto Forum:
  


Current Time: Tue Oct 08 07:06:44 GMT 2024

Powered by FUDForum. Page generated in 0.03287 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top