Cargo support for GlassFish v2
In early September, Cargo project pushed 1.0 alpha-6 release, which contains my improvement of better pluggability support. With this and the cargo-core-containers-glassfish module that I just pushed, you can now automate GlassFish v2 through Cargo.
In this cargo-core-containers-glassfish release of 1.0 alpha-6, we have the support for starting/stopping GlassFish and deploying artifacts to it. For this to work, you need to have GlassFish installed first, then tell Cargo where it is.
Cargo can be used in many different ways, such as the programmatic API, Ant tasks, and Maven plugins. You can see more details about these in the Cargo website, but for example, the following Ant build script fragment shows you how to start GF with some wars deployed.
The key thing to remember is that the GlassFish has the container ID of "glassfish2".
Cargo helps automation of containers, so it's a very useful project for automated tests (and yes, you can use this with Hudson, which has a plugin to talk to Cargo.)
I hope to merge this module to the Cargo project when things are stable, so please let me know how it's working for you. Also, GlassFish v3 support is also on the TODO list.