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 187953 - Deleting a web project doesn't delete the project folder
Summary: Deleting a web project doesn't delete the project folder
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 15:10 UTC by fenris_uy
Modified: 2016-07-07 08:55 UTC (History)
0 users

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 fenris_uy 2010-06-22 15:10:03 UTC
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/>
Comment 1 David Konecny 2010-06-22 21:16:24 UTC
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.
Comment 2 David Konecny 2010-11-09 00:47:24 UTC
I tested this on Ubuntu and project was correctly deleted. Must be Windows issue.
Comment 3 Martin Balin 2016-07-07 08:55:06 UTC
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