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 - Correct for version skew in line numbers
Summary: Correct for version skew in line numbers
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 21:43 UTC by Jesse Glick
Modified: 2012-06-14 16:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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