Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [papyrus-rt-dev] Diagram contained in an unresolved resource

Hi,

Couldn't this in any way be related to the "corrupt" data in the meta-data of the workspace itself. The model editor keeps the reference to any open diagrams, i.e. if you have the option "Private editor page layout" checked in the model editor. I think I have seen issues like this myself, but are not fully sure how to get it to repeat. Christian, could this be a plausible explanation? 

Ernesto, check the .meta-data folder of the workspace for your launched instance, and then ,plugins/org.eclipse.papyrus.core. Then it should be one folder per project and in this one its should be a .sash-file for each model in that project. Try to remove the .sash file and see if it works better.

/Peter Cigéhn

On 28 April 2016 at 18:04, Ernesto Posse <eposse@xxxxxxxxxxxxx> wrote:
More info. The model opens in my workbench, but not in the launched instance. Hmm...


On Thu, Apr 28, 2016 at 12:02 PM Ernesto Posse <eposse@xxxxxxxxxxxxx> wrote:
That's the weird thing. The .notation is there! along with the .di and .uml. 

I'm just manually importing the whole project from the git repo.

This is in the workspace of a (mars) development environment launch instance. Could it be corrupted somehow if I opened it on Neon?

The project does refer to the UML-RT profile, the RtCppProperties profile, and the UML-RT state machines profile, a package import (UMLPrimitiveTypes) and references to some elements in the model library. That's it. 

Looking at the .uml I see the profile applications, and the import for the UMLPrimitiveTypes but I don't see the import for the model library. Could this be the issue?

In any case, the strange thing is that this used to open without a problem.

 



On Thu, Apr 28, 2016 at 11:34 AM Christian Damus <give.a.damus@xxxxxxxxx> wrote:
Hi, Ernesto,

The error means what it says:  the workspace does not have a file named PingPong.notation in the PingPong project.  The question is, why not?  Is the test only copying the *.di file?  The various kinds of AbstractModelFixture, or the PapyrusEditorFixture if you need an editor, make it very simple to copy a *.di resource and all of its dependencies (applied profiles, referenced libraries, etc.) into the workspace project from the test bundle.

cW



On 28 April, 2016 at 11:30:40, Ernesto Posse (eposse@xxxxxxxxxxxxx) wrote:

Hi all.

I'm having trouble opening models that used to cause no trouble. In particular I get this error:

This diagram is contained in an unresolved resource : platform:/resource/PingPong/PingPong.notation

when trying to open the PingPong model in our models/tests.

Has anyone experience this? What could be the cause?

-- 
Ernesto Posse
Zeligsoft

_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev

_______________________________________________
papyrus-rt-dev mailing list
papyrus-rt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/papyrus-rt-dev



Back to the top