Community
Participate
Working Groups
It would be really useful to provide the generator corresponding to the MoDisco XML metamodel (http://wiki.eclipse.org/MoDisco/Components/XML).
The generator exists. That is not an Acceleo module as for other model kinds : the org.eclipse.gmt.modisco.xml component brings some Resource.Factory & Resource implementations which allow save action once the model has been modified. The org.eclipse.gmt.modisco.xml.discoverer only uses this specific Resource.Factory to provide the GenericXMLResourceImpl instance. Well, may be it is not obvious in documentation. There is one indication : "The XML content can be serialized back since the model elements are contained in a dedicated org.eclipse.emf.ecore.resource.Resource implementation. " Or may be you expect some ui shortcut action for generating from workspace...
Hi Fabien, Thanks for the quick answer :-) I was initially thinking about a similar support as the one for Java. To this intent, I would propose the available XML serialization support (which is already available) to be explicitly mentioned in the documentation as a "XML generator". Also, a contextual action (from a XML model) and a "generation" launch configuration would allow the easy integration of XML generation as part of a MoDisco workflows (i.e. chains of discoveries and transformations), as it can already been done for Java. Hugo