With the GlassFish roadmap for the Open Source Edition published and development going full swing for its 3.0.1 release, you may be interested to track development progress as it happens (lots of bugs being fixed). In the case of this blog entry, “as it happens” means following the “promoted” builds which have gone through more testing than the nightly builds and certainly more than the continuous integration builds. Of course you can also build from source.
GlassFish Open Source Edition promoted builds are available from http://download.java.net/glassfish/v3.0.1/promoted/ and pushed out every week or so. You can get the latest one (3.0.1-b15 as of this writing) and install the web or the full profile version. Once installed, a typical promoted build has everything wired in so that you can easily update to a more recent build using the command-line of the graphical update tool.
IPS (aka pkg(5)) is the GlassFish packaging system used since version 3 that makes updates trivial. Promoted builds come with several pre-configured repositories (“authorities” in IPS terms) including a “
dev.glassfish.org” one where promoted versions are posted. Before you can upgrade you need to make this repository the default one with this magic command:
% bin/pkg set-authority -P dev.glassfish.org
This allows for a mere “
% pkg image-update” to upgrade your install to the latest promoted bits. The graphical alternative would be to use the
updatetool (from the top-level
bin/ directory of your GlassFish install) or to click in the notification window (screenshot above).
Here’s a log for the upgrade of build 14 (which is what NetBeans 6.9 beta ships with) to the latest promoted build 15 bits (as you can see it takes significantly less than the 70MB full download) :
$ bin/pkg image-update
DOWNLOAD PKGS FILES XFER (MB)
Completed 34/34 203/203 27.3/27.3
Removal Phase 28/28
Install Phase 26/26
Update Phase 270/270
Here are a few additional notes :
• At any given moment “
% pkg list” with show “U” status in the “UFIX” column for available updates.
• Remember you can also browse any IPS repository, http://pkg.glassfish.org/v3/dev/ for the 3.0.1 promoted builds (the URLs are easily obtained with a “
% pkg authority” command).
• If you installed using the ZIP archive, you’ll need to install the IPS tools (done automagically on the first invocation of
• If you don’t mind moving from a stable version to these recent promoted (an thus unstable by definition) bits, you can even apply the steps above (set
dev.glassfish.org as default and update the image) to a final version of GlassFish v3 to have it be upgraded to a development build of 3.0.1.
There is no promoted build for the moment for the 3.1 branch, but the above information should be equally applicable to that release once they do show up (most likely here)