Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to Customize output directory of code generation(Xtext src-gen path customization)
How to Customize output directory of code generation [message #1797112] Thu, 25 October 2018 12:28 Go to next message
Shashi Mising name is currently offline Shashi Mising nameFriend
Messages: 47
Registered: August 2011
Member
Hi ,

I have use case where i need to generate the code generation files from the xtext model at outside the src-gen folder of the project, is it possible to generate the code generation files outside the src-gen folder.

I configured my generator class inside the runtime module and when i do clean build project, it always create the src-gen folder and generate the code inside it.

How to customize it.

Thank you

Re: How to Customize output directory of code generation [message #1797113 is a reply to message #1797112] Thu, 25 October 2018 12:33 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi please look for the terms outlet (second param of the 3 param generateFile method )
And IOutputConfiguration(Provider)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:New file/project wizard name validation
Next Topic:I need to invoke full_build or incremental build using project.build() function in new thread
Goto Forum:
  


Current Time: Thu Apr 25 22:51:12 GMT 2024

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

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

Back to the top