[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.stp.sca-tools] Re: Extending the SCA Meta Model

Hi Damien,

Meta object Id values can be the same for different meta models.
Could you clarify how are you doing to add the OSGi type?

If your OSGi type is defined in a new meta model (plugin), this meta model can't reuse the FraSCAti namespace.
If you want to use the FraSCAti namespace, you must add the OSGi implementation type directly in the FraSCAti meta model and then regenerate the code.


Regards,

Stéphane

Damien Fournier a écrit :
Hi All,

I'm trying to extend the SCA meta model by adding a new implementation type (currently an implementation.osgi element specific for the OW2 FraSCAti platform).

My extension integrates with the core sca metal model, but I still have
an issue with meta object id, when generating java code for this model.

The meta object id value for my OsgiPackage.OSGI_IMPLEMENTATION is set to "1" which is in conflict with existing FrascatiPackage.FRACTAL_IMPLEMENTATION

Following FraSCAti and Tuscany model extension, meta objects ids seem
to be unique

Thus, does anyone knows how to generate java code from a model extension without having conflict with meta object ids

Thanks

Damien