dev@glassfish.java.net

Re: mail properties

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Mon, 23 Feb 2009 14:03:41 -0800

Bill Shannon wrote:
> 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...
I discussed this with Kedar at the time and he gave most detailed
information, but not as specific as what you suggest. ("Because of a
dotted name issue" IIRC.)

I agree with your assessment btw, but coming from me, it's pure
speculation as I was not involved at the time.

-Peter

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>