They get instantiated if you call setPropertyFileName(). ;-)
I did test this code from a Main() class and it worked just fine...if you
read the javadoc I make explicit statements that say that you need to call
setPropertyFileName() before calling getString().
-jon
> Jon,
>
> You made changes to use the new resources stuff with code like
> TurbineResources.getString("name");
>
> These static get* methods never instantiate the GenerResources so we'll get
> a NPE. We need to use TurbineResources within the service framework or
> provide a convenient wrapper class like Localization.
>
> Frank
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
- Re: TurbineLocalizationService Paul Ho
- Re: TurbineLocalizationService Bernie Hoeneisen
- RE: TurbineLocalizationService Frank Kim
- Re: HelloWorld more like GoodByeCruelWorld for m... jon *
- RE: HelloWorld more like GoodByeCruelWorld for me... help... James Conley
- RE: HelloWorld more like GoodByeCruelWorld for me... help... James Conley
- Re: HelloWorld more like GoodByeCruelWorld for me...... jon *
- Re: HelloWorld more like GoodByeCruelWorld for me...... John McNally
- TurbineResources Frank Kim
- RE: TurbineResources jon
- RE: TurbineResources Frank Kim
- Re: TurbineResources jon
- Re: TurbineResources Kevin A. Burton
- Re: TurbineResources jon *
- RE: TurbineResources Frank Kim
- Re: TurbineResources jon
- RE: TurbineResources Frank Kim
- RE: TurbineResources Frank Kim
- RE: HelloWorld more like GoodByeCruelWorld for me... help... Stephen Adkins
