ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: small PATCH: ant -find with build.xml in CWD
Date Wed, 18 Jul 2001 06:52:28 GMT
On Tue, 17 Jul 2001, <> 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.


View raw message