Closed GoogleCodeExporter closed 9 years ago
Well, I experienced the same issue. I looked at the code and the main issue is
that
the EditorInput works with Path (resp IPath) that is used for path names of
files and
not for urls. According to the JavaDoc of org.eclipse.core.runtime.Path "The
string
path must represent a valid file system path on the local file system. The path
is
canonicalized and double slashes are removed except at the beginning. (to
handle UNC
paths)."
The best would be not using Path for urls, but that would be a big change. So, I
added a simple fix that replaces any ":/" with "://" in the url before letting
the
browser load it. Well, it's a quick hack, but it seems to work reliably.
--> see attachment: SVN diff patch for HudsonBrowser.java
Original comment by flytol...@gmail.com
on 30 Oct 2008 at 4:16
Attachments:
Patch applied, thanks
Original comment by jre...@gmail.com
on 7 Apr 2009 at 4:18
Original issue reported on code.google.com by
pat.pode...@gmail.com
on 4 Jul 2008 at 3:48