Bug 321731 - [DiaGen] Replace relative paths in *.gmfgen with platform:/plugin uris
Summary: [DiaGen] Replace relative paths in *.gmfgen with platform:/plugin uris
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 10:41 EDT by Tatiana Fesenko CLA
Modified: 2017-09-08 09:49 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2010-08-04 10:41:04 EDT
GMFGen files for Papyrus diagrams use relative path to reference genmodels:
"../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel" 
"../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel". Note that both of models are located in plugins.
Because of it if the user's attempts to open a GMFGen model in SVN fail - EMF looks for the models using the relative paths, in CVN, and cannot find it. 
As a consequence, it's not possible to compare Papyrus gmfgen models using EMF Compare.
Use "platform:/plugin" uri instead, e.g. "platform:/plugin/org.eclipse.uml2.uml/model/UML.genmodel".
Comment 1 Tatiana Fesenko CLA 2010-08-04 10:48:26 EDT
Fixed for Class diagram
Comment 2 Camille Letavernier CLA 2013-03-22 13:33:41 EDT
The "../../.." URIs will come back after each save action. The replacement of relative URIs with platform:/ based URIs is the responsibility of the Editor, which is provided by GMF Tooling (i.e. specific Save Options to add in the resource)