Archive for the “Java” Category


The IzPack Glassfish installer has just been updated. It now provides a deeper integration on Windows systems.

Shortcuts to asadmin, the update center and the uninstaller are now created in the start menu hierarchy:

The Windows Add / Remove Software settings box will also display an icon for the Glassfish installation:

Lastly, the installer was generated from a snapshot of the IzPack Subversion trunk.

Oh and I forgot one more thing: the Glassfish installer has been downloaded at least 1326 times in May :-)

Comments No Comments »

Building Glassfish v3 from its Subversion trunk is relatively easy.

The first thing to do is to create an account on Java.net, else you won’t be able to perform any checkout. I believe that it is sufficient, but thing is you will be prompted for a user name and password by your Subversion client…

Next, you should point to the Glassfish-SVN project on Java.net, not to the regular Glassfish project as it uses CVS, and everyone knows how painful CVS can be (Subversion is not perfect either, especially on merges or tracking of upstream vendor branches…).

Checkout a fresh copy of the trunk:

svn checkout https://glassfish-svn.dev.java.net/svn/glassfish-svn/trunk/v3 \
      glassfish-v3-trunk --username YOUR_JAVANET_USERNAME

What you get is a bunch of Maven projects. The organization of the v3 repository is well done. For a comparison, go and have a look at the v2 one which embeds a lot of stuff that should not be under version control like Javadocs…

The next step is of course to grab and install Maven if you don’t have it on your local machine. You could go straight with Maven and build Glassfish, but there are a few caveats.

  1. The build will fails if you don’t enlarge the JVM stack size, so you should
     export MAVEN_OPTS=-Xmx512m
    

    or something similar depending on your operating system and current shell.

  2. Maven downloads a ton of bits from the net, so don’t forget to define a HTTP proxy if you need to.
  3. Unit tests may fail (this is a trunk!) and Maven stops building when unit tests fail: you can disable them by passing the
    -Dmaven.test.skip=true

    parameter to Maven.

Building Glassfish is easy, from the root of your trunk checkout, just launch the Maven install and package goals, e.g.:

mvn install package -Dmaven.test.skip=true

The build may take a while, especially as Maven has to download a lot of plugins and dependencies. Once this is done, you can find a zipped image of Glassfish in

(your-trunk)/distributions/glassfish/target/glassfish-10.0-SNAPSHOT.zip

.

Hopefuly one day the Maven build will call the nice IzPack Maven plugin that our new developer Dan Tran contributed ;-)

You can then easily test Glassfish:

unzip glassfish-10.0-SNAPSHOT.zip
cd glassfish
java -jar modules/glassfish-10.0-SNAPSHOT.jar

Have fun hacking Glassfish! ;-)

Comments 1 Comment »

You can now nominate IzPack in the SourceForge 2008 Community Choice Awards in the category “Best Tool or Utility for Developers”:

We need your votes :-)

BTW: IzPack is not a SourceForge project, but the awards are open to non-SourceForge projects.

Comments No Comments »

find.png Dennis Reil, a long-time IzPack developer, has published an article called Cross-Plattform-Installationen in the german journal Java Magazin.

Congratulations Dennis, and thanks for your work!

Comments No Comments »

Craig Wickesser, an editor at the famous InfoQ, has just published an article about IzPack.

In the form of an interview, we spoke about IzPack, its history, its usefulness and where its future points to.

Do not forget that your input is worthwhile to us, so don’t forget to fill the IzPack survey: it takes just a few minutes to complete ;-)

Comments No Comments »