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.
[010628] Try to Build All on directory with many JSP. Compilation ends with exception in output window. Try it more times if exception doesn't occurs for the first time.
Created attachment 1776 [details] webmodule to test Build All
Created attachment 1777 [details] There is the exceptions.
The exceptions never occur in the first time. Usually in the second time, when you try Build All action. Then the exceptions occures always if you excute Build All. The file, which IDE can't delete, exists on the disk
It looks like the file is still open when the compiler attempts to delete it, because the file can not be deleted even from the OS. Likely to be a Windows-specific problem.
This is caused by the code which constructs JSP debugging information. This code reads the servlet file to construct the information. In one place of the code a reader is opened which reads the file, but is never closed, or even used. This code should have been deleted when the JSP debugging was refactored to use the server integration APIs, but it was somehow omitted in the code. Now this causes that the servlet file is locked, and can not be deleted.
Created attachment 1808 [details] The proposed patch for the problem.
Fixed on 2001/07/12
verified in 010712
Resolved for 3.4.x or earlier, no new info since then -> closing.