Differences between SCA models [message #806078] |
Fri, 24 February 2012 09:24  |
Eclipse User |
|
|
|
Hello everyone,
I'm working on the SCA meta-model (namely sca.ecore) extracted from the SCA Tool plugin. In fact, I discoverd that the model created by EMF for this SCA meta-model is syntactically different from the model created by the SCA Tool. I wonder if the SCA meta-model (the one extracted from the SCA Tool plugin) is really implemented in SCA Designer?
Best regards.
|
|
|
|
|
|
|
Re: Differences between SCA models [message #836358 is a reply to message #809067] |
Wed, 04 April 2012 07:46  |
Eclipse User |
|
|
|
Hi,
Sorry, I completely skipped SCA Tools for some time. And I got no notification from the forum.
Can you tell me how you serialize your EMF model instance? I think you forgot to use the extended metadata in the save options.
saveOptions.put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
That should work.
In fact, in the ecore model, the XML element's name is defined in an extended metadata. If you do not use it, then the EMF element's name is used (implementationJava here).
|
|
|
Powered by
FUDForum. Page generated in 0.03010 seconds