[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[hyades-dev] problems in Hyades models


This note targets any team that is managing EMF models in the Hyades models' stack (although the following errors are from org.eclipse.hyades.models.common plugin).

I updated the Hyades Custom JET templates and all ecore/genmodel files for EMF 2.0 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=52554).

Please fix the following errors (seems that all are coming from common package, I didn't regen the model for this project).


Problems were encountered converting the Rose model to Generator and Core models
  Duplicate 'properties' reference in 'BVRInteractionOperand' will be discarded
  Duplicate 'name' attribute in 'CFGCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesOperatingSystemCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesOperatingSystemCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesOperatingSystemCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesProcessorTypeCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesProcessorTypeCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesProcessorTypeCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesMemorySizeCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesMemorySizeCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesMemorySizeCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesProcessorSpeedCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesProcessorSpeedCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesProcessorSpeedCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesBrowserTypeCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesBrowserTypeCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesBrowserTypeCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesBrowserVersionCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesBrowserVersionCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesBrowserVersionCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesProcessorNumberCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesProcessorNumberCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesProcessorNumberCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDisplayColorDepthCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDisplayColorDepthCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDisplayColorDepthCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDisplayHeightCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDisplayHeightCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDisplayHeightCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDisplayWidthCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDisplayWidthCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDisplayWidthCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDisplayNumberCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDisplayNumberCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDisplayNumberCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDatabaseCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDatabaseCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDatabaseCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesDatabaseVersionCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesDatabaseVersionCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesDatabaseVersionCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesHostnameCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesHostnameCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesHostnameCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesWindowsDomainCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesWindowsDomainCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesWindowsDomainCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesUsernameCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesUsernameCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesUsernameCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesServicePackCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesServicePackCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesServicePackCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesMajorVersionCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesMajorVersionCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesMajorVersionCategory' will be discarded
  Duplicate 'name' attribute in 'HyadesMinorVersionCategory' will be discarded
  Duplicate 'displayName' attribute in 'HyadesMinorVersionCategory' will be discarded
  Duplicate 'selectionMode' attribute in 'HyadesMinorVersionCategory' will be discarded


Make sure that you are using /org.eclipse.hyades.models.hierarchy/templates (as dynamic templates) when you regen the model.

It is also very important to check if you have any hand coded changes that are not protected by (generated NOT, please add NOT whenever you change a generated piece of code):

 * @generated NOT
 */

One example is in ("properties" property will not been regenerated):
/org.eclipse.hyades.models.common/src/org/eclipse/hyades/models/common/fragments/impl/BVRInteractionImpl.java

Thanks !

Marius