Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 337445

Summary: XML projectors: the provided XML metamodel is not registered
Product: [Modeling] MoDisco Reporter: Vincent MAHE <vmahe>
Component: AM3Assignee: Hugo Bruneliere <hugo.bruneliere>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: nicolas.bros
Version: unspecifiedFlags: nicolas.bros: indigo+
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:
Attachments:
Description Flags
correct XML.ecore + registration to EMF
none
add 'model' folder to build none

Description Vincent MAHE CLA 2011-02-17 09:42:19 EST
Created attachment 189188 [details]
correct XML.ecore + registration to EMF

XML.ecore metamodel does not respect usual place (i.e. should be in "model/" folder) and is not registered to EMF so its URI cannot be used under runtie or deployed applications.
The attachement is a patch correcting these two problems.
Comment 1 Hugo Bruneliere CLA 2011-02-17 11:42:38 EST
Patch integration in progress.
Comment 2 Hugo Bruneliere CLA 2011-02-17 11:55:49 EST
I've committed the patch with a small modification: I changed the URL of the "XML" Ecore package to http://www.eclipse.org/am3/2007/XML, as AM3 is no longer part of GMT.

Vincent, please could you test that the version from the SVN is OK for you?
Comment 3 Vincent MAHE CLA 2011-02-18 03:56:03 EST
I tested it: it works well :-)
I synchronized Portolan source on Eclipse Labs with this and it works perfectly.
Thanks.
Comment 4 Hugo Bruneliere CLA 2011-02-18 04:36:25 EST
Thanks Vincent.
The patch has been successfully applied.
Comment 5 Vincent MAHE CLA 2011-02-18 11:24:41 EST
Created attachment 189292 [details]
add 'model' folder to build
Comment 6 Vincent MAHE CLA 2011-02-18 11:26:06 EST
Adding the XML metamodel in 'model' folder, we forgot to register this one for the build ('build.properties' file).
Comment 7 Hugo Bruneliere CLA 2011-02-21 04:42:30 EST
The upgrade has been done: thanks again Vincent!
Comment 8 Hugo Bruneliere CLA 2011-02-22 07:49:23 EST
Patch successfully applied.