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.
Currently console output from a job only links to the remote workspace. Would prefer to link to a local copy of sources whenever feasible. For example, http://test.geomatys.fr/hudson/job/GeoAPI/ws/trunk/.svn/entries lists: https://geoapi.svn.sourceforge.net/svnroot/geoapi/trunk [URL of this checkout] https://geoapi.svn.sourceforge.net/svnroot/geoapi [URL of server root] whereas ${projdir}/.svn/entries (found via ProjectHudsonProvider?) might list: https://geoapi.svn.sourceforge.net/svnroot/geoapi/trunk/geoapi [what is checked out here] https://geoapi.svn.sourceforge.net/svnroot/geoapi [URL of server root] Assuming the server root URLs are the same (modulo protocol & minor hostname differences), you can infer that http://test.geomatys.fr/hudson/job/GeoAPI/ws/geoapi corresponds to ${projdir}. Probably a bit easier for Hg since you just need to find the .hg root. Two repos can be considered similar in case .hg/store/00changelog.i are identical up to the first 1Kb or so. Now if the file contents are identical (modulo CRLF), you can just open the local one. If they are different but similar, you can perhaps open the local after adjusting line number.
cdev #141e0c8c21ce should do it for SVN. (Hg support in issue #158034 etc.) For now, always opening the local file if it can be located, without any attempt to check for version skew.
Integrated into 'main-golden', will be available in build *200903170201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/141e0c8c21ce User: Jesse Glick <jglick@netbeans.org> Log: #156723: making an attempt to hyperlink to a local project when this can be aligned with the remote workspace. Also refactoring ProjectHudsonProvider to be a global service, which is more flexible.