Action | Description |
|---|
start
| Start a container. That task will: - If the task configuration requires so, installs the container.
- If the task configuration defines a container with a standalone local configuration, it will create the configuration.
- If the task configuration contains one or more deployables, it will deploy these to the container automatically.
- If the task configuration contains no deployables but the project's packaging is Java EE (WAR, EAR, etc.), it will deploy the project's deployable to to the container automatically.
- And, of course, start the container.
Note: A container that's started with the start task will automatically shut down as soon as the parent ANT instance quits (i.e., you see a BUILD SUCCESSFUL or BUILD FAILED message). If you want to start a container and perform manual testing, see our next task run. |
run
| Start a container and wait for the user to press CTRL + C to stop. That task will: - If the task configuration requires so, installs the container.
- If the task configuration defines a container with a standalone local configuration, it will create the configuration.
- If the task configuration contains one or more deployables, it will deploy these to the container automatically.
- If the task configuration contains no deployables but the project's packaging is Java EE (WAR, EAR, etc.), it will deploy the project's deployable to to the container automatically.
- And, of course, start the container and wait for the user to press
CTRL + C to stop.
|
stop
| Stop a container. |
configure
| Create the configuration for a local container, without starting it. Note that the start and run actions will also install the container automatically. |
deploy
| Deploy a deployable to a running container. |
undeploy
| Undeploy a deployable from a running container. |
redeploy
| Undeploy and deploy again a deployable. |