We use Crucible/FishEye for code reviews and in Firefox there is an Eclipse-icon above the content-view of a source file. If I click it that source file is opened in Eclipse.
Crucible/FishEye doesn’t show that icon in Opera. I tried to hack it into Opera just see if it works. However, it doesn’t even show the icon:
<img src="http://localhost:51235/icon">
netstat shows that Eclipse listens on that port and other colleagues are also able to use that extended functionality in Firefox through port 51235, so the port seems to be a predefined port in Eclipse.
Does anyone know how to make that work or what Eclipse checks here?- Does anyone know what’s possible through port 51235?
EDIT: I put all findings in my answer
That port seems to be part of the Atlassian-connector in Eclipse. They wrote the source and a test class for their connector.
Here’s a brief list of possible URLs:
Icon:
http://localhost:51235/iconOpen an issue:
http://localhost:51235/issue?issue_key=PL-31&server_url=https://studio.atlassian.com/&id=Open a build:
http://localhost:51235/build?build_key=ECL-COM&build_number=1118&server_url=https://gdansk.bamboo2.atlassian.com&id=Open a file:
http://localhost:51235/file?file=plugin.xml&id=http://localhost:51235/file?file=org.eclipse.mylyn.discovery.core/plugin.xml&id=http://localhost:51235/file?file=CompletionActionStates.java&path=src/org/dubik/codecompletionlive/completions&line=10&id=http://localhost:51235/file?file=Test.java&path=src/main/java/com/atlassian/connector&line=10&vcs_root=https://studio.atlassian.com/svn/PL/trunk/atlassian-intellij-connector/&id=Open a review
file and versioned comment defined:
http://localhost:51235/review?review_key=CR-PL-66&server_url=https://svn.atlassian.com/atlaseye&file_path=src/main/java/com/atlassian/theplugin/util/CodeNavigationUtil.java&comment_id=CMT:9831&id=file defined:
http://localhost:51235/review?review_key=CR-PL-66&server_url=https://svn.atlassian.com/atlaseye&file_path=src/main/java/com/atlassian/theplugin/util/CodeNavigationUtil.java&id=general comment defined:
http://localhost:51235/review?review_key=CR-PL-66&server_url=https://svn.atlassian.com/atlaseye&comment_id=CMT:9899&id=Note:
idis always filled withMath.floor(Math.random()*1000), i.e. a random number between 0 and 999