avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: NPE at FileTarget...
Date Fri, 03 Aug 2001 09:26:04 GMT
On Fri,  3 Aug 2001 18:43, Eung-ju Park wrote:
> > getCanoncialFile().getParent() may work. Theres certain idiosyncracies on
> > certain filesystems etc.
>
> yeh. new FileTarget( new File( "datasources.log" ) ).getCanonicalFile(),
> false, formatter )
> works on previous FileTarget.
> How about use getFile().getCanonicalFile().getParent() instead of
> getFile().getParentFile() at FileTarget.openFile?

done.

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*

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


Mime
View raw message