I finally managed to create a grammar that only uses
types from imported packages. All rules return some
type. Therefore the generated ecore file is empty
(it only contains a empty package). But the workflow
generates 3 problem:
1. it adds the (not) generated packages to the MANIFEST.MF
2. the XxxStandaloneSetup wants to register the
XxxPackage.eINSTANCE which has not been generated
3. the AbstractXxxJavaValidator reherences the non existin
package.
I guess there is a trick in to change the workflow... But
I am not able to figure it out.