...
Of course, Cargo is not limited to testing - You can also use it to configure, package or remotely handle many containers.
Info | ||
---|---|---|
| ||
CARGO can Codehaus Cargo can be used using its Java API as it is shown here. In addition to a Java API, Codehaus Cargo also has ANT Ant tasks and a Maven 2 / Maven 3 plugin:
|
The following examples demonstrate how to configure Resin 3.0.15 to start in target/resin3x
and deploy a WAR located in path/to/simple.war
using the Java API. The default port is 8080. Please note that the container.start()
and container.stop()
methods wait until the container is fully started and fully stopped before continuing. Thus, for any action you are executing after, you are assured the container is completely operational.
...