Skip to main content



      Home
Home » Modeling » TMF (Xtext) » XText project from XSD(Problems creating project)
XText project from XSD [message #1010838] Mon, 18 February 2013 05:11
Eclipse UserFriend
Hi,

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.

Thanks,

Marcus.
Previous Topic:Optional arguments
Next Topic:xtext editor with rcp app
Goto Forum:
  


Current Time: Tue Jul 15 23:21:46 EDT 2025

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

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

Back to the top