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.
When deleting a Web Project created with the IDE and selecting to delete the source folder it doesn't deletes it. Steps to reproduce it. Create a project for JBoss 4.2.3 JEE version 5 Click Next then Finish (don't select any library). Let it finish scanning the projects. Delete the project. Select to delete the source folder. Go to the location where you saved your project, you will find the project folder with a folder named setup inside and there a jboss-ds.xml That file contents are as follow <?xml version="1.0" encoding="UTF-8"?> <datasources/>
I think (no 100% sure) that project delete operation deletes only files it knows about. The reason is to avoid deleting some user create files. And so perhaps it is not aware that jboss-ds.xml can be deleted as well.
I tested this on Ubuntu and project was correctly deleted. Must be Windows issue.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss