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 214757 - Update maven to use IndexingStatus.protectedMode(boolean)
Summary: Update maven to use IndexingStatus.protectedMode(boolean)
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.2
Hardware: All All
: P1 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks: 214289
  Show dependency tree
 
Reported: 2012-06-26 07:55 UTC by Tomas Zezula
Modified: 2012-06-28 12:08 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 Tomas Zezula 2012-06-26 07:55:04 UTC
Update maven to use IndexingStatus.protectedMode(boolean) to prevent running non up to date CoS files.
Comment 1 Milos Kleint 2012-06-26 14:19:48 UTC
https://hg.netbeans.org/core-main/rev/0226f3a04293
Comment 2 Quality Engineering 2012-06-27 05:01:42 UTC
Integrated into 'main-golden', will be available in build *201206270002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0226f3a04293
User: Milos Kleint <mkleint@netbeans.org>
Log: #214757 wait for scan to finish on initial entering of protected mode
Comment 3 Tomas Danek 2012-06-27 09:35:41 UTC
works fine and did not notice any regression. (filed issue 214855 to keep consistency with Ant projects)

Product Version: NetBeans IDE Dev (Build 201206270002)
Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b05
System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
Comment 4 Milos Kleint 2012-06-27 09:46:40 UTC
there is one possible problem appearing that was not there before. See issue 214648 that was probably  rare before but could start happening now more frequently.

When there's some indexing going on, creating new projects will probably hang until scanning is finished.
Comment 5 Milos Kleint 2012-06-27 13:43:15 UTC
(In reply to comment #4)
> there is one possible problem appearing that was not there before. See issue
> 214648 that was probably  rare before but could start happening now more
> frequently.
> 
> When there's some indexing going on, creating new projects will probably hang
> until scanning is finished.

tested by me and musilt2 and we cannot confirm the theory. Creating projects is possible without delays.
Comment 6 Milos Kleint 2012-06-27 17:36:46 UTC
http://hg.netbeans.org/releases/rev/5ee587695ad3
Comment 7 Quality Engineering 2012-06-28 05:07:40 UTC
Integrated into 'releases', will be available in build *201206272359* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/5ee587695ad3
User: Milos Kleint <mkleint@netbeans.org>
Log: #214757 wait for scan to finish on initial entering of protected mode
Comment 8 Tomas Danek 2012-06-28 12:08:57 UTC
verified 

Product Version: NetBeans IDE 7.2 RC1 (Build 201206272359)
Java: 1.7.0_06-ea; Java HotSpot(TM) 64-Bit Server VM 23.2-b05
System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.2rc1
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.2rc1