Cargo : Static deployment of EAR
This page last changed on Apr 25, 2005 by vmassol.
DefinitionDeploy an EAR that will be started when the container startsExample using the Java APIStarting Orion 2.x with an EAR to deploy:Container container = new Orion2xContainer(); container.setHomeDir("c:/apps/orion-2.0.3"); Deployable ear = container.getDeployableFactory().createEAR("src/data/some.ear"); container.addDeployable(ear); container.start(); Example using the Ant APIStarting Orion 2.x with an EAR to deploy:<cargo-orion2x homeDir="c:/apps/orion-2.0.3" action="start"> <ear earFile="src/data/some.ear"/> </cargo-orion2x> |
![]() |
Document generated by Confluence on Apr 30, 2005 12:52 |