|
|
|
Re: [Edapt] Format of resourceURI to get the Releases from the Migrator? [message #1768871 is a reply to message #1768411] |
Mon, 24 July 2017 13:57 |
Felix Buehler Messages: 15 Registered: July 2017 |
Junior Member |
|
|
Hi Johannes!
The second option worked for us, thank you! We had to create our own version of the getNamespaceURI_SAX(inputstream) though, because we too got the URI "http://eclipse.org/graphiti/mm/pictograms" which is not our package URI, so we added a check in the startElement() of the ContentHandler to only return our package URI.
When doing the migration, a simple migration like renaming an attribute works. However, when adding an attribute to an existing Class this attribute is not added during the migration (although the change is present in the history and also processed in the ForwardReconstructorBase-doReconstruct()).
EDIT: Deletion of an Attribute also works fine.
EDIT2: wenn using migrateAndLoad() the loaded resource does contain the new attribute but saving the resource with resource.save(null) again results in the new attribute not being persisted (the other changes worked though).
Do you have a suggestion what I could be missing? (I can also open another thread if that's more suitable)
Thanks in advance, I'm really appreciating your help!
Felix
[Updated on: Tue, 25 July 2017 08:19] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03522 seconds