Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » DSL Instance and Maven
DSL Instance and Maven [message #789661] Fri, 03 February 2012 08:36 Go to next message
Markus Schindler is currently offline Markus SchindlerFriend
Messages: 30
Registered: July 2009
Member
Hi,

I have another question concerning Xtext and Maven.
I build my Xtext project finally (with some workarounds) succesfully with maven.

Now I have a project with an instance of my dsl, let's call them Demo.mydsl. Normaly the generator is invoked via a
JavaProjectBasedBuilderParticipant, but how can I generate my Java Classes, XML etc. from this dsl with maven.

Any hints?

Regards,
Markus
Re: DSL Instance and Maven [message #790174 is a reply to message #789661] Fri, 03 February 2012 22:51 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

you could the generator from a mwe(2) workflow and call this one from maven.
you can find a maven plugins for mwe(2) here
http://fornax.itemis.de/confluence/display/fornax/OAW-M2-Plugin+%28TOM%29

~Christian


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How to use EcoreSupport?
Next Topic:What's the meaning of the operator "row" (=>) in Xtext?
Goto Forum:
  


Current Time: Fri Apr 26 06:11:26 GMT 2024

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

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

Back to the top