|
|
|
Re: [Texo] Extend Ecore Model [message #1061441 is a reply to message #1061420] |
Fri, 31 May 2013 15:52 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Sir,
Okay, for the first problem, can you create a bugzilla and upload the projects/files?
For the second problem, yes that's the way it works currently, it assumes that each epackage is stored in its own
folder. But if you have the texo model each in their own project then you generate into different src folders, at least
that's how it standard is with me.
For problem 2, I have several examples in the Texo testsuite where ecore models are related/extend eachother, and it
works fine for me.
gr. Martin
On 05/31/2013 04:26 PM, Sir Wayne wrote:
> Martin Taal wrote on Fri, 31 May 2013 09:48
>> Hi Sir,
>> Have you selected both ecore files when generating code?
>
>
> Doesn't work. The Generator ignore the properties from the extending ecore file
>
> Martin Taal wrote on Fri, 31 May 2013 09:48
>> Hi Sir,
>> Normally it is better to have separate annotations model files for separate ecore files.
>
>
> With this suggestion i have two problems. 1. I want to generate all separate texo models in a own project (osgi-bundle)
> in the same package. If i generate model one it works, but model 2 will delete all generated files from model 1. So i
> need separate packages or different gen-folder for every texo model :(.
>
> 2. The EAttribute and EReference from the extending model are wrong, if you change the simple class name. Same problem
> as http://www.eclipse.org/forums/index.php/t/488058/, but more complex because now we have to different ecore and texo
> files files.
--
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
|
|
|
Powered by
FUDForum. Page generated in 0.03424 seconds