| Summary: | Specifying 'expand' value with usage of variable fails with error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMFT | Reporter: | Karsten Thoms <karsten.thoms> | ||||
| Component: | MWE | Assignee: | Project Inbox <emft-mwe-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | sebastian.zarnekow | ||||
| Version: | 1.0.1 | Flags: | sebastian.zarnekow:
helios+
sebastian.zarnekow: indigo+ |
||||
| Target Milestone: | M3 | ||||||
| Hardware: | Macintosh | ||||||
| OS: | Mac OS X | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 182273 [details]
Reproducing Example Projects
Run the workflow from the .generator project to reproduce the bug.
Fixed in master. Will be backported to 1.0.2 Backported to Helios Maintenance |
This workflow configuration fails with error: ----------------------------- ... var templateroot = "templates::Template::main" ... component = org.eclipse.xpand2.Generator { expand = "${templateroot} FOREACH greetings" ... 81 [main] ERROR mf.mwe2.launch.runtime.Mwe2Launcher - Problems running workflow workflow.MyDslGenerator: [ERROR]: property 'expand' has wrong syntax : mismatched input 'greetings' expecting TEXT on line 1(Element: -UNKNOWN-; Reported by: Generator: generating 'templates::Template::mainFOREACH greetings' => src-gen) java.lang.RuntimeException: Problems running workflow workflow.MyDslGenerator: [ERROR]: property 'expand' has wrong syntax : mismatched input 'greetings' expecting TEXT on line 1(Element: -UNKNOWN-; Reported by: Generator: generating 'templates::Template::mainFOREACH greetings' => src-gen) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:82) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Runner.run(Mwe2Runner.java:52) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.run(Mwe2Launcher.java:74) at org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher.main(Mwe2Launcher.java:35)