on 7/21/2000 3:40 PM, "Tim Trentham" <[EMAIL PROTECTED]> wrote:

> TurbineResourceService.setPropertiesFileName("d:/foo/TurbineResources.proper
> ties");

Yes, you need to do something like that.

> However, I'd really like to avoid hard coding the path to the resource file.
> I've used ResourceBundle in the past to avoid this. Is there a reason why it
> was done this way or am I missing something?

It takes a string, so you can use whatever you want to generate that path.

You could/should probably add a method to allow you to pass in a
ResourceBundle if that would make things easier for you. It really would not
be a huge amount of work.

-jon



------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to