|Re: [Texo] How to create ecore file with sub-packages? [message #875223 is a reply to message #875119]
||Tue, 22 May 2012 10:45
| Martin Taal
Registered: July 2009
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.
On 05/22/2012 09:19 AM, Olaf Burdziakowski wrote:
> 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
> Can you please think how to automate combining several schemas (sxd or ecore) into single ecore file?
With Regards, Martin Taal
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
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.01732 seconds