Why should? <mkdir> is responsible that the dir is present after its run. The 
first has to create it - so it sais that. The second not. Why printing? 

I tried with -v and -d. I think with -d we could print the skipping ...

>-----Ursprüngliche Nachricht-----
>Von: Martin Gainty [mailto:[EMAIL PROTECTED] 
>Gesendet: Donnerstag, 16. Februar 2006 14:24
>An: Ant Users List
>Betreff: Re: test for directory existence
>
>Stefan-
>I guess Im confused
>why doesnt mkdir show 2 success messages instead of the just 
>the first success message?
>Martin-
>----- Original Message -----
>From: "Stefan Bodewig" <[EMAIL PROTECTED]>
>To: <user@ant.apache.org>
>Sent: Thursday, February 16, 2006 12:18 AM
>Subject: Re: test for directory existence
>
>
>> On Wed, 15 Feb 2006, Martin Gainty <[EMAIL PROTECTED]> wrote:
>> 
>>> *Not sure about delete*
>> 
>> it will fail if you tell it to delete something that isn't there -
>> unless you set the quite attribute to true in which case it will
>> simply do nothing.
>> 
>>> but I know mkdir will fail if the folder is already in place
>> 
>> No it won't.
>> 
>> ,----
>> | <project>
>> |   <mkdir dir="foo"/>
>> |   <mkdir dir="foo"/>
>> | </project>
>> `----
>> 
>> leads to
>> 
>> ,----
>> |     [mkdir] Created dir: /tmp/foo
>> | 
>> | BUILD SUCCESSFUL
>> | Total time: 1 second
>> `----
>> 
>> The task doesn't even issue a warning message.
>> 
>> Stefan
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to