Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [Texo] Problems generating Entity classes into right location
[Texo] Problems generating Entity classes into right location [message #1220127] Mon, 09 December 2013 21:25 Go to next message
Ralf Heydenreich is currently offline Ralf HeydenreichFriend
Messages: 211
Registered: July 2009
Senior Member
Hi all,
I've an annotationsmodel where I've set the "Package Path" property to
"com.application.mystuff.model". But the classes are generated into the
model com.application.mystuff and - that's the curious - the package
descriptor inside an entity points to com.application.mystuff.model,
which leads to the error message:

The declared package "com.application.mystuff.model" does not match the
expected package "com.application.mystuff"

When I generate my annotationsmodel from ecore, the package name is not
in the ecore file, but in my annotationsmodel it is (wrong). So, the
question is: How can I generate my annotationsmodel so that it contains
the correct package names?

Regards,
Ralf.
Re: [Texo] Problems generating Entity classes into right location [message #1220185 is a reply to message #1220127] Tue, 10 December 2013 09:45 Go to previous message
Martin Taal is currently offline Martin TaalFriend
Messages: 5468
Registered: July 2009
Senior Member
Hey Ralf,
I tested this and with me it worked fine. Can you send me the dev project? My email: mtaal_at_elver.org

gr. Martin

On 12/09/2013 10:25 PM, Ralf Heydenreich wrote:
> Hi all,
> I've an annotationsmodel where I've set the "Package Path" property to
> "com.application.mystuff.model". But the classes are generated into the
> model com.application.mystuff and - that's the curious - the package
> descriptor inside an entity points to com.application.mystuff.model,
> which leads to the error message:
>
> The declared package "com.application.mystuff.model" does not match the
> expected package "com.application.mystuff"
>
> When I generate my annotationsmodel from ecore, the package name is not
> in the ecore file, but in my annotationsmodel it is (wrong). So, the
> question is: How can I generate my annotationsmodel so that it contains
> the correct package names?
>
> Regards,
> Ralf.
>


--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@xxxxxxxx - mtaal@xxxxxxxx
Web: www.springsite.com - www.elver.org
Previous Topic:eclipse drag and drop like gui builder
Next Topic:[CDO] Displaying commit history on whole resource
Goto Forum:
  


Current Time: Thu Dec 12 18:25:38 GMT 2019

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

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

Back to the top