XText Binding Generators from another Project [message #1796265] |
Tue, 09 October 2018 07:56  |
Eclipse User |
|
|
|
When I start a new XText Project, and then generate the XText Artifacts from my XText File, A RunTimeModule is automatically created in the core logic Project where the xtext File defined, so that I can bind my own generators and validators.
Depending on my workflow, XText also automatically creates packages for generators and validation, also within this core Project.
Let's say I have another Project, where additional generators are defined, and this Project is dependent on the core Project where my RunTimeModule is.
But the core Project itself of course has no access to this second Project.
How can I bind these generators in this second Project, since in my RunTimeModule I have no access to these other generators?
To make it clearer
org.xtext.myDsl (Core Xtext Project)
---- org.xtext.myDsl
----MyDsl.xtext
----MyDslRuntimeModule.xtend
---- org.xtext.myDsl.Generator
----- org.xtext.myDsl.validation
org.xtext.second.myDsl (second Project dependent on org.xtext.msDsl)
--- org.xtext.second.myDsl.generator (I want to bind the generators here)
[Updated on: Tue, 09 October 2018 08:01] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04971 seconds