Matt Raible has announced the Cargo 0.2 release on his blog and plans to feature Cargo in his upcoming Spring Live book:
I've been looking for something like Cargo for a while now - mainly so I could provide an easy way to test JSPs (and therefore the whole app) in-container. For the last couple of years, I've been using Cactus' <runservertests> task, but it requires you to configure your own startup and shutdown targets - which can be difficult for the different containers. Cargo makes this easy. So easy that I've added it as a topic to Chapter 8 of Spring Live. BTW, the MyUsers sample app shows you how to use jMock and Easy Mock for isolating Manager tests and Action/Controller tests - something that I might eventually move to with AppFuse.
Good work Matt!
Release 0.1 is now available on http://cargo.codehaus.org
This initial version provides:
- A Java API to:
- Start containers
- Stop containers
- Configure containers for deployment in any user-specified directory
- Wait for containers to be started
- Wait for containers to be stopped
- Supports WAR and EAR static deployments
- Ant tasks that wraps the Java API.
The Java API supports the following containers:
- Resin 2.x
- Resin 3.x
- Orion 1.x
- Orion 2.x
- Tomcat 3.x
- Tomcat 4.x
- Tomcat 5.x
- Jetty 4.x
The Ant tasks support all of the above except the Jetty 4.x container.
All documentation is available on: http://cargo.codehaus.org
Many thanks to (more details on http://cargo.codehaus.org/Credits):
- Desire Atanga for the Tomcat support
- Jerome Lacoste for general discussions