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

Version 1 Next »


Files to add to your container's configuration


This feature is only available for local containers


In some cases, it is necessary to enrich your container configuration with extra files. This can be done using Cargo's configFiles option, accessible via the Cargo APIs.

You might for example want to add the advanced login configuration to your JBoss instance.

Example using the Java API


The method's name is setConfigFileProperty rather than addConfigFileProperty; but it actually adds files to the configFiles list.

Example using the Maven 2 plugin

Disabling timeout

As of CARGO version 1.0.2, if you set the timeout to 0, CARGO will not wait for the container to start or stop.

  • No labels