Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Definition

Cargo provides Ant tasks to perform all the operations available from the Java API

Explanation

Before using the Ant API you need to register the Cargo Ant tasks into Ant. This is done in the following manner:

Example

Here's a full example showing how to deploy a WAR, and expanded WAR and an EAR in an Orion 2.x container. Please note that the output and log attribute are optional. The property elements allow you to tune how the container is configured. Here we're telling it to start on port 8180 and to generate the maximum amount of logs in the container output file.

  • No labels