Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 35930 invoked from network); 11 Dec 2001 23:36:27 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 11 Dec 2001 23:36:27 -0000 Received: (qmail 1746 invoked by uid 97); 11 Dec 2001 23:36:26 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 1723 invoked by uid 97); 11 Dec 2001 23:36:26 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 1712 invoked from network); 11 Dec 2001 23:36:25 -0000 Message-Id: <200112112336.fBBNaMO24949@mail016.syd.optusnet.com.au> Content-Type: text/plain; charset="utf-8" From: Peter Donald To: "Ant Users List" Subject: Re: DELETE exception Date: Wed, 12 Dec 2001 10:03:07 +1100 X-Mailer: KMail [version 1.3.2] References: In-Reply-To: X-Wisdom-Cookie: . MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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 ant failes. > All files have same permissions. > Here is the code: > > > > > > > Here is output: > > [delete] Deleting: > C:\java\buildclasses\dcmtools\Certifier.ini > [delete] Deleting: > C:\java\buildclasses\dcmtools\BulkLoad.ini > [delete] Deleting: > C:\java\buildclasses\dcmtools\MainMenu.ini > [delete] Deleting: > C:\java\buildclasses\dcmtools\ProductDelete.ini > > BUILD FAILED > > d:\ant\buildpii.xml:726: Unable to delete file > C:\java\buildclasses\dcmtools\ProductDelete.ini > at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:267) > at org.apache.tools.ant.Task.perform(Task.java:217) > at org.apache.tools.ant.Target.execute(Target.java:164) > at org.apache.tools.ant.Target.performTasks(Target.java:182) > at org.apache.tools.ant.Project.executeTarget(Project.java:601) > at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:256) > at > org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:120) > at org.apache.tools.ant.Task.perform(Task.java:217) > at org.apache.tools.ant.Target.execute(Target.java:164) > at org.apache.tools.ant.Target.performTasks(Target.java:182) > at org.apache.tools.ant.Project.executeTarget(Project.java:601) > at org.apache.tools.ant.Project.executeTargets(Project.java:560) > at org.apache.tools.ant.Main.runBuild(Main.java:454) > at org.apache.tools.ant.Main.start(Main.java:153) > at org.apache.tools.ant.Main.main(Main.java:176) > > > TIA! -- Cheers, Pete ----------------------------------------------------------- "Remember, your body is a temple; however, it's also your dancehall and bowling alley" -- Dharma Montgomery ----------------------------------------------------------- -- To unsubscribe, e-mail: For additional commands, e-mail: