ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri G. Chtchekine" <dgch...@emory.edu>
Subject DELETE exception
Date Tue, 11 Dec 2001 22:56:38 GMT
 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 file="${build.dir}\${package.root.dcmtools}\BulkLoad.ini"/>
   <delete file="${build.dir}\${package.root.dcmtools}\MainMenu.ini"/>
   <delete file="${build.dir}\${package.root.dcmtools}\ProductDelete.ini"/>
   <delete file="${build.dir}\${package.root.dcmtools}\Reports.ini"/>
 
 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!


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message