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.

Bug 214722 - Too many times the 'Clean and build' fail.
Summary: Too many times the 'Clean and build' fail.
Status: RESOLVED INCOMPLETE
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.1.2
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-25 14:59 UTC by ami
Modified: 2012-08-01 22:33 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ami 2012-06-25 14:59:29 UTC
Product Version = NetBeans IDE 7.1.2 (Build 201204101705)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_23
Runtime = Java HotSpot(TM) Client VM 19.0-b09

Linux and Windows
Too many times the 'Clean and build' fail with message example:
Unable to delete file C:\code_sw\jtools\trunk\libs\jtools.globals\dist\jtools.globals.jar then
in the next try it complain about other file, after enough tries it's succeed.
Comment 1 Jan Lahoda 2012-06-25 15:54:34 UTC
Hm, I don't think I have ever seen this on Linux native filesystems. Sounds like someone is keeping the jar(s) open and so it cannot be deleted (on Windows). If you could investigate who is keeping the file open, that would be awesome. I am not a Windows expert, but found this on the topic:
http://serverfault.com/questions/1966/how-do-you-find-what-process-is-holding-a-file-open-in-windows

(Linux filesystems don't normally have this problem, as a file opened by one process can be deleted by another one.)

Thanks.
Comment 2 ami 2012-08-01 22:33:35 UTC
This problem is really annoying,
it is happened almost any time (Only on Windows).
Is it was fixed in 7.2?