----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 1:15 AM Subject: problem with delete task
> Hi all, > I'm using ant1.4.1 on and HP-11 server. > The build process is automated on this server. > The following task > <delete dir="${dist-war}/cxbuild" verbose="true"/> > fails giving the following error > Unable to delete directory /dvobs/CX521RCE/build/antscript/cx522/cxbuild > > I'm not sure why this is happening. > Could anybody shed any light on this please??? something is using the directory, perhaps something like your webapp itself, or maybe a console window open in that directory/ There is a failonerror flag to allow the task to survive such events, but you really need to find and fix the problem. oh, wait a minute. Are you using ClearCase? The word 'vob' is a hint there? I have encountered trouble with CC on windows and directory <delete>; trouble a reboot would always make go away. I never fixed the the problem, and am still scared of ccase. Try deleting by hand to see if that works. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>