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 241780 - Project properties not saved on disk
Summary: Project properties not saved on disk
Status: RESOLVED DUPLICATE of bug 241414
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 8.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 240371 241414
  Show dependency tree
 
Reported: 2014-02-12 16:12 UTC by Svata Dedic
Modified: 2014-02-13 13:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Diagnostics from the testing (83.37 KB, text/plain)
2014-02-12 16:15 UTC, Svata Dedic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2014-02-12 16:12:01 UTC
Please see defect #240371.
I've debugged a little with some additional logs on System.err (see attachment). It seems that the library reference propeties were removed through helper.putProperties() and both the resource and project are marked as modified, but for some reason, the disk file still contained old data even long (minutes) after I removed the files from the explorer.

After I made an unrelated change later (i.e. turn on deprecation for compiler) that also affects properties, the project.properties received correct content including library removal.
Comment 1 Svata Dedic 2014-02-12 16:15:35 UTC
Created attachment 145100 [details]
Diagnostics from the testing

The log file was captured from 2 actions (see original scenario for issue #240371 in comment 8)
1/ add libraries to the project. After that, the disk file correctly received the added library references
2/ removed libraries from the project. Disk file was not changed. See the part of log file after === mark.
Comment 2 Milos Kleint 2014-02-13 13:42:40 UTC

*** This bug has been marked as a duplicate of bug 241414 ***