Re: test for directory existence

2006-02-16 Thread Stefan Bodewig
On Thu, 16 Feb 2006, Jan Materne <[EMAIL PROTECTED]> wrote: > I tried with -v and -d. I think with -d we could print the skipping Oops, I assumed Ant did without checking the source. +1 Stefan - To unsubscribe, e-mail: [EMAIL

Re: test for directory existence

2006-02-16 Thread Stefan Bodewig
On Thu, 16 Feb 2006, Martin Gainty <[EMAIL PROTECTED]> wrote: > I guess Im confused why doesnt mkdir show 2 success messages instead > of the just the first success message? because the second task doesn't do anything. It does print something like "not creating foo since it already exists" in ve

RE: test for directory existence

2006-02-16 Thread bill/wilandra
there and the create was skipped but I would not want that much info in the standard message. Bill -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Thursday, February 16, 2006 6:23 AM To: Ant Users List Subject: Re: test for directory existence If I understand co

Re: test for directory existence

2006-02-16 Thread Martin Gainty
essentially the 2nd mkdir did not complete? Is this correct ? Diky/Vielen Danke, Martin- - Original Message - From: "Ondřej Světlík" <[EMAIL PROTECTED]> To: "Ant Users List" Sent: Thursday, February 16, 2006 8:31 AM Subject: Re: test for directory existence >>

Re: test for directory existence

2006-02-16 Thread Ondřej Světlík
> 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: > Sent: Thursday, February 16, 2006

Re: test for directory existence

2006-02-16 Thread Martin Gainty
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: Sent: Thursday, February 16, 2006 12:18 AM Subject: Re: test for directory exis

Re: test for directory existence

2006-02-15 Thread Stefan Bodewig
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

Re: test for directory existence

2006-02-15 Thread Martin Gainty
Thanks Rich! M- - Original Message - From: "Rich Wagner" <[EMAIL PROTECTED]> To: "Ant Users List" ; <[EMAIL PROTECTED]> Sent: Wednesday, February 15, 2006 11:14 AM Subject: Re: test for directory existence > These prompt for a (relative or abso

Re: test for directory existence

2006-02-15 Thread Ivan \"Rambius\" Ivanov
Hello, and tasks take care of these details: Here, we are trying to delete a non-existing directory. Of course, deletes nothing but it executes successfully. Next, with the second invokation of we want to create a directory that already exists and creates nothing but it ex

Re: test for directory existence

2006-02-15 Thread Rich Wagner
These prompt for a (relative or absolute) path, and conditionally set a property based on directory existence, and echo a message that reports whether there's a directory at the given path: unless="DIR.present"> Hope this

Re: test for directory existence

2006-02-15 Thread Ninju Bohra
k, Ninju - Original Message From: Martin Gainty <[EMAIL PROTECTED]> To: Ant Users List Sent: Wednesday, February 15, 2006 9:38:45 AM Subject: Re: test for directory existence *Not sure about delete* but I know mkdir will fail if the folder is already in place Thus the reason

Re: test for directory existence

2006-02-15 Thread Martin Gainty
nt: Wednesday, February 15, 2006 10:31 AM Subject: Re: test for directory existence >> Good Morning All- >> >> How do you test for the existence of a folder before del or mkdir >> operation >> Has something to with >

Re: test for directory existence

2006-02-15 Thread Ondřej Světlík
> Good Morning All- > > How do you test for the existence of a folder before del or mkdir > operation > Has something to with > Thanks! > > Martin Gainty > > (mobile) 603-438-5053 > > > > - > To unsubscribe, e-mail: [EMAIL PROTECT