Merging Models with Extended Types [message #912656] |
Thu, 13 September 2012 19:29  |
Eclipse User |
|
|
|
Hey all,
I'm getting a FactoryException: The feature <extended> does not exist in <type>. (The partial stack trace is below.)
Extended actually lines up with a feature in a DocumentRoot, which declares ExtendedMetaData for an affiliate type (i.e. a type that extends the declared type), which obviously is not declared on type, which declares the affiliated feature.
When creating the model, I'm using the form: object.getSomethingGroup().set(package.getDocumentRoot_Extended(), value)
My question, is this a bug in the merger (i.e. should it be considering affiliated types) or should I be doing something different when creating the model (i.e. use an element handler along with object.getSomething().add(value))?
Thanks in advance,
Rob
org.eclipse.emf.compare.FactoryException: The feature <extended> does not exist in <type>.
at org.eclipse.emf.compare.util.EFactory.eStructuralFeature(EFactory.java:300)
at org.eclipse.emf.compare.util.EFactory.eAdd(EFactory.java:83)
at org.eclipse.emf.compare.diff.internal.merge.impl.ModelElementChangeLeftTargetMerger.undoInTarget(ModelElementChangeLeftTargetMerger.java:79)
at org.eclipse.emf.compare.diff.merge.service.MergeService.doMerge(MergeService.java:176)
at org.eclipse.emf.compare.diff.merge.service.MergeService.merge(MergeService.java:140)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03857 seconds