ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Ant and FileSystem
Date Fri, 14 Sep 2001 06:13:40 GMT
On Tue, 11 Sep 2001, Alejandro Abdelnur <alejandro.abdelnur@sun.com>
wrote:

> based on your description on how things work, shouldn't the
> Ant.setAntfile(String) method be changed to Ant.setAntfile(File) ?

No, because this would resolve antfile relative to the current
project's basedir instead of relative to the value of the dir
attribute (which it must do for backwards compatibility, if not for a
better reason).

I've applied a patch that should make <ant> treat DOS "absolute" paths
that don't start with a drive letter for the antfile attribute the
same way other paths are handeled in Ant.

Stefan

Mime
View raw message