Saturday January 07, 2006
AppFuse and Equinox get some FishEye lovin' In addition to many other java.net projects, the Cenqua guys have been kind enough to add FishEye to both AppFuse and Equinox's CVS repositories. You can now view FishEye goodies using the URLs below:
Later today, I'll see if I can hack java.net's browse CVS page to show FishEye instead of java.net. Thanks Cenqua!
Update: The hack is complete. IE gives a security warning b/c FishEye is only available at http (not https), but it works fine in Firefox. If you'd like to put FishEye into an embedded iframe in your java.net project, here's the JavaScript I used to do it. View source on any of AppFuse's java.net pages for more information. The JavaScript goes in your www/project_tools.html page.
function fisheye() {
if (document.getElementById("browsesource") != null) {
var fisheyeDiv = document.createElement("div");
fisheyeDiv.className="app";
var header = document.createElement("div");
header.className="h2";
header.innerHTML = "<h2>Browse source code with FishEye</h2>";
fisheyeDiv.appendChild(header);
var fisheye = document.createElement("iframe");
fisheye.setAttribute("src", "http://fisheye5.cenqua.com/viewrep/appfuse");
fisheye.setAttribute("border", "0");
fisheye.style.width="99%";
fisheye.style.height="700px";
fisheye.style.border="0";
fisheye.style.marginTop="10px";
fisheye.style.marginLeft="5px";
fisheyeDiv.appendChild(fisheye);
document.getElementById("dirlist").insertBefore(fisheyeDiv, document.getElementById("browsesource"));
}
}
Related: Fixing your java.net project's homepage. Posted in Java at Jan 07 2006, 09:28:06 AM MST Add a Comment
Search This Site
Recent Entries
- What's Next
- Jack's Mohawk
- LinkedIn Cuts 10% (a.k.a. The Journey is Over)
- Happy Birthday Abbie!
- Moving from Spring's XML to Annotations in AppFuse
- Free Maven Training in New Orleans on Election Day
- AppFuse Light ยป AppFuse, Maven Archetypes and Shared Web Assets
- Great Weekend in Montana
- Colorado Software Summit 2008 Wrapup
- RESTful Web Applications with Subbu Allamaraju