[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.tmf] How to tell xtext to *not* try to generate an emf model because it uses only imported models?

Hi,

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.



Michael
--
Michael Scharf
Wind River Systems GmbH
http://www.WindRiver.com
http://MichaelScharf.blogspot.com/