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.
>
Not quite sure what you are talking about here. Trying to modify it
gives the following at compile time:
"cannot assign a value to final variable APP_HOME_DIR"
Are you trying to say that ....
Object o = get("dsjhsfhlhjdsflkahjdsf");
could happen? If yes, then how is the exception unpalatable?
- Paul
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>