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 231828 - a clean build should really do a complete clean
Summary: a clean build should really do a complete clean
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 7.3
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Martin Kozeny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-26 10:38 UTC by Milos Kleint
Modified: 2013-07-01 16:00 UTC (History)
3 users (show)

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 Milos Kleint 2013-06-26 10:38:58 UTC
I repeatedly get into situations when a clean build fails because some information was not cleaned.

specifically I often have to remove the cache file at 

--- build output--
build-init:
Loading module list from /var/folders/46/zjq4yb7j4ml8gr6bkkfl94gm0000gn/T/nb-scan-cache-205db3e1-standard.ser
--- build output--


I would expect that a clean build would remove this file, so that the subsequent build of the entire IDE has to recreate the file. That's not the case currently or the new serialized file is based on some old information.
Comment 1 Martin Kozeny 2013-06-28 12:02:50 UTC
https://hg.netbeans.org/core-main/rev/3f6b88250003
Comment 2 Milos Kleint 2013-06-28 12:07:27 UTC
are you sure -standard + -full are the only possibilites? it looks like values used for cluster.config property and there many more possible values (I haven't checked, just wondering)
Comment 3 Martin Kozeny 2013-06-28 12:19:21 UTC
Yes, that are the only one possibilities. See ModuleListParser line 161.
Comment 4 Quality Engineering 2013-07-01 16:00:14 UTC
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3f6b88250003
User: Martin Kozeny <mkozeny@netbeans.org>
Log: #231828:  A clean build now cleans scan cache files.