| Summary: | [generator] Add option to generate Xtend stubs instead of Java stubs | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Karsten Thoms <karsten.thoms> |
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | alexey.v.romanov, btickets, Holger.Schill, jan, joerg83reichert, lorenzo.bettini, mail, moritz.eysholdt, peter, sebastian.zarnekow, sven.efftinge, tmf.xtext-inbox, vladdu55 |
| Version: | 2.0.0 | Flags: | sven.efftinge:
kepler+
|
| Target Milestone: | M4 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Karsten Thoms
*** Bug 346248 has been marked as a duplicate of this bug. *** We should have the option to generate a java stub, an xtend stub or no stub at all for every generator fragment producing stubs. *** Bug 383428 has been marked as a duplicate of this bug. *** *** Bug 385830 has been marked as a duplicate of this bug. *** *** Bug 349585 has been marked as a duplicate of this bug. *** I gave the generator a bit of a refactoring. - Introduced a common interface for fragments generating stubs - Deprecated methods that did not match the new naming convention - Added Xtend generation to all fragments generating stubs - Re-implemented fragments with "Java" in their name in entirely Xtend - Generated MWE workflows now use auto-inject - Changed the default settings for newly generated Xtext projects to generate Xtend stubs only for provisional profile, stable profile and ecore2xtext. FOr existing projects there are no changes. I did add Java generation to fragments that already generate Xtend, e.g. the GeneratorFragment. The modules and standalone setups also stay Java. We can now also disable generation of stubs entirely by putting var generateStubs = false in the var section of the workflow. This property is 'true' by default to not break existing clients. var generateXtendStubs = true will generate Xtend stubs only. Requested via bug 522520. -M. Requested via bug 522520. -M. |