Wednesday January 7, 2009

2009: Distributed Version Control

2009 will be interesting. In this series of posts, I publish some thoughts/wishes about technological improvements in 2009. Previous entries: Really Rich Internet Applications, Easy JavaScript for Everyone, Databases and Persistence.

Couple years back, I thought CVS was ok. Nowadays, I think it was crap and I am happy that I don’t have to use it anymore. Instead I use Subversion, which I thought SVN was ok. After watching Linus’ talk about DVCS and Git[2] and using it for SproutCore, I am sure that SVN days are counted, too. My bet is on Git, because it is already well established among open-source projects through github. Mercurial is nice, as is provides an SVN interface.

Note: I heard a couple times people telling that Git only works on Linux and Macs. Don’t believe that[3].

[1] Two DVCS contenders:Git, Mercurial
[2] Linus Torvalds on git
[3] GIT on Windows

Posted on Jan 7, 2009 at 06:00 (MET) | Permalink | 1 comment

Monday August 11, 2008

Maven Archetypes Made Easier

John has posted an article about how to use the archetype:generate plugin. The plugin will present the available archetypes and then lets you entered the required artifacts.

Much better than typing the rather lengthy command line params (if you remembered them anyway).

Posted on Aug 11, 2008 at 11:25 (MET) | Permalink | 2 comments

Tuesday February 12, 2008

Maven - Good or Bad?

There has a lot of blog posting about the up- and downsides about Maven lately. As I was one of the early adopters, and probably made others to use it by writing articles in the Java Magazin about it, I am following the discussing with some interest.

On the one side, the idea behind Maven is certainly a good one. Everytime I created a build system based on good old Ant, I wished I would have been able to use Maven. On the other hand, Maven really sucks. Yes, it does. And people like Matt Raible and Don Brown who try to help improving Maven don’t make it much better. In fact, I strongly agree with Charles Miller of Atlassian, who says “Maven: Broken by Design” (btw: an excellent and entertaining read).

In this whole discussion, I personally think that the use cases for Maven should be re-thought. This would help focussing the discussion.

Posted on Feb 12, 2008 at 17:27 (MET) | Permalink | 1 comment

Thursday April 12, 2007

Charles’ Open Letter to Maven 2

I’ve spend hours on Maven 1 and 2, while writing articles about it. I guess that’s what you have to do, when you evaluate a tool.

However, this is the result when lead developer/product architect Charles Miller of Atlassian spends too much time:

An Open Letter to Maven 2.

Posted on Apr 12, 2007 at 20:40 (MET) | Permalink | Add comment

Saturday April 8, 2006

Maven 2 Plugin for Eclipse

After reviewing Mevenide for the last issue of German Eclipse Magazine, I have had a look at the “Maven 2 Plugin for Eclipse“. There is only an development release available, but the Plugin already contains some great features and the UI design feels just right.

My favourite feature is the dependency browser, which also includes a repository browser. So if you need to add a dependency, you can search for it within Eclipse and let the plugin download it.

m2eclipse-repo-browser.png

The next release will even provide the dependency download as a “quick fix” (when you hit Ctrl-1). Eugene (the plugin’s lead developer) provides more info about upcoming features.

Posted on Apr 8, 2006 at 13:35 (MET) | Permalink | Add comment

Saturday January 28, 2006

Confluence Personal Wiki

Atlassian offers the Confluence Personal Wiki (a.k.a. the ‘free beer edition’). It doesn’t give you any support, and is limited to 2 users only, but hey - its free!

Btw: Charles, Confluence lead developer, has posted a good read why wiki is a subversive technology and Joel admits that he judges wiki more positive than he has in the past.

Posted on Jan 28, 2006 at 19:47 (MET) | Permalink | Add comment

Friday January 27, 2006

Comparison Table: Ant vs. Maven

I just found a nice comparison chart of Ant vs. Maven in this article by Julien Dubois:

  Ant Maven
Installation Very easy Very easy (very similar to Ant)
Time to start a new project 5 minutes 15 minutes
Time to add a new functionality 10 minutes to add a new target 2 minutes to use a new goal
Time to learn for a new developer 30 minutes. Very easy to understand, and very good tool support. 2 hours. Can be confusing at the beginning.
Standard layout No (which is good; you can do whatever you want). Yes (which is good, all your projects will look the same).
Multi-project support Yes, but you have to do your own master build file. Yes, with the Maven Reactor
Documentation generation No standard way to do it, but there are plenty of available tools. Yes
IDE integration Yes Very basic

Posted on Jan 27, 2006 at 17:26 (MET) | Permalink | Add comment

Saturday December 31, 2005

Installing Mevenide in Eclipse 3.1.1

I installed Mevenide for Eclipse (a plugin to add Maven support to different IDEs, e.g. Eclipse) a couple months ago and it worked right away. So, when Alexander Neumann of Software & Support Verlag asked me for an short article about Mevenide, I agreed to submit it for the 02/05 issue of the German Eclipse Magazine. When I started writing the article this week and trying to install it with my latest Eclipse installation, I had a nasty surprise: While the new project wizard and the POM configuration worked, the Maven launcher wouldn’t want to work even after hours of twiddling with different versions of Eclipse and Mevenide. In the end I got it working and I thought I share it not only with my readers of the Eclipse Magazine.

Prerequisites:

  • Have Eclipse 3.1.1 downloaded & installed (no further information on that here… )
  • Have Maven 1.0.2 downloaded & installed (no further information either ;-) )
  • Mevenide, download here

Installation:

  • Unzip the downloaded ZIP to your Eclipse directory.
  • Check the Plugin Configuration under Window > Preferences > Maven > Locations:
    1. Java Home points to a JDK
    2. Maven Home points to your Maven installation (not the one in the Eclipse directory)
    3. Maven Local Home points to your local home directory in your home directory.
    4. Maven Local Repository points to the repository in your maven local home directory.
    5. Tools.jar points to tools.jar in your JDK directory (under lib/).

That did the trick for me - I even can deploy Flowfuse from within Eclipse. Let me know if you have further tricks…

Besides the installation … errm … glitches, Mevenide provides good functionality. However, the Eclipse version of it seems sort of doomed: Most development efforts go into Netbeans version, which way more advanced and over at Megere - the Maven-Simulalabs-Opensource-Startup - they started developing and m2 plugin for eclipse. Once projects move to m2 the Eclipse version of Mevenide will probably disappear…

What do you think?

Posted on Dec 31, 2005 at 00:41 (MET) | Permalink | 2 comments

Monday October 24, 2005

Maven Article Published

Quick update (& shameless plug): As I already mentioned, i wrote an article about Maven. It has finally been published in the latest issue of the Java Magazin (online version available here).

Posted on Oct 24, 2005 at 14:01 (MET) | Permalink | 1 comment

Sunday July 31, 2005

Maven Article

It looks like i’ll be writing an article about Maven to be published in the German Java-Magazin in October. It is based on experiences from my past projects and also contains practical tips. I will be probably posting some additional tips here - so stay tuned…

Posted on Jul 31, 2005 at 23:14 (MET) | Permalink | 1 comment

Previous Posts