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.
SourcePathProvider.getURL() method returns only first found absolute path for given relative path. This behavior is not sufficient in case of web modules with JSP breakpoints. If two JSPs are placed on the same relative path then order in source path cache implies a result of getURL() method. It results in displaying and annotation of a wrong file. One solution is to somehow compare web project's context and context field of the request object/variable.
Looks like this requirement requires some api changes. Do you need fix for nb4.1 or not. We are probably not able to fix it in the current nb4.1 timeframe.
Agreement is to postpone this issue to the next release, thus setting promo-F as target milestone.
I've implemented something for Java breakpoints in the past, so maybe it will be applicable to JSPs as well - now when we have issue #83188 fixed. I'll look at this...
It looks like breakpoints work fine now (this issue is lo longer blocking #54449), do you have some other use-case when this needs to be fixed somehow? Can you please verify that we can close this as wontfix now? Thanks.
Please see issue #54449 for comments on this, we need to do some redesign of sources management, since the current design have usability problems. We'll pay attention to solve the problem with multiple source roots for relative paths in that redesign...
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.