avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen McConnell" <mcconn...@apache.org>
Subject RE: BlockContext.getBaseDirectory();
Date Mon, 25 Feb 2002 12:37:08 GMT


> -----Original Message-----
> From: Paul Hammant [mailto:Paul_Hammant@yahoo.com]
> Sent: Sunday, 24 February, 2002 23:10
> To: Avalon Developers List
> Subject: Re: BlockContext.getBaseDirectory();
> 
> 
> Peter,
> 
> >>
> >>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!

Steve.

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


Mime
View raw message