Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Serialization of hrefs
Serialization of hrefs [message #418412] Tue, 15 April 2008 12:52 Go to next message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
I have an EMF based application that all the sudden started to change
the way hrefs to objects in other files. All model files are in the same
directory. It used to be href="filename.extension#xmi-id". This is what
I want. Now it has changed to
href=" platform:/resource/project-name/directory/filename.extension #xmi-id ".

So, how does EMF determine which format to use? Is there a setting to
force one or the other format?

Thanks,
Lutz
Re: Serialization of hrefs [message #418413 is a reply to message #418412] Tue, 15 April 2008 13:00 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Lutz,

URI references to other resources are serialized relative to the URI of
the resource containing the reference. So most likely something has
changed in you application that the URI of the resource doing the saving
is no longer in the form platform:/resource/project/path/file.extension...


Lutz Wrage wrote:
> I have an EMF based application that all the sudden started to change
> the way hrefs to objects in other files. All model files are in the
> same directory. It used to be href="filename.extension#xmi-id". This
> is what I want. Now it has changed to
> href=" platform:/resource/project-name/directory/filename.extension #xmi-id ".
>
>
> So, how does EMF determine which format to use? Is there a setting to
> force one or the other format?
>
> Thanks,
> Lutz


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Serialization of hrefs [message #418414 is a reply to message #418413] Tue, 15 April 2008 13:05 Go to previous message
Lutz Wrage is currently offline Lutz WrageFriend
Messages: 181
Registered: July 2009
Senior Member
Thank you! Now I know what to look for.

Ed Merks wrote, on 4/15/2008 9:00 AM:
> Lutz,
>
> URI references to other resources are serialized relative to the URI of
> the resource containing the reference. So most likely something has
> changed in you application that the URI of the resource doing the saving
> is no longer in the form platform:/resource/project/path/file.extension...
>
>
> Lutz Wrage wrote:
>> I have an EMF based application that all the sudden started to change
>> the way hrefs to objects in other files. All model files are in the
>> same directory. It used to be href="filename.extension#xmi-id". This
>> is what I want. Now it has changed to
>> href=" platform:/resource/project-name/directory/filename.extension #xmi-id ".
>>
>>
>> So, how does EMF determine which format to use? Is there a setting to
>> force one or the other format?
>>
>> Thanks,
>> Lutz
Previous Topic:Notification when emf model is loaded
Next Topic:Duplicate annotation @Override
Goto Forum:
  


Current Time: Fri Apr 26 08:41:22 GMT 2024

Powered by FUDForum. Page generated in 0.02823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top