ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: uptodate question
Date Thu, 12 Dec 2002 16:14:58 GMT
On Thu, 12 Dec 2002, Dominique Devienne <DDevienne@lgc.com> wrote:

>  The mapper is fed a relative path to the fileset's
> 'dir' (which is indeed ${basedir} in this case ;-), and turns it
> into an absolute one? This would fail with code like new File(dir,
> mapper.map(relativePath))... So the result of the mapper is first
> checked to see if it's absolute, and if not prepended with 'dir'???

Well, SourceFileScanner does a FileUtils.resolveFile() on whatever
mapper returns - this is guaranteed to return an absolute path and
deas with absolute paths as input quite well.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message