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 252089 - Netbeans doesn't properly clean up the project.properties file when a source package folder is removed
Summary: Netbeans doesn't properly clean up the project.properties file when a source ...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-25 02:02 UTC by netbeansuzr
Modified: 2015-07-23 01:14 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 netbeansuzr 2015-04-25 02:02:08 UTC
Very simple to duplicate issue.

-create a java project
-add a source package folder to the project after it has been created by right clicking on the project and going to properties
-click ok
-you will see about 4-5 netbeans project settings files are modified
-go back in to properties and remove the directory just added
-you will see that there are still 2 files left modidifed, project.properties and genfiles.properties (this one has the CRC32 modified and is likely not the source of the issue).  The problem is that the project.properties is still left modified and it still contains the file.reference that was added in the above steps.

This leads to confusing project files when viewed directly or in diffs in the repository and leads to file bloat.
Comment 1 Tomas Zezula 2015-07-21 13:49:14 UTC
Yes, reproduceable as described.
Comment 2 Tomas Zezula 2015-07-21 17:46:52 UTC
Fixed jet-main d3f0d174cc80
Comment 3 Quality Engineering 2015-07-23 01:14:45 UTC
Integrated into 'main-silver', will be available in build *201507230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d3f0d174cc80
User: Tomas Zezula <tzezula@netbeans.org>
Log: #252089:Netbeans doesn't properly clean up the project.properties file when a source package folder is removed