On Wed, 7 Feb 2001, Colin Chalmers wrote:
> hi,
>
> In order to keep Turbine properties and my application properties seperate I
> would like to have two property files. I've looked in the archives and am
> (almost) sure this is possible however I do have one or two questions.
>
> 1. Is it indeed possible and can I have them both init at startup? Or do I
> have to init my own one seperately/"manually"?
> 2. I noticed in the Javadocs that TurbineConfig could be the correct way to
> go but is that not only for debugging?
> 3. Is it possible to set/delete attributes in resource files? I see in
> TurbineConfig that these methods are not yet implemented.
You can have as many different config files as you like.
Flux has it's own config file which I pull in at the
bottom of the standdard TR.props file a la:
include = Flux.properties
Then you may access any of the properties in your extra properties
file with TurbineResources.getString("whatever.you.want") :-)
jvz.
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]