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.
Product Version: NetBeans IDE Dev (Build 200706140604) Java: 1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb) Userdir: D:\userdir60 Description: ============ 1. create new j2se project 2. delete it completely with resources Check your disc and see, lib directory of project remained there.
Who created the lib folder and why? Seems that some module created lib folder, the delete project tries to be careful and not delete anything the project hasn't created. The project knows nothing about the lib folder, I will try to find who creates it.
The visualweb creates the lib folder and should be responsible for clean it up (EJBDataSourceManager.OpenProjectListener).
Visual web adds libraries to a web project. Some examples are EJBs, web services, complibs. As I understand it, these should go under $projectdir/lib. Jesse seems to agree in his comment on http://www.netbeans.org/issues/show_bug.cgi?id=107000. However, Po-Ting disagrees. So the first question that needs to be resolved is where these files should go? Who is the right person to figure this out? The other issue is that I don't understand how the OpenProjects API can be used to fix this delete problem. Could someone like tzezula explain how? I would think that the module would need to have a notification that the user wants the project to be Deleted not just Closed.
edwingo: "Visual web adds libraries to a web project." NO, it doesn't. It does add it to every single project out there, even the ones that have nothing related to visualweb. And it does so very aggressively (even if no actual library is there. That's what 107000 is about. re: deletion of project. that cannot be handled by the project open listener. You need o get in ouch with the web project maintainer and make sure he includes the lib directory to the list of project's source folders. That way delete, rename, move starts working correctly.
mkleint: I believe there are two problems related to deletion here. One has to do with creating an empty "lib" directory which is http://www.netbeans.org/issues/show_bug.cgi?id=107000. The other is how to delete projects that actually contain contents within the lib directory http://www.netbeans.org/issues/show_bug.cgi?id=107029. This bug looks like a dup of the first one and I will mark it as such. *** This issue has been marked as a duplicate of 107000 ***