On Mon, 17 Jan 2000, jon * wrote:
> on 1/17/00 4:53 PM, Kevin A. Burton <[EMAIL PROTECTED]> wrote:
>
> > Sounds good... Although I don't like having these huge application
> > error's as strings within Turbine.java. It is already a mile long.
> >
> > If the resources were already loaded I would say put them in a resource
> > file... but here you cant do that.
> >
> > Why not just break it out into an org.apache.util.ErrorMessages class
> > and have accessors.
> >
> > This way you keep the ugly (IMO) code out of Turbine.java.
> >
> > Kevin
>
> There is work going on right now for Jyve to localize it to German. Maybe we
> can come up with a nicer way than an ErrorMessages class. How about property
> files and the ResourceBundles?
>
> -jon
>
Do you mean like the TurbineResources.java file? I will have some more
diffs in a bit along these lines. I was thinking of taking the accessors
like getLong(String) and moving them into a file called
org.apache.turbine.util.ResourceBundle.java. Then TurbineResources.java
and other resources would inherit from that.
Jeff Prickett
[EMAIL PROTECTED]
> --
> Come to the first official Apache Software Foundation
> Conference! <http://ApacheCon.Com/>
>
>
>
>
> ------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Problems?: [EMAIL PROTECTED]
>
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]