dev@glassfish.java.net

Re: mail properties

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Sun, 22 Feb 2009 23:19:08 -0800

Peter Williams wrote:
>> But wouldn't it be better to change this behaviour? To actually allow
>> mail properties to start with "mail." instead of having to start with
>> "mail-"? There is also a RFE (issue 4515) asking for exactly that.
...
>> To me it sounds a bit absurd to work around this problem, try to
>> enhance the documentation and provide the user with ever more help
>> instead of solving the problem that causes trouble again and again
>> (e.g. on January 29 one user posted about this on the users list).
>>
>> Now very likely there is a very good reason for this, but I have never
>> read about this on this list (though I might very well have missed
>> this). Maybe someone on this list can explain the reasoning behind this?
> I don't believe anyone (left at Sun at least) knows the exact reason. I
> researched this thoroughly last year (the original code dates back to
> 2002) and spoke with the few people whose names came up in my searches,
> either due to internet postings or commit logs. No one had a good reason.

I thought the problem was related to the use of dotted names to set
properties - the dots in the property name were confused with the dots
in the dotted name used to navigate to the node that contains the
properties.

Kedar should remember for sure...