|
|
Re: Renaming GMF Resource Files [message #839213 is a reply to message #839155] |
Sun, 08 April 2012 09:30 |
Snakebyte Missing name Messages: 130 Registered: November 2011 |
Senior Member |
|
|
What you say is right.
But doing this still result in the same issue.
The bidirectional cross referencere are not clearly maintained. They are not changed in referencing files.
Lets assume i have two files :
File A and
File B
A und B have a bidirectional reference between them.
Now i do what you and I explained :
-load single ResourceSet
-resolveAll - now calling setUri(newUri) - and afterwards calling ResourseSet.getUriConverter.delete(FileA,Collections.EMPTY_MAP)
-afterwards save all
The reference from file B still not points correctly then. When i look in the files it seems like that one XMI-File uses a complete uri starting with :
file:/
and the other starting with
platform:/resource
if i change this manually in the xmi files the references are maintained correctly.
What i have to do, to achieve this correctly when renaming ? (when saving resources..to always use file or platform formatted URIs)
Greetings
[Updated on: Sun, 08 April 2012 09:33] Report message to a moderator
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04105 seconds