Staying up-to-speed with GlassFish 3.0.1 developments
With the [URL="http://glassfish.org/roadmap"]GlassFish roadmap[/URL] for the Open Source Edition published and development going full swing for its [URL="http://wiki.glassfish.java.net/Wiki.jsp?page=PlanForGlassFish3.0.1"]3.0.1 release[/URL], 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 [URL="http://download.java.net/glassfish/v3.0.1/nightly/"]nightly builds[/URL] and certainly more than the [URL="http://hudson.glassfish.org/job/gf-3.0.1-build-continuous/"]continuous integration builds[/URL]. Of course you can also [URL="http://wiki.glassfish.java.net/Wiki.jsp?page=BuildInformation"]build from source[/URL].
[IMG]http://blogs.sun.com/alexismp/resource/GlassFishNewUpdatesNotifier.png[/IMG]GlassFish Open Source Edition promoted builds are available from [URL="http://download.java.net/glassfish/v3.0.1/promoted"]http://download.java.net/glassfish/v3.0.1/promoted/[/URL] 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 ([URL="http://hub.opensolaris.org/bin/view/Project+pkg/"]aka pkg(5)[/URL]) 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:
[B]% bin/pkg set-authority -P dev.glassfish.org[/B]
[IMG]http://blogs.sun.com/alexismp/resource/GlassFishUpdateDetails.png[/IMG]This allows for a mere "[B]% pkg image-update[/B]" 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 [URL="http://download.netbeans.org/netbeans/6.9/beta/"]NetBeans 6.9 beta[/URL] 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, [URL]http://pkg.glassfish.org/v3/dev/[/URL] 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 pkg or updatetool).
• 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 [URL="http://download.java.net/glassfish/v3.1/promoted/"]here[/URL])
[url=http://blogs.sun.com/alexismp/entry/staying_up_to_speed_with]Read More about [Staying up-to-speed with GlassFish 3.0.1 developments...[/url]