Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Tools

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Tools

When run on Unix, Hudson can now authenticate users through the operating system, by using its user database and group database. I noticed that many Unix deployment of Hudson chooses LDAP for the authentication, but the problem with LDAP is that there are too many things that you need to configure. You have to configure the root DN, you need to tweak the queries, and you often need to give you...
on Feb 27, 2009
Starting 1.281, Hudson can now launch itself as a proper Unix daemon. All you have to do is start Hudson as: $ java -jar hudson.war --daemon If you run this as root, it'll leave /var/run/hudson.pid and record PID there. Unlike java -jar hudson.war &, this will detach the daemon from the shell properly, so it'll keep going even after you exit your shell. This is done by using akuma that I...
on Feb 10, 2009
One of the things I recently came across is the Linux kernel's unique ability to have a process-specific file system mount table. In Unix that I know of, a file system mount table is global to the entire system, but apparently, starting Linux 2.6.16, you can have multiple mount tables in the system. In a way, this is a kind of a virtualization technology, because two processes in the same system...
on Feb 8, 2009
Here at Sun, one of my job is to maintain our internal Hudson cluster of some 40 nodes. Among other things, a part of the administration task involves in setting up a new slave every so often, which means installing a new OS, configuring it, and adding it to the cluster. We need to support all kinds of different OSes, so that adds an interesting complexity to the mix. We've got a considerable...
on Feb 7, 2009
Eric Lefevre found a study of CI tools by Fontys University of Applied Sciences in Venlo, Netherlands. This is based on sending questions to volunteer participants and tabulating the results. With the usual caveat about the sampling size and geographic distribution of respondents, this paper found that the most commonly used CI tool today is Cruise Control (29 people), followed by Hudson (24...
on Feb 3, 2009
As explained in here, writing a proper daemon requires various function calls that are traditionally only available to native applications. So typically, Java applications rely on external wrappers like Apache commons daemon or Java service wrapper, or even worse, just ignore those conventions and do Runtime.exec. But this creates an unnecessary inconsistency between how you launch a program in...
on Jan 31, 2009
Several people reported to me that the artifacts they pushed to the java.net Maven2 repository stopped appearing to the external servers. I'm happy to report that this problem is fixed now. This appears to be caused by a Subversion workspace corruption triggered by a disk full problem — disk problem was fixed earlier, but because of the workspace corruption didn't resolve itself, we ended...
on Jan 22, 2009
Starting Hudson 1.264, Hudson has an option of sending usage statistics. This was released 12/16 last year, so it's been about a month. So I run some data analysis over the data that's collected so far. First, data is filtered to eliminate one off installations that don't appear to be a long running installation. That is, I only counted installations that kept sending the usage data for more...
on Jan 21, 2009
So, I started some weeks ago to look at JavaFX. Well, I got an awesome message talking about a JavaFX course that will start on January 30th. For free! You can get more information at http://www.javapassion.com/javafx/
on Jan 21, 2009
I'm one of the few people who are still using Apache commons Jelly actively. I use it as an HTML macro engine in tools like htmlmacro, I use it to render views in Hudson, and I still occasionally use Maven1 to build my old projects, which uses Jelly big time. One of the pain points of using Jelly is that there's no schema for tags, so you can't take advantages of the modern schema-aware IDEs...
on Jan 6, 2009
Vivek told me that Hudson is on the front page of JavaWorld.
on Dec 18, 2008
I've been playing with OpenSolaris lately, and I was finally able to build my own OpenSolaris LiveCD with Hudson, so this is the record of what/how I did it. There are two ways to read this post; if you are just interested in installing Hudson on a machine, real or virtual, then you can just download the ISO file, boot from the ISO, then run the installer. It will install OpenSolaris and Hudson...
on Dec 15, 2008
Two recent good news made my day. In a blog post titled "What Sun should do?", an analyst James Governor wrote: Get behind Hudson is a big way. Developers really like it. It just works. It makes managing your builds a relatively painless experience. It is even, dare I say it, "pretty" - at least that was the adjective Dan McWeeney from Adobe used for it when he demoed it to me. This being...
on Dec 11, 2008
So far I'm exploring the samples. Looks good!
on Dec 7, 2008
A handy book by Sun's Ruth Kusterer, 100 NetBeans IDE Tips & Tricks: Your Guide to Finding Your Way Around the NetBeans IDE!, is now available on Safari Books Online. The tips are divided into 14 categories: editing, navigation, projects, and so forth: well organized, illuminating, and helpful. Congratulations and hats off to Ruth.
on Dec 4, 2008
It's common for a Java project to compile with later versions of JDK than it minimally requires. For example, when Hudson runs on Java6 it takes advantages of those features, but it can also run on Java5 without those advanced features. The technique to do this is well understood. Here's one such code fragment taken from Hudson: try {    for (ThreadInfo ti : Functions....
on Nov 14, 2008
Working on a project based on NetBeans Platform, never thought I would discover many new technologies! Ant-Based Projects, NetBeans Build System For the past 1 week or so, I am trying to learn how to create a new project type based on the layout I decide. So, thought of going for Ant Based Project Type, asked the mailing lists. I was pointed to a document, here's an overview- "This guide...
on Nov 11, 2008
Somehow this fall became a travel season for me. Just a couple of weeks after my trip to Brazil, I'll be travelling to Tokyo for two weeks. One nice thing about Tokyo is that it's such a huge city with a lot of actions that I can meet with a lot of people and visit their companies without ever leaving to another city. So in a relatively short amount of time, I can do a lot. Obviously, me being...
on Oct 2, 2008
I reported earlier that Hudson can now install itself as a Windows service, and behind this technology is the reusable Windows service wrapper code I wrote, which is separately reusable and available in the "winsw" project. Why? Now, I think the first question that people would ask is, why another, when there's Java Service Wrapper project already available. The main reason for writing my own...
on Sep 29, 2008
On most Unix systems, installing Hudson as a daemon is a rather simple process. This is particularly true with Unix with a decent packaging system (for example, on OpenSolaris, it's almost as easy as "pkg install hudson".) Unfortunately, Windows make it very hard to run an ordinary program as a service, so Erik had to write a rather long description of how to achieve this. In Hudson 1.254, I...
on Sep 27, 2008