ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Trcek <Stefan_Trc...@abas.de>
Subject Re: How to detect the existence of a directory?
Date Mon, 20 Nov 2000 10:00:45 GMT
On Thu, 16 Nov 2000 12:36:40 +1100, "Conor MacNeill"
<conor@ebinteractive.com.au> wrote:

> Just use the <mkdir> task. If the directory already exists, mkdir does
> nothing.

Yes, but there is a bug, at least on NT (ant 1.2):
If a file of the same name exists there will be no error message but
warning only and the build will be successfull. In this case the build
should fail.
-- 
Stefan Trcek


Mime
View raw message