Okay, fist thing I'd say is don't use XCodes built-in modeler. But since you didn't ask about that I won't go into all the details.
Here are a couple options:
1) Open the model in EOModeler and generate them using it's function under the "Property" menu: "Generate Java files..." and "Generate Client Java files..."
Pro: Simple
Con: if you make changes to the .java files, then make a change to the EOModel and re-generate the files, your changes will be overwritten.
Pro: MUCH, MUCH more powerful and keeps you from overwriting changes to .java files.
Con: More complicated, command-line UI
If you are doing anything more than experimenting, use EOGenerator as it greatly reduces the amount of work you will do long-term, especially if you are still revising your EOModel. Most everyone uses it in conjunction with EOModeler.
Dave
On May 10, 2006, at 5:33 AM, Philippe Lafoucrière wrote:
Hello,
xcode is going to drive me nuts. I have designed a EOModel using Xcode. Is there a way to generate the corresponding java classes ?
I can't find any clue in menus nor documentation (Xcode User Guide). Mayble that's why xcode is still packaged with EOModeler ?
So can help ?
Thanks
Philippe
--
Philippe Lafoucrière
C.T.O
Mobile : +33 (0)6.89.54.49.62
KAMAYO
Interactive Solutions
66, Ave de Landshut
Centre de Transert
BP 50149
60201 Compiègne Cedex - France
Tel : +33 (0)3.44.36.70.48
Fax : +33 (0)3.44.30.21.03
www.kamayo.com
***