> Stephen,
>
> >>>>2) File dir = (File) context.get("phoenix-dir:server-app");
> >>>>
> >>>try using the string "app.dir" or something and it should work ;)
> >>>
> >>Doh!
> >>
> >
> >But its nasty - anyone can change "app.dir" because its the value of
> >a constant. A better solution is needed!
> >
> But it is defined in an interface, and therefore immutable?
>
The constant APP_HOME_DIR is defined in the interface - I can change
the "app.dir" string value to anything I want without breaking the
interface.
Steve.
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
- BlockContext.getBaseDirectory(); Paul Hammant
- RE: BlockContext.getBaseDirectory(); Stephen McConnell
- Re: BlockContext.getBaseDirectory(); Paul Hammant
- RE: BlockContext.getBaseDirectory(); Stephen McConnell
- Re: BlockContext.getBaseDirectory(); Paul Hammant
- Re: BlockContext.getBaseDirectory(); Peter Donald
- Re: BlockContext.getBaseDirectory(); Paul Hammant
- RE: BlockContext.getBaseDirectory(... Stephen McConnell
- Re: BlockContext.getBaseDirect... Paul Hammant
- Re: BlockContext.getBaseDi... Stephen McConnell
- Re: BlockContext.getBaseDi... Paul Hammant
- RE: BlockContext.getBaseDi... Stephen McConnell
- Re: BlockContext.getBaseDirect... Peter Donald
