|XText project from XSD [message #1010838]
||Mon, 18 February 2013 10:11
| Marcus Shaw
Registered: February 2013
I am tying to build an editor for the Call Control XML language. The CCXML language is modereately complex so to get me started I want to build an Xtext project for the Library XSD.
I creaged an EMF project, selected to import an XSD schema and have generated an ECore model from the XSD at http://www.eclipse.org/modeling/emf/docs/2.x/tutorials/xlibmod/library.xsd. I then created a new Xtext project using the "Xtext Project From Existing Ecore Models" item. I've clicked Next and selected the "library.genmodel" in the "Choose EMF generator model" dialog. I accepted all the defaults, clicked Finish and generated the projects.
Unfortunately the "MyDsl.xtext" file shows several errors, the first of which is:
Could not resolve reference to EPackage "import "http://www.example.eclipse.org/Library"
I've tried adding the EMF project to the build path but the error remains. I'm sure I've missed some very simple step but can't figure out what it is.
Powered by FUDForum
. Page generated in 0.01940 seconds