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 167213

Summary: Introducing an error in the library do not add badges on the files
Product: java Reporter: Petr Dvorak <joshis>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121950    
Attachments: Sample projects

Description Petr Dvorak 2009-06-17 10:50:45 UTC
Product Version: NetBeans IDE 6.7 RC3 (Build 200906142201)
Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02
System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)

1. Open projects from attached zip
2. Open files libClass.java (from the *Lib project) and main.java (from the *App project) in the NB IDE
3. Introduce error in the libClass (change "return2" to "ret urn2", for example) and save the file
4. Move focus to the main.java file
-> you can see an error in the editor but the badges are not refreshed in Projects view
-> switching from main<->libClass once more or doing some minor change helps

5. Remove the error in the libClass and switch to main
-> error badges are correctly updated

Is is possible to update badges for a project once we know that some library used in the project has updated sources (in
IDE/externally)? This issue is visible when working with VCS's and fetching some library for a project...
Comment 1 Petr Dvorak 2009-06-17 10:51:15 UTC
Created attachment 83681 [details]
Sample projects
Comment 2 Petr Dvorak 2009-06-17 10:54:23 UTC
Badges are not refreshed even after the "clean and build" - introduce error in the Lib (no badges in the App are shown)
and build App -> still no badges shown...
Comment 3 Dusan Balek 2009-08-14 18:07:27 UTC
Already fixed in the current dev build. Just make sure that 'Tools->Options->Editor->Tasklist->Dependencis in Java
Tasklist' is set to 'Enabled'.