So, where does that leave us? Do we just wait for Java 6 or make the change David suggested?

Jacques Le Roux wrote:

Interesting, thanks Scott !

Jacques

De : "Scott Gray" <[EMAIL PROTECTED]>

It looks like they've fixed it in Java 6, it appears to be a popular

issue:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4212439

On 12/04/07, Jacques Le Roux <[EMAIL PROTECTED]> wrote:

My answer was from experience ;o)

Is there a Jira issue for that, should we create one ?

Jacques


This would be true except that we use the ResourceBundle class of

the

Java API, and that class keeps its own cache that prevents

reloading.

So for now we are stuck with a restart to reload on properties

files.

We've been talking about rewriting the UtilProperties stuff to not
use ResourceBundle (there are various notes in the java file on

it),

but that hasn't been done yet.

-David


On Apr 12, 2007, at 2:49 AM, Scott Gray wrote:


I was under the impression the properties are loaded and cached

the

first
time the file is used and can be cleared via webtools

Scott

On 12/04/07, Jacques Le Roux <[EMAIL PROTECTED]>

wrote:


Deploying a classpath resource is similar to deploying a

compiled

Java
class :  you have to reload.

This article may be of interest in this field :
http://www.javaworld.com/javaworld/javatips/jw-javatip125.html

Jacques



Hi,


When you are working with files that are not using entity

tags

("<entity-engine-xml>"), such as 'arithmetic.properties' is

there

a

method

to load the data, or is the file called each time it is used.

(I

did
clear

the cache).

I would like to understand this better, any guidance would be

appreciated.


Thanks & Regards,

Peter







Reply via email to