generator output relative to dsl file [message #1857216] |
Wed, 25 January 2023 04:27  |
Eclipse User |
|
|
|
Hello everyone,
I want to generate the src-gen folder next to my dsl file. The problem is that I have mutliple dsl files in my project. Is there a way that I can define the OutputConfiguration to do this?
I have seen that there exsists a IContextualOutputConfigurationProvider but I can't get this to work. If I understood that correctly, I would then overwrite the default output configuration for each resource every time I want to generate the code. That might not be perfect but might work.
When I generate the files "manually" in the generator ( generate file at location: resource.URI / generatedFile ) I get problems with deleting old files. In this scenario I have an OutputConfiguration with output folder: "." (the project root)
Thank you for helping!
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04843 seconds