Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Error in Generator Model Code
Error in Generator Model Code [message #1115880] Tue, 24 September 2013 14:17 Go to next message
Tarcísio Couto is currently offline Tarcísio Couto
Messages: 14
Registered: May 2013
Junior Member
Hello guys..

I have a BPMN20.ecore... I generated the BPMN20.genmodel but when I try to Generator Model Code from BPMN20.genmodel, some mistakes appears.. many classes are generated correct but others with errors.. and I dont't know why..

I need help! Thank you!
  • Attachment: picture.png
    (Size: 94.87KB, Downloaded 5 times)
Re: Error in Generator Model Code [message #1115914 is a reply to message #1115880] Tue, 24 September 2013 15:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25218
Registered: July 2009
Senior Member
Tarcísio,

So I should guess what the errors are? Where did this model come from?
Hasn't the PBMN2 Modeling project already provided an implementation of
that?


On 24/09/2013 8:17 PM, Tarcísio Couto wrote:
> Hello guys..
>
> I have a BPMN20.ecore... I generated the BPMN20.genmodel but when I try to Generator Model Code from BPMN20.genmodel, some mistakes appears.. many classes are generated correct but others with errors.. and I dont't know why..
>
> I need help! Thank you!
Re: Error in Generator Model Code [message #1115919 is a reply to message #1115914] Tue, 24 September 2013 15:33 Go to previous messageGo to next message
Tarcísio Couto is currently offline Tarcísio Couto
Messages: 14
Registered: May 2013
Junior Member
Yes, but I need to do that to use in my application that is independent from BPMN2 Modeling Project.
The errors happen when I click in Generate Model Code..
Re: Error in Generator Model Code [message #1115935 is a reply to message #1115919] Tue, 24 September 2013 15:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 25218
Registered: July 2009
Senior Member
Tarcísio,

Comments below.

On 24/09/2013 9:33 PM, Tarcísio Couto wrote:
> Yes, but I need to do that to use in my application that is
> independent from BPMN2 Modeling Project.
Why?
> The errors happen when I click in Generate Model Code..
What errors? You expect me to guess what errors you're seeing? It's not
surprising if the model you get form the PBMN2 project depends on things
you they have in the PBMN2 project that you don't have...
Re: Error in Generator Model Code [message #1115938 is a reply to message #1115935] Tue, 24 September 2013 15:53 Go to previous messageGo to next message
Tarcísio Couto is currently offline Tarcísio Couto
Messages: 14
Registered: May 2013
Junior Member
Inside of the class that are with erros.. in the picture that I attached... Are many errors..
No, the metamodels that I have are those that the BPMN2 Modeling Project uses..
Re: Error in Generator Model Code [message #1116233 is a reply to message #1115938] Wed, 25 September 2013 02:02 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 25218
Registered: July 2009
Senior Member
Tarcísio,

Comments below.

On 24/09/2013 9:53 PM, Tarcísio Couto wrote:
> Inside of the class that are with erros..
I'm not sure what this sentence is trying to say.
> in the picture that I attached... Are many errors..
Yes, I see red markers. But I can only guess what the errors are.
> No, the metamodels that I have are those that the BPMN2 Modeling
> Project uses..
I'd suggest you use the already generated model they provide and if
that's not possible to explain why that's not possible.
Previous Topic:Very basic question regarding EMF/Ecore in Kepler, Interface and Package problems
Next Topic:ComposedAdapterFactory delegates to generated factory for dynamic EObject
Goto Forum:
  


Current Time: Mon Oct 07 08:09:35 EDT 2013

Powered by FUDForum. Page generated in 0.02799 seconds