Skip to main content



      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 06:15 Go to next message
Eclipse UserFriend
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 09: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: Tue Jul 08 07:59:38 EDT 2025

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

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

Back to the top