avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: [PATCH] Bug 6025 - The System property "app.home" contains a non-String object
Date Wed, 25 Sep 2002 21:35:03 GMT
kool ! ;)

On Thu, 26 Sep 2002 02:24, Steve Short wrote:
> Peter,
>
> It seems that this was reported to me in error and that was not the
> problem at all.  My apologies to taking up your time with this.
>
> Steve
>
> > -----Original Message-----
> > From: Peter Donald [mailto:peter@apache.org]
> > Sent: Tuesday, September 24, 2002 2:24 PM
> > To: Avalon-Phoenix Developers List
> > Subject: Re: [PATCH] Bug 6025 - The System property
> > "app.home" contains a non-String object
> >
> > On Wed, 25 Sep 2002 02:15, Steve Short wrote:
> > > You also can't apply it because this method from class
> >
> > DefaultPolicy
> >
> > > seems to have been moved to SarPolicyResolver in the latest
> >
> > Phoenix.
> >
> > > I also found that SimpleLogKitManager also needs to be
> >
> > changed - I can
> >
> > > do both of these if you agree to the change.
> >
> > Right. Thats not the problem though ...
> >
> > > This code, wherever it lives, results in a File Object being placed
> > > into the system properties, this is a problem for me
> >
> > because it breaks
> >
> > > OpenAdaptor. OpenAdaptor creates a SuperProperties object using the
> > > system properties as defaults and it expects these to be Strings,
> > > which is quite reasonable given the contract that Properties are
> > > supposed to fulfill.
> >
> > I can't see how the code results in a File object being
> > placed in System
> > properties. Can you describe it. As far as I can see I copy
> > all the system
> > properties into a new map and pass the new map to DefaultContext.
> >
> > > I doubt that there are any backward compatibility issues with this
> > > variable, "app.home", outside of Phoenix itself.
> >
> > There are several blocks that expect it to be cast to a File object.
> > --
> > Cheers,
> >
> > Peter Donald
> > Sufficiently advanced science is
> >  indistinguishable from magic"
> >                -- Arthur C. Clarke
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:avalon-phoenix-dev-> unsubscribe@jakarta.apache.org>
> >
> > For additional commands,
> > e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>

-- 
Cheers,

Peter Donald*------------------------------------------------------*
| "Religion is what the common people see as true, the |
| wise people see as false, and the rulers see as      |
| useful" --Seneca                                     |
*------------------------------------------------------*


--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message