Skip to main content


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 18:17 Go to next message
Tarcísio Couto is currently offline Tarcísio CoutoFriend
Messages: 29
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 161 times)
Re: Error in Generator Model Code [message #1115914 is a reply to message #1115880] Tue, 24 September 2013 19:25 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
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!


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error in Generator Model Code [message #1115919 is a reply to message #1115914] Tue, 24 September 2013 19:33 Go to previous messageGo to next message
Tarcísio Couto is currently offline Tarcísio CoutoFriend
Messages: 29
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 19:48 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
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...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Error in Generator Model Code [message #1115938 is a reply to message #1115935] Tue, 24 September 2013 19:53 Go to previous messageGo to next message
Tarcísio Couto is currently offline Tarcísio CoutoFriend
Messages: 29
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 06:02 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
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.


Ed Merks
Professional Support: https://www.macromodeling.com/
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: Thu Apr 25 17:16:48 GMT 2024

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

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

Back to the top