Skip to main content



      Home
Home » Modeling » EMF » [Ecore] xsd2ecore files not readable any longer after migration to Mars
[Ecore] xsd2ecore files not readable any longer after migration to Mars [message #1701621] Tue, 14 July 2015 09:25 Go to next message
Eclipse UserFriend
Hello,

When working in Luna, I had no problems to visualise the contents of xsd2ecore files with the Ecore to XML Mapping Editor.

Now that I've migrated to Eclipse Mars, the files do not seem readable any longer. The editor emits two errors :

Quote:

org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri 'http://www.eclipse.org/emf/2002/XSD2Ecore' not found. (platform:/resource/be.groups.portfolio.domain/model/portfolioExtended.xsd2ecore, 5, 24)


and

Quote:

ClassNotFoundException: Class 'XSD2EcoreMappingRoot' is not found or is abstract. (platform:/resource/be.groups.portfolio.domain/model/portfolioExtended.xsd2ecore, 5, 24)


Is there anything I have to do to make the editor work as before ?

I'm using the EMF XML to Ecore Mapping Editor 2.8.0.v20150601-0402.

Thanks for any advice,

Thomas Elskens
Re: [Ecore] xsd2ecore files not readable any longer after migration to Mars [message #1701655 is a reply to message #1701621] Tue, 14 July 2015 13:10 Go to previous messageGo to next message
Eclipse UserFriend
Thomas,

Comments below.

On 14/07/2015 3:25 PM, Thomas Elskens wrote:
> Hello,
>
> When working in Luna, I had no problems to visualise the contents of
> xsd2ecore files with the Ecore to XML Mapping Editor.
> Now that I've migrated to Eclipse Mars, the files do not seem readable
> any longer. The editor emits two errors :
The XML Mapping Editor isn't the same as the XSD to Ecore Model Editor.
So it sounds like you don't have the right editor/model plugins
installed. In particular, the org.eclipse.emf.mapping.xsd2ecore bundle
must be installed for any editor to recognize this model. You can
update your installation to install it from the Mars repository.
>
> Quote:
>> org.eclipse.emf.ecore.xmi.PackageNotFoundException: Package with uri
>> 'http://www.eclipse.org/emf/2002/XSD2Ecore' not found.
>> (platform:/resource/be.groups.portfolio.domain/model/portfolioExtended.xsd2ecore,
>> 5, 24)
>
>
> and
> Quote:
>> ClassNotFoundException: Class 'XSD2EcoreMappingRoot' is not found or
>> is abstract.
>> (platform:/resource/be.groups.portfolio.domain/model/portfolioExtended.xsd2ecore,
>> 5, 24)
>
>
> Is there anything I have to do to make the editor work as before ?
> I'm using the EMF XML to Ecore Mapping Editor 2.8.0.v20150601-0402.
> Thanks for any advice,
>
> Thomas Elskens
Re: [Ecore] xsd2ecore files not readable any longer after migration to Mars [message #1701786 is a reply to message #1701655] Wed, 15 July 2015 11:01 Go to previous message
Eclipse UserFriend
Thanks a lot, that was indeed the problem.
Previous Topic:emf json problem
Next Topic:Problem with SetCommand and unsettable Multi EReference
Goto Forum:
  


Current Time: Sat Jul 12 01:14:06 EDT 2025

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

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

Back to the top