Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Forcing EMF code generation for EPackage that contain sub-EPackage only
Forcing EMF code generation for EPackage that contain sub-EPackage only [message #422896] Thu, 18 September 2008 10:15 Go to next message
Yann Tanguy is currently offline Yann TanguyFriend
Messages: 80
Registered: July 2009
Member
Hi,

When an EPackage does not contain EClass, but only other (sub-)
EPackage, EMF does not generate model code.

Is there an option to force EMF generate the XXPackage and XXFactory
files for such models ?

best regards,

Yann.
Re: Forcing EMF code generation for EPackage that contain sub-EPackage only [message #422907 is a reply to message #422896] Thu, 18 September 2008 13:35 Go to previous message
Eclipse UserFriend
Originally posted by: cdamus.zeligsoft.com

Hi, Yann,

To quote directly Ed's reply to the same question in this newsgroup,
yesterday:

> This is
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=142856
>
> You could put a dummy EDataType in there so that it's not empty.

Cheers,

Christian


Yann Tanguy wrote:
> Hi,
>
> When an EPackage does not contain EClass, but only other (sub-)
> EPackage, EMF does not generate model code.
>
> Is there an option to force EMF generate the XXPackage and XXFactory
> files for such models ?
>
> best regards,
>
> Yann.
Previous Topic:Automatically loading "child" resources when "parent" resource is loaded
Next Topic:Can I generate enums mixed case?
Goto Forum:
  


Current Time: Mon Jan 27 13:47:36 GMT 2020

Powered by FUDForum. Page generated in 0.01457 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top