Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » [Xtend]Allow user to add code in generated source
[Xtend]Allow user to add code in generated source [message #693961] Thu, 07 July 2011 10:46 Go to previous message
Christophe  is currently offline Christophe
Messages: 1
Registered: July 2011
Junior Member
Hello,
for a project I need to generate source from a DSL. With Xtext I made it well and follow the doc Xtext/documentation/2_0_0/040-first-code-generator.php. The problem is that I need to allow the user to write modifications in the generated source. I haven't see anything about this in Xtend documentation.

I have seen a little response openarchitectureware.org/pub/documentation/4.3.1/html/contents/recipe.html#recipe_ant_integration. It's a good solution but with this one I need to not generate myself the class file because it will be erase at each generation. Is there a way to read in my Xtend generator files of my project?
Or is there an other solution to enabling user doing modifications in files like with acceleo in which we can put javadoc comment to say "no don't erase my modifications there").

Thanks, Chris
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:[Acceleo] Create Standalone application
Next Topic:[Xtend/UML2] Resolving elements of a UML Profile.
Goto Forum:
  


Current Time: Sun May 19 21:19:11 EDT 2013

Powered by FUDForum. Page generated in 0.02591 seconds