Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » XText project from XSD(Problems creating project)
XText project from XSD [message #1010838] Mon, 18 February 2013 10:11
Marcus Shaw is currently offline Marcus ShawFriend
Messages: 1
Registered: February 2013
Junior Member
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: Sat May 04 19:28:46 GMT 2024

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

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

Back to the top