Skip to main content



      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 16:42 Go to next message
Eclipse UserFriend
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 13:35 Go to previous messageGo to next message
Eclipse UserFriend
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 18:18 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 21:19:24 EDT 2025

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

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

Back to the top