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 122213

Summary: [60cat] Provide user feedback on which jar file internally associated with a given specified source file within a user-specified library
Product: java Reporter: wobster <wobster>
Component: NavigationAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 121130    

Description wobster 2007-11-17 17:07:57 UTC
Looking at my previous bug# 121130, you'll see that it can be confusing to the user as to why source code is not showing
up for given file when traversing the dependencies in the editor. One source of the confusion is that NetBeans may not
be associating the source with the jar file specified in the library if the source comes from another NetBeans project.
I'd like to see more detailed user-feedback when the source is specified that alerts the user that the source specified
will not be associated with the given jar or that it will be associated with another jar in the classpath. I would also
like the classpath displayed somehow and along with the list of sources associated with that classpath displayed so that
it easy to see why the editor is not finding the source or that you're using a jar file grabbed from embedded NetBeans
project and not the one specified in the library. 

I also think that any other module, like the debugger, should use the equivalent logic for finding source files to limit
confusion to the user. (The editor and the debugger use two different algorithms for finding source files currently.)
Comment 1 wobster 2009-12-01 19:45:07 UTC
Has this been addressed at all in 6.8?