|
|
|
|
|
Re: [Texo] How to create ecore file with sub-packages? [message #875223 is a reply to message #875119] |
Tue, 22 May 2012 06:45   |
Eclipse User |
|
|
|
Hi Olaf,
But this sounds like a lot of work for you, each time you now change the xsd you have to manually update this
master/combined ecore file. The problem is that when changing an xsd I would need to know in which ecore file the model
is stored. Currently this is done by name, so a abc.xsd will update the abc.ecore and use a abc.annotationsmodel file.
But with multiple xsd files to one ecore file that's not really possible. At least not without having some xsd-ecore
linking information somewhere.
To be honest without a clear solution direction this feature does not have my highest priority.
gr. Martin
On 05/22/2012 09:19 AM, Olaf Burdziakowski wrote:
> @Martin,
> could you please attach/send the example you have? I would like to analyse how it is defined.
> I spend yesterday whole day on combinig/guessing how to connect my ecore files into single one.
> Finally I managed it works. I copied manually ecore files into single file. I had to define manually sub-packages and
> update references.
> I think Texo should be able to do that too. For me it does not matter if it would be from xsd files or from ecore files
> but it would be very helpful feature.
> Now I have single ecore file with 7 sub packages. Generate correct code from the file. The file can be opened in editor
> even after code generation (all necessary classes are in single location, not in separate package folders). Now I can
> create master class that would be annotated, easy to manage group of xml files with save to database. This is what I
> needed.
> Can you please think how to automate combining several schemas (sxd or ecore) into single ecore file?
--
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
|
|
|
|
Re: [Texo] How to create ecore file with sub-packages? [message #875248 is a reply to message #875239] |
Tue, 22 May 2012 08:02  |
Eclipse User |
|
|
|
Hi Olaf,
Okay that sounds doable and not too difficult, when selecting multiple xsd's then a separate menu option can be there to
generate a single integrated ecore file. Can you enter a bugzilla for this?
gr. Martin
On 05/22/2012 01:43 PM, Olaf Burdziakowski wrote:
> @Martin,
> for me the easiest would be creating multi-package ecore file when more than single xsd/ecore file was selected, or even
> separate menu option when needed.
>
--
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.06657 seconds