RE: DELETE exception

2001-12-12 Thread Greg Gent
: Dmitri G. Chtchekine [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 5:57 PM To: Ant Users List Subject: DELETE exception I get exception trying to delete some files (OS is Windows NT). Strangely some files get deleted, and on some ant failes. All files have same

Re: DELETE exception

2001-12-12 Thread Dmitri G. Chtchekine
It's not Windows' locking. (I have seen Windows locking when I had Explorer open and tried to delete some directories) What I found is that DELETE fails b/c it's proceded by a PropertyFile task AND a Copy task. Here is the code: copy todir=${build.dir}\${package.root.dcmtools} fileset

Re: Re: DELETE exception

2001-12-12 Thread Magesh Umasankar
On Thu, 13 Dec 2001 Dmitri G. Chtchekine wrote : It's not Windows' locking. (I have seen Windows locking when I had Explorer open and tried to delete some directories) It is the propertyfile task that is guilty here. We have identified and fixed it against the main CVS trunk.

DELETE exception

2001-12-11 Thread Dmitri G. Chtchekine
I get exception trying to delete some files (OS is Windows NT). Strangely some files get deleted, and on some ant failes. All files have same permissions. Here is the code: delete file=${build.dir}\${package.root.dcmtools}\Certifier.ini/ delete

Re: DELETE exception

2001-12-11 Thread Peter Donald
It is likely that windows is locking the file because you have it open in an editor or some other application has it opened. On Wed, 12 Dec 2001 09:56, Dmitri G. Chtchekine wrote: I get exception trying to delete some files (OS is Windows NT). Strangely some files get deleted, and on some

Re: DELETE exception

2001-12-11 Thread Magesh Umasankar
From: Dmitri G. Chtchekine [EMAIL PROTECTED] I get exception trying to delete some files (OS is Windows NT). Windows doesn't let a program delete any file that is locked by the OS at the time of attempting to delete. Such is not the case in Unix. So this problem will usually occur in Windows

Re: DELETE exception

2001-12-11 Thread Scott Ellsworth
At 6:42 PM -0500 12/11/01, Magesh Umasankar wrote: From: Dmitri G. Chtchekine [EMAIL PROTECTED] I get exception trying to delete some files (OS is Windows NT). Windows doesn't let a program delete any file that is locked by the OS at the time of attempting to delete. Such is not the case in

RE: DELETE exception

2001-12-11 Thread Conor MacNeill
Usually this means another process has a lock on the file. Check for programs, even editors, that have accessed this file. Conor -Original Message- From: Dmitri G. Chtchekine [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 12 December 2001 9:57 AM To: Ant Users List Subject: DELETE