Skip to main content



      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 02:23 Go to next message
Eclipse UserFriend
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 02:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi, what about using the resources uri to calculate the path of the generated file?
Re: xtend src-gen folder relative to dsl file [message #1851102 is a reply to message #1851099] Mon, 28 March 2022 03:01 Go to previous message
Eclipse UserFriend
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: Tue May 13 11:13:18 EDT 2025

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

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

Back to the top