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 159829

Summary: Correct for version skew in line numbers
Product: connecteddeveloper Reporter: Jesse Glick <jglick>
Component: HudsonAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jesse Glick 2009-03-06 21:43:57 UTC
If you have a project checked out and you follow a hyperlink mentioned in the build log or tests which can be resolved
to the local file, the IDE will just jump to whatever line number was in effect on the server. But your local file might
have been modified since then (or vice versa); if lines have been inserted or deleted, the line numbers will not match up.

The IDE ought to try to correct for this. If possible, retrieve the remote file from the workspace, look up the line in
question and its context, and try to find a similar block in the local file, starting from around the same line. If the
line number is adjusted, or if no correspondence can be found at all, should warn the user.