broken .di file [message #933678] |
Fri, 05 October 2012 04:29  |
Eclipse User |
|
|
|
Hello,
Using Papyrus 0.9.0 I've run into a situation when the model didn't open anymore.
After some analysis using "sample ecore editor" to load all the model files and running validation, it turns out that only the .di file is broken, while the .uml and .notation files are valid.
My work-around to repair the .di file was to overwrite it with something like:
<?xml version="1.0" encoding="ASCII"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="model.notation#_1rtvgAleEeKk1_-gt_aoIA"/>
</availablePage>
<availablePage>
<emfPageIdentifier href="model.notation#_FytBMAlfEeKk1_-gt_aoIA"/>
</availablePage>
<availablePage>
<emfPageIdentifier href="model.notation#_a2GwQAlkEeKk1_-gt_aoIA"/>
</availablePage>
<availablePage>
<emfPageIdentifier href="model.notation#_rChf4AumEeKrv4P5cGyplg"/>
</availablePage>
<availablePage>
<emfPageIdentifier href="model.notation#_853ecAuyEeKrv4P5cGyplg"/>
</availablePage>
<availablePage>
<emfPageIdentifier href="model.notation#_wEjjcAuzEeKrv4P5cGyplg"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder"/>
</windows>
</sashModel>
</di:SashWindowsMngr>
And now it seems to work.
Questions:
- Is there a "default" content for the .di file, given a related uml and notation files pair ?
- Is there an automatic repair of the .di file feature ?
Regards,
Vlad Gheorghe
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10422 seconds