ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Rees <>
Subject Re: [PATCH] ZipFileSet relative to project dir
Date Sun, 01 Apr 2001 21:00:52 GMT
On 29 Mar 2001 12:24:29 +0200, Stefan Bodewig wrote:

>David Rees <> wrote:
>> Fixes minor problem in ZipFileSet in so that it is relative to
>> project dir - not working dir
>does this have any effect? I mean, is the dir attribute used at all in
>this case?

FileSet.setDir() actually tests the File so it does get accessed (if
not "used").

I came across it because in some rare cases VisualAge will run code in
a non-existent working directory. In these cases the tests will fail
because "." doesn't exist.

However, the real reason I thought it was worth posting was that
directories should always be relative to the build file. Even if
directory is not being used for much (yet?).


View raw message