On Wed, 18 Jul 2001 17:21, [EMAIL PROTECTED] wrote:
> On 18 Jul 2001, Stefan Bodewig wrote:
> > On Tue, 17 Jul 2001, <[EMAIL PROTECTED]> wrote:
> > > If "ant -find build.xml" is used and build.xml is in the current
> > > dir, the returned file will be "/foo/bar/./build.xml", and that
> > > might brake a number of <property location="..." /> and other
> > > relative paths.
> >
> > What you see is a symptom of removing the getCanonicalPath invocations
> > everywhere - getCanonicalPath would strip out the /. while
> > getAbsolutePath doesn't.  I think we need a different fix (in
> > Project.resolveFile) to account for that completely.
>
> What was the reason for removing getCanonicalPath() ( or a pointer to
> the thread or period when this was discussed ) ? We're using
> getCanonicalPath() in tomcat - is there anything we should know about it ?
> ( besides bad performance in certain cases )

Essentially there was two errors it caused. It was inducing a lot of 
unexpected behaviour regarding unix softlinks. It also was breaking a 
particular OS (IBMs OS490 ?? or something???).


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               |
*-----------------------------------------------------*

Reply via email to