Showing posts with label Ant. Show all posts
Showing posts with label Ant. Show all posts

Eclipse User Trends


Let's briefly look at the trends of Eclipse users. You could say they are comparable to the general Java development community. For starters they are using Subversion as the configuration management tool of choice. They also are using the Linux operating system for desktop development. These developers continually download and use the latest version of Eclipse.

CVS use is on the decline for configuration management. ANT is the build tools of choice. Maven is trying to catch up. Some are just using Eclipse itself to control builds. Web development is done using jQuery (I just got a book on jQuery, so I will be sharing what I learn). The majority of Eclipse users do not contribute to open source. That last statistic surprises me.

I hope I can get my hands on some survey data for Java developers as a whole.

Build Tools

When I first joined our project, our build scripts were written in the Korn shell. Our Korn shell programmer quit after I joined the team. Thus began our build script Hell. The scripts worked fine when everything was as expected. However they would bomb at the slightest disturbance. We needed a full time guy to baby sit this fragile set of Korn shell scripts.

Eventually a bunch of Java programmers joined the team. They decided the Korn shell scripts had to go. Being Java guys, they turned to Ant to do the builds. The result was a bit more reliable.

The Java guys got bored after a while. They started looking for ways to improve the build scripts. Maven was cited as a cool build tool. There was talk about redoing the build scripts again. However the Java guys left the project before any progress was made on that front.

It might be a blessing that we never ported our builds to Maven. I just read a rant describing Maven as pure evil. The author recommends you code your own build tool from scratch. He advises you to use Rake or Ant if you want to utilize a package. However he abhors Maven.

Here are the reasons to avoid Maven. It has the worst configuration syntax. The documentation is bad or incomplete. Maven is not flexible. It also has a broken dependency management subsystem. Exercise extreme caution if somebody tries to port your build scripts to Maven.

Build Speed

What is hot in the world of Java right now? Well they are determining the contents of Java 7. However an article I just read focused on how Java build are getting fast.

The most frequently used build tools are Maven and Ant. That comes as no surprise. The Java guys I know recommend these tools.

Incremental builds bring build time down to 30 seconds or so. Incremental means you only rebuild what is needed due to recent changes in code.

Here is something I have only remotely heard about. Automatic builds triggered by code checkin are on the rise. I know some frustrated developers on my project wish we had that. Builds are getting painful on my project.

One build idea that has just not taken off is building using cloud computing. I guess a lot of the cloud is just some hype and marketing. You can trust a technology unless it is being used in the trenches to solve real problems.