Community
Participate
Working Groups
the Xtext generator, when it generates the generator plugin of the DSL, say MyDsl, puts the extension files, the template files and the workflow file in the directories 'extensions', 'templates' and 'workflow' respectively. Since these directories are not prefixed with anything that identifiers MyDsl, files ext, xpt and mwe2 files with the same name, belonging to different xtext generator plugins may clash. For instance, if in your development workspace you have two dsl plugins (which have nothing to do with each other), say mydsl1 and mydsl2, and they both happen to have a template Main.xpt, in the runtime environment one of the two Main.xpt will override the other, with unpredictable behavior if you run xpand generation. A very easy and safe solution would be to prefix extensions, templates and workflow directories with something concerning the dsl, e.g., mydsl::extensions, mydsl::templates, mydsl::workflow.
Closed as invalid (because there is no 'obsolete') since we want to get rid of the dedicated generator plugin and the Xtend / Xpand stubs infavor of a Xtend2 based generator.
OK. I had raised the question on the newsgroup a few weeks ago, and I was told that it could have been a good feature request... sorry for the noise then :)