Re: Default formatting of Java files
Re: Default formatting of Java files
- Subject: Re: Default formatting of Java files
- From: "Randy Leonard" <email@hidden>
- Date: Thu, 27 Feb 2003 00:32:52 -0700
Also, you may wish to look at EOGenerator v1.5
(http://www.rubicode.com/Software/EOGenerator/). This permits you to divide
autogenerated EO code and custom EO code into two distinct classes, the
custom class is a subclass of the autogenerated class. This tool also
provides templates to control the format and content of autogenerated EO's.
With this approach, you never modify the autogenerated class, and therefore
never have to do merges when updating your schema. I've integrated this
code with WO451 in the past to eliminate the need for command line tools to
generate your classes. But you can also integrate this with your make
system (talking WO451 here, haven't looked into jam integration with pbx
yet).
I highly recommend EOGenerator. It's free, it's open source.
Randy Leonard
email@hidden
----- Original Message -----
From: "Art Isbell" <email@hidden>
To: <email@hidden>
Sent: Tuesday, February 25, 2003 9:10 PM
Subject: Re: Default formatting of Java files
> On Tuesday, February 25, 2003, at 05:04 PM, Ray Ackland wrote:
>
> > I have found the templates which WO uses to create new projects, and
> > altered these to solve my problem. However, when I create Java classes
> > from EOModeler it does it the first way.
> >
> > Does anyone know if this is able to be altered so these files are
> > created alternative ways? I don't know if EOModeler uses templates, or
> > scripts the Java file from scratch.
>
> I think if you modify (as root)
> /System/Library/PrivateFrameworks/EOModelWizard.framework/Versions/A/
> Resources/EOJavaClass.template, you'll get what you want.
>
> Art
> http://homepage.mac.com/aisbell/
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.