Loading Twitter updates
Follow me on Twitter
20050729 Friday July 29, 2005

Fixing your java.net project's homepage If you're hosting your open source project at java.net, you might be annoyed by the fact that you can't disable the forums or issue tracker. The forums pretty much suck, mainly because there's no "remember me" on the site and it's a pain to click 3 times just to answer someone's question. They also don't have the ability to quote a previous message. In addition to the less-than-adequate forums, the issue tracker doesn't hold a candle to JIRA.

For the longest time, I've been wanting to remove both the "Discussion forums" and "Project issues" links from the AppFuse homepage. I asked the java.net folks, and they didn't have a solution. Finally, I thought of one on my own.

In case you didn't know - you can create a project_tools.html file in your project's www directory - which allows you to append items to the menu on the left site. Add a little JavaScript action and you can manipulate or remove items as well. Here's what I'm using to remove the link for the Discussion forums, as well as change the Project issues to point to JIRA. If you find any issues with this script, please let me know.

<script type="text/javascript">

function replaceLinks() {
    try {
        var tools = document.getElementById("projecttools");
        var links = tools.getElementsByTagName("a");
        for (i=0; i < links.length; i++) {
            if (links[i].getAttribute("href").indexOf("ProjectIssues") > -1) {
                links[i].setAttribute("href", "http://issues.appfuse.org/browse/APF");
                links[i].innerHTML="JIRA Issue Tracker";
            }

            if (links[i].getAttribute("href").indexOf("ProjectForumView") > -1) {
                links[i].parentNode.style.display = "none";
            }
        }
    } catch (e) {}
}

window.onload=replaceLinks;
</script>

Related: AppFuse and Equinox get some FishEye lovin'. Posted in Java at Jul 29 2005, 02:39:36 PM MDT Add a Comment

Site Status Last weekend's crash made me change a few things on this site - all for the better. Instead of having a single server for hosting the AppFuse Wiki, there's now a read-only mirror at http://appfuse.org/wiki. Keith (of KGB Internet) has been kind enough to setup an rsynch cron that synchronizes from raibledesigns.com daily.

As part of the "fixing", I upgraded Roller and JSPWiki. Roller's search is still broken for the most part, but it seems to be due to some orphaned records, which I can hopefully fix soon. When upgrading JSPWiki, I broke the print as HTML feature, which I hope to fix today.

Last, but not least, I've enabled Roller's Planet feature. If you have a blog where you talk about AppFuse or it's related technologies, let me know and I'll add you. As far as contributing to Roller, I'm ashamed to admit that I haven't committed any code in months (maybe even a year). Integrating Acegi Security has been on my todo list for a couple of months now - and I hope to find some time soon. Unfortunately, life, AppFuse and Spring Live keep getting in the way. ;-)

5 minutes later: Print as HTML is fixed. Posted in Roller at Jul 29 2005, 10:29:02 AM MDT 1 Comment