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
- Secure JSON Services with Play Scala and SecureSocial
- My What's New in Spring 3.1 Presentation
- Twitter's Open Source Summit: Bootstrap 2.0 Edition
- Refreshing AppFuse's UI with Twitter Bootstrap
- 2011 - A Year in Review
- Upgrading AppFuse to Spring Security 3.1 and Spring 3.1
- What have I been working on at Taleo?
- Our Engaging Trip to Paris and Antwerp
- My HTML5 with Play Scala, CoffeeScript and Jade Presentation from Devoxx 2011
- Deploying Java and Play Framework Apps to the Cloud with James Ward