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 177993 - Project deletion - not all files deleted
Summary: Project deletion - not all files deleted
Status: VERIFIED FIXED
Alias: None
Product: javacard
Classification: Unclassified
Component: Java Card (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P3 normal (vote)
Assignee: _ tboudreau
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 07:57 UTC by dkuzmin
Modified: 2009-12-07 05:23 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 dkuzmin 2009-12-02 07:57:33 UTC
Right click on project and select "delete" item. Program shows confirmation dialog with option "Also delete sources under <name> folder". Confirm deletion.

For classic and extended applet projects APDU scripts are not deleted. For web project files in "web pages" group are not deleted.

Build used is #52.
Comment 1 _ tboudreau 2009-12-03 15:50:31 UTC
This is handed off to the project api using:
DefaultProjectOperations.performDefaultDeleteOperation(project);

May be an issue w/ the fact that we're not using a SourceGroup for HTML files - needs further investigation.
Comment 2 _ tboudreau 2009-12-04 11:15:04 UTC
Applied hotfix which simulates behavior of default project delete:
 - If deleting scripts/html dir leaves the directory empty, delete it
 - If not, then there are files not created by the IDE in the directory - do not delete them, this could delete user-data - up to the user to delete files not created by the IDE

Fixed in main/ 696667e7501f
Comment 3 Quality Engineering 2009-12-05 03:53:46 UTC
Integrated into 'main-golden', will be available in build *200912050227* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/696667e7501f
User: tboudreau@netbeans.org
Log: #177993 - hotfix - scripts/html dirs not deleted during project deletion