Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext - Generate xmi file with my ecore model
Xtext - Generate xmi file with my ecore model [message #520719] Sun, 14 March 2010 20:42 Go to next message
Silvana is currently offline SilvanaFriend
Messages: 4
Registered: November 2009
Location: Argentina
Junior Member
Hi, how to create xmi file using my ecore model?

Now , xmi file create using xtext the grammar but I need that it create using my grammar specified.

Thanks.
Sorry for my bad English.
Re: Xtext - Generate xmi file with my ecore model [message #521199 is a reply to message #520719] Tue, 16 March 2010 17:35 Go to previous messageGo to next message
Giovanni is currently offline GiovanniFriend
Messages: 5
Registered: March 2010
Junior Member

You can import ur Ecore model instead to generate it. You must reply the line Generate in xtext file with "import <your_path>/<your_model>.ecore

In this manner the grammar that u define must be agree with ur metamodel.

Best Regards,
Giovanni
Re: Xtext - Generate xmi file with my ecore model [message #521526 is a reply to message #521199] Wed, 17 March 2010 22:18 Go to previous message
Silvana is currently offline SilvanaFriend
Messages: 4
Registered: November 2009
Location: Argentina
Junior Member
Hi,
already try that but the xmi file continues to generate with the grammar of xtext.
When I open xmi file expresion tree has Grammar, Parse Rule node.

Best Regards,
Silvana

Previous Topic:Darwin in Xtext: problem with binding
Next Topic:FSP (Final State Process) in Xtext: problem with recursive grammar
Goto Forum:
  


Current Time: Thu Apr 25 20:46:05 GMT 2024

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

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

Back to the top