[Ecore] xsd2ecore files not readable any longer after migration to Mars [message #1701621] |
Tue, 14 July 2015 09:25  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03800 seconds