Carl Lindberg
2005-05-17 05:54:36 UTC
Rubicode has released version 1.6 of EOGenerator. Version 1.6 adds
support for WebObjects 5.2.4 on MacOS X 10.4 (Tiger), fixes a couple of
problems in the example templates, adds a -filenameTemplate parameter
for oddball filename needs, adds a few new methods for use with
custom templates, and updates to a newer MiscMerge.
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/
Feedback can be sent to <eogenerator at rubicode.com>.
Thanks,
- Carl Lindberg, Doug McClure, & Mike Gentry
support for WebObjects 5.2.4 on MacOS X 10.4 (Tiger), fixes a couple of
problems in the example templates, adds a -filenameTemplate parameter
for oddball filename needs, adds a few new methods for use with
custom templates, and updates to a newer MiscMerge.
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/
Feedback can be sent to <eogenerator at rubicode.com>.
Thanks,
- Carl Lindberg, Doug McClure, & Mike Gentry