Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Package Not Found exception
Package Not Found exception [message #555516] Thu, 26 August 2010 21:42 Go to next message
Daniele is currently offline Daniele
Messages: 45
Registered: August 2010
Member
Hi there,

I would like to separate the pictogram model and the domain model as described in:

http://www.eclipse.org/forums/index.php?t=msg&th=172247& amp; amp;start=0&S=c203ceb072b6812d39e0ac3742070175

Actually, I am able to create the model file in the src folder, e.g.,:

text.model
---------------------
<?xml version="1.0" encoding="ASCII"?>
<BIM:Intention xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:BIM="platform:/resource/org.eclipse.graphiti.bim/src/BIM.ecore " name="Test"/>

BUT, if I close and reopen the enviroment, I have the following error markers:

Multilpe markers at this line:
-- ClassNotFoundException: Class 'Intention' is not found or is abstract. (platform:/resource/test/src/tests.model, 2, 152)
-- PackageNotFoundException: Package with uri 'platform:/resource/org.eclipse.graphiti.bim/src/BIM.ecore' not found. (platform:/resource/test/src/tests.model, 2, 152)

Should I register the package's uri in some place?

Much appreciated any help or suggestions on how to do that Smile
Bye
Daniele

[Updated on: Fri, 27 August 2010 00:20]

Report message to a moderator

Re: Package Not Found exception [message #555544 is a reply to message #555516] Fri, 27 August 2010 06:47 Go to previous messageGo to next message
Michael Wenz is currently offline Michael Wenz
Messages: 1592
Registered: July 2009
Location: Walldorf, Germany
Senior Member
This sounds as if there is something wrong with your EMF model in general.
Maybe you could check your extensions registered at
org.eclipse.emf.ecore.generated_package; your package should be registered
there. I doubt that this happens because of the separation of the domain
model.

For Graphiti no special registration is needed.

-Michael

"Daniele" <barone.daniele@gmail.com> wrote in message
news:i56n3o$2ft$1@build.eclipse.org...
> Hi there,
>
> I would like to separate the pictogram model and the domain model as
> described in:
>
> http://www.eclipse.org/forums/index.php?t=msg&th=172247& amp;start=0&S=c203ceb072b6812d39e0ac3742070175
>
> Actually, I am able to create the model file in the src folder, e.g.,:
>
> text.model
> ---------------------
> <?xml version="1.0" encoding="ASCII"?>
> <BIM:Intention xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
> xmlns:BIM="platform:/resource/org.eclipse.graphiti.bim/src/BIM.ecore "
> name="Test"/>
>
> BUT, if I close and reopen the enviroment, I have the following error
> markers:
>
> Multilpe markers at this line:
> -- ClassNotFoundException: Class 'Intention' is not found or is abstract.
> (platform:/resource/test/src/tests.model, 2, 152)
> -- PackageNotFoundException: Package with uri
> 'platform:/resource/org.eclipse.graphiti.bim/src/BIM.ecore' not found.
> (platform:/resource/test/src/tests.model, 2, 152)
>
> Should I register the package's uri in some place?
> Much appreciated any help or suggestions on how to do that :)
> Bye
> Daniele
>
Re: Package Not Found exception [message #555668] Fri, 27 August 2010 14:30 Go to previous message
Daniele is currently offline Daniele
Messages: 45
Registered: August 2010
Member
Now it works Smile

since I am not an expert Sad I was trying to use the org.eclipse.emf.ecore.dynamic_package extension.

Now with org.eclipse.emf.ecore.generated_package and the correct parameters, it seems working.

Thank you again
Daniele
Previous Topic:How to resize Polygon shapes and How to have a multiline text
Next Topic:Re: Package Not Found exception
Goto Forum:
  


Current Time: Tue Sep 16 07:37:22 GMT 2014

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

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