[ANN] EOGenerator 1.5 available
Carl Lindberg <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.eof,gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Rubicode has released version 1.5 of EOGenerator. Version 1.4 adds
support for WebObjects 5.2, adds the ability to generate methods to call
named fetch specifications with typed arguments (the example templates
show how), adds several other possibilties to the example templates
(including typed covers for addObjectToBothSides...), defaults to Java
with WO5, and comes with a new version of MiscMerge which has many
added features for use in templates (mathematical expressions among
them).
EOGenerator is a command-line tool that provides an alternative
mechanism for generating EO classes, one which eliminates the need
for source code merges when regenerating classes from the model.
To do this, two classes are generated per entity: one that is
generated each time the EOEntity changes, and a subclass (the real
EO class) that only gets generated once. Any custom code is then
placed in the subclass, with no fear of being overwritten.
EOGenerator uses a similar but different template format than
EOModeler, making use of the MiscMerge engine. The default templates
will generate code identical to Apple's default templates except for
the dual-class approach, but with customized templates it's easy
(among other things) to generate methods to call fetch specifications,
generate methods to add and remove objects from relationships with
typed arguments, to have a custom superclass for all your EOs, and
generate cross-framework #import statements correctly for Objective-C
classes when models are in separate frameworks. Example templates
are provided for Java and Objective-C that show some of these
additional abilities.
EOGenerator should work with any EOF version on MacOS X 10.x,
MacOS X Server 1.2, Windows NT/2000, and OPENSTEP. The binaries
and source are on our web site at:
http://www.rubicode.com/Software/EOGenerator
and are also listed on Softrak (http://www.stepwise.com/Softrak).
Feedback can be sent to <[email protected]>.
Thanks,
- Carl Lindberg & Mike Gentry