Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » xtend src-gen folder relative to dsl file
xtend src-gen folder relative to dsl file [message #1851094] Mon, 28 March 2022 06:23 Go to next message
Dennis Untiet is currently offline Dennis UntietFriend
Messages: 9
Registered: March 2022
Junior Member
Hey everyone,

is it possible that xtend creates the output folder (src-gen) relative to the .dsl file?
When I have more than one .dsl file in my project it should also create multiple src-gen folders that are all relative to their .dsl file. For example on the same layer as the .dsl file

In my project are multiple .dsl files and their output is in a single src-gen folder that is on top of the project.

Thanks for helping
Re: xtend src-gen folder relative to dsl file [message #1851099 is a reply to message #1851094] Mon, 28 March 2022 06:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14349
Registered: July 2009
Senior Member
Hi, what about using the resources uri to calculate the path of the generated file?

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: xtend src-gen folder relative to dsl file [message #1851102 is a reply to message #1851099] Mon, 28 March 2022 07:01 Go to previous message
Dennis Untiet is currently offline Dennis UntietFriend
Messages: 9
Registered: March 2022
Junior Member
Oh nice thats it.
Thanks a lot!
Previous Topic:Use Xtext Editor for a model field
Next Topic:Bi-directional reference
Goto Forum:
  


Current Time: Sun Sep 25 07:19:32 GMT 2022

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

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

Back to the top