delete dir in Nant - error
am 29.09.2007 00:12:32 von standish22
This is probably the wrong group to post this in, but I'm not sure
where it should go. If you have suggestions as to another group to
post it let me know.
In our Nant build file for our application. I want to first delete 2
folders if they exist. These folders then later get created. If the
folders exist, I do not get errors, but if they do not, the build
fails.
>From a Nant website it said that you wouldn't get an error if the
directory didn't exists, but that does seem to be the case for us.
Is there syntax to say: If exist...delete? I'm new to Nant and just
trying to maintain something someone else wrote and has now left the
company.
Thanks....
Re: delete dir in Nant - error
am 29.09.2007 09:35:32 von Tigger
"Sam" wrote in message
news:1191017552.564883.226370@d55g2000hsg.googlegroups.com.. .
> This is probably the wrong group to post this in, but I'm not sure
> where it should go. If you have suggestions as to another group to
> post it let me know.
>
> In our Nant build file for our application. I want to first delete 2
> folders if they exist. These folders then later get created. If the
> folders exist, I do not get errors, but if they do not, the build
> fails.
>
>
>
>
>>From a Nant website it said that you wouldn't get an error if the
> directory didn't exists, but that does seem to be the case for us.
>
> Is there syntax to say: If exist...delete? I'm new to Nant and just
> trying to maintain something someone else wrote and has now left the
> company.
>
> Thanks....
>
and for files...
Tigger