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 194475 - "Replace in Projects" doesn't find all occurrences
Summary: "Replace in Projects" doesn't find all occurrences
Status: RESOLVED WORKSFORME
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2011-01-19 13:08 UTC by vince_soleil
Modified: 2011-01-31 16:26 UTC (History)
1 user (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 vince_soleil 2011-01-19 13:08:29 UTC
Product Version = NetBeans IDE Dev (Build nbms-and-javadoc-6230-on-101129)
Operating System = Linux version 2.6.35-23-generic running on i386
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03

Defect find in NetBeans 201101040001 and 201101170000 but not 6.9.1

I want to replace a keyword I known all my maven modules have but the "Replace in Project" function found only 5 of 17.

Situation :
I have a maven project that contains 17 modules distributed in 3 level.
a+
   | - b+
   |       | - c
   |       | - d
   |
   | - e+ ...

All modules are loaded as Netbeans project
The parameters are :
- Containing text : 11.1.1
- Replace with : 11.1.2-SNAPSHOT
- file name pattern : pom.xml
- scope : "Open project"

Clue :
- All occurrences found are owned by the same node ( b in my example)
- To find the next occurrences, I must do the replacement and recall the function with the same parameters
Comment 1 Antonin Nebuzelsky 2011-01-26 13:29:07 UTC
Jirko, please evaluate this one. Thanks.
Comment 2 Jiri Rechtacek 2011-01-31 16:01:35 UTC
  Product Version         = NetBeans IDE Dev (Build 110131-d22e2ca7b11e) (#d22e2ca7b11e)
  Operating System        = Linux version 2.6.35-24-generic running on amd64
  Java; VM; Vendor        = 1.6.0_23; Java HotSpot(TM) 64-Bit Server VM 19.0-b09; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_23-b05
  Java Home               = /usr/local/share/java/jdk1.6.0_23/jre
  System Locale; Encoding = en (nb); UTF-8


Hi Vince, I did similar hierarchy of maven projects as described here then invoke Replace in Projects with the same criteria, my result were correct, all occurrences found. Did I missed something? Any other details? Could you reproduce it again on recent NetBeans build? Thanks
Comment 3 vince_soleil 2011-01-31 16:26:07 UTC
I've just download 201101310000.
The bug was reproductible with my configuration.
But since I closed all modules and reopen them, it works well.

Until I can reproduce it, you can close this bug