Re: Reading EOModel files

2017-09-27 Thread Andrus Adamchik
Cayenne wocompat module may get you started. Feel free to fork and customize. IIRC there's no "write" operation at the moment. https://github.com/apache/cayenne/tree/master/modeler/cayenne-wocompat http://search.maven.org/#artifactdetails%7Corg.apache.cayenne.modeler%7Ccayenne-wocompat%7C4.0.B1%7

AW: Reading EOModel files

2017-09-27 Thread Wolfgang Hartmann
Hy, If your tool should be completely independent of WO you could try to transform the Plist-String into a JSON-String and use that with e.g. GSON to transform it further into Java-Objects. The plist- and JSON-Format is very similar and is should be able to transform one format to the other. I

Re: Reading EOModel files

2017-09-27 Thread David Avendasora
Hey Marcus, I looked at doing something similar a couple years ago. Once I dug into it I realized that much of WOLips is a re-implementation of the EOAdaptor/EOPlugIn layer - an OLD (5.3-ish) - as are most of Wonder's Adaptors and PlugIns. The 5.4 version of EOF has several improvements to the

Re: Reading EOModel files

2017-09-27 Thread Ralf Schuchardt
Hi Markus, while I don’t know how easy it is to separate this from the whole of WOLips, have a look at    https://github.com/wocommunity/wolips/tree/master/wolips/core/plugins/org.objectstyle.wolips.eomodeler.core  for the main EOModel stuff and at   https://github.com/wocommunity/wolips/tree

Reading EOModel files

2017-09-27 Thread Markus Ruggiero
I am toying with the idea of writing a helper tool for EOModel. For this I need to read and write EOModel files. WOLips can do it, but as the source is not very easy to understand I simply ask here whether someone can point me to the relevant section in WOLips sources. Has anyone alreay done thi