This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I am using an ant buildscript... -> to generate same directories -> and fill these directories with some code (CVS) After generating these directories, it is not possible to delete these directories with my buildscript OR by hand. When I try to to delete the directories by hand, I get following exception: Wed Feb 27 16:19:56 CET 2002: org.openide.filesystems.FSException: Cannot delete file bin/binary/AvalonLib/avalon-jmx.jar in D:\home\holger\tempCompile. org.openide.filesystems.FSException: Cannot delete file bin/binary/AvalonLib/avalon-jmx.jar in D:\home\holger\tempCompile. at org.openide.filesystems.FSException.io(FSException.java:78) at org.openide.filesystems.LocalFileSystem.delete (LocalFileSystem.java:321) at org.netbeans.core.ExLocalFileSystem.delete(ExLocalFileSystem.java:75) at org.openide.filesystems.LocalFileSystem$Impl.delete (LocalFileSystem.java:659) at org.openide.filesystems.AbstractFileObject.delete (AbstractFileObject.java:480) at org.openide.loaders.FileEntry.delete(FileEntry.java:100) at org.openide.loaders.MultiDataObject.handleDelete (MultiDataObject.java:410) at org.openide.loaders.DataObject$2.run(DataObject.java:524) at org.openide.filesystems.EventControl.runAtomicAction (EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:388) at org.openide.loaders.DataObject.delete(DataObject.java:522) at org.openide.loaders.DataNode.destroy(DataNode.java:219) at org.openide.nodes.FilterNode.destroy(FilterNode.java:399) at org.openide.explorer.ExplorerActions$DeleteActionPerformer$DestroyAtomic.invoke (ExplorerActions.java:527) at $Proxy4.run(Unknown Source) at org.openide.filesystems.EventControl.runAtomicAction (EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:388) at org.openide.explorer.ExplorerActions$DestroyInvoker.run (ExplorerActions.java:568) at org.openide.explorer.ExplorerActions$DeleteActionPerformer.doDestroy (ExplorerActions.java:494) at org.openide.explorer.ExplorerActions$DeleteActionPerformer.performAction (ExplorerActions.java:463) at org.openide.util.actions.CallbackSystemAction.performAction (CallbackSystemAction.java:109) at org.openide.util.actions.CallableSystemAction.actionPerformed (CallableSystemAction.java:69) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:105) at org.openide.util.Task.run(Task.java:152) [catch] at org.openide.util.RequestProcessor$ProcessorThread.run (RequestProcessor.java:622) IMPORTANT: After restarting netbeans 3.3.1, it is possible to delete the directories (no problem at all). I would like to avoid a situation, that I have to restart netbeans everytime, a directory has to be removed. Any idea?
it seems that the jar file is being locked by another process. However, it is not caused by the filecopy module.
Radek, can you please invastigate? Thanks.
Probably duplicate of #20743. *** This issue has been marked as a duplicate of 20743 ***
Resolved for 3.4.x or earlier, no new info since then -> verified
Resolved for 3.4.x or earlier, no new info since then -> closing.