Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:25 Go to next message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
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 17:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: [Ecore] xsd2ecore files not readable any longer after migration to Mars [message #1701786 is a reply to message #1701655] Wed, 15 July 2015 15:01 Go to previous message
Thomas Elskens is currently offline Thomas ElskensFriend
Messages: 159
Registered: September 2014
Location: Brussels - Belgium
Senior Member
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: Thu Apr 25 00:27:25 GMT 2024

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

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

Back to the top