ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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, <cmanolache@yahoo.com> 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.

Stefan

Mime
View raw message