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 - Introducing an error in the library do not add badges on the files
Summary: Introducing an error in the library do not add badges on the files
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords:
Depends on:
Blocks: 121950
  Show dependency tree
 
Reported: 2009-06-17 10:50 UTC by Petr Dvorak
Modified: 2009-08-14 18:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample projects (22.66 KB, application/x-compressed)
2009-06-17 10:51 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
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'.