| Summary: | [Wizard] problem in invoking generated Workflows | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Holger Schill <Holger.Schill> | ||||
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | sebastian.zarnekow | ||||
| Version: | 0.7.0 | Flags: | sebastian.zarnekow:
helios+
|
||||
| Target Milestone: | M7 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 166635 [details]
Patch to solve the problem
Patch applied. Thanks. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
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 {} }