Community
Participate
Working Groups
The path within a language specific Workflow in the generator-plugin defines the path of the reader in a way that it could not be overwritten when an other Workflow references this Component. In case you have a Workflow that references this Component the path is not redefineable. component = org.eclipse.xtext.mwe.Reader { // lookup all resources on the classpath // useJavaClassPath = true // or define search scope explicitly path = "src/model" // this class will be generated by the xtext generator register = org.xtext.example.mydsl.MyDslStandaloneSetup {} load = { slot = "model" type = "Entity" } } module Generator var modelFile = "Model.mydsl" var targetDir = "../src-gen" Workflow { component = @workflow.MyDslGenerator auto-inject {} } The path must defines like this: var modelPath = "src/model" component = org.eclipse.xtext.mwe.Reader { // lookup all resources on the classpath // useJavaClassPath = true // or define search scope explicitly path = modelPath // this class will be generated by the xtext generator register = org.xtext.example.mydsl.MyDslStandaloneSetup {} load = { slot = "model" type = "Entity" } } var modelFile = "Model.mydsl" var modelPath = "src" var targetDir = "src-gen" Workflow { component = @workflow.MyDslGenerator auto-inject {} }
Created attachment 166635 [details] Patch to solve the problem
Patch applied. Thanks.
Closing all bugs that were set to RESOLVED before Neon.0