|[Xtend]Allow user to add code in generated source [message #693961]
||Thu, 07 July 2011 14:46
Registered: July 2011
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").
Powered by FUDForum
. Page generated in 0.01639 seconds