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 180335 - ProjectTree hints & EditorHints are out of sync with build results
Summary: ProjectTree hints & EditorHints are out of sync with build results
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2010-02-05 06:36 UTC by houtm035
Modified: 2016-07-07 07:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:

2 gif images and the 4 project directories (149.02 KB, application/zip)
2010-02-05 06:39 UTC, houtm035

Note You need to log in before you can comment on or make changes to this bug.
Description houtm035 2010-02-05 06:36:19 UTC
I'm having two nb-projects and two freeform ant projects open
1- nb_jtools
2- nb_jhmi, which uses jtools-project as library dependency
both projects have 'compile on save' enabled
3- Jhmi   (ant file)
4- Jtools (ant file)

Now both nb_jtools and nb_jhmi compile/build fine,
but the hints were out of sync.

This interferes when i want to run/debug saying
 'one or more projects were compiled with errors'

I've tried 
* opening/closing both projects and recompiling 
* 'scan for external changes' 
* clean-build, removing the 'compile on save' flags for both projects etc.
* en/disabling 'Build Jar after compiling' for the jtools project.

Removing the .netbeans/6.8/var/index directory
Only made things worse for the 'nb_jhmi' project .. 
exclamation marks for all packages from the 'nb_jtools' project
But still compile/build worked fine

Even unit-tests within the same 'netbeans_jtools' project didn't recognize
the root-package name 'fasttools'?!

The only thing i could think of then, was removing(closing and actually deleting using the tree) the two other 'freeform ant projects' which didn't have any source or test paths listed. 

These two ant scripts resided upward in the netbeans project directory like for jtools (same for jhmi):
ant    : contents&build  : D:\VSS\33I080002_WebHMI_P2\dis\jtools
nb-proj: src package fldr: D:\VSS\33I080002_WebHMI_P2\dis\jtools\src

After restarting & building, the hints were back in sync.
I believe there is a bug or feature somewhere.
I hope this is enough to work with. 

Kind regards,
Comment 1 houtm035 2010-02-05 06:39:21 UTC
Created attachment 93910 [details]
2 gif images and the 4 project directories
Comment 2 Martin Balin 2016-07-07 07:17:11 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss