/** * @return the same value as {@link #getContainer()} but more type-safe. */ protected InstalledLocalContainer getInstalledContainer() { return (InstalledLocalContainer) super.getContainer(); }
/** * {@inheritDoc} */ @Override protected void doConfigure(LocalContainer container) throws Exception { File deployDir = new File(getHome(), "webapps"); if (!deployDir.exists()) { throw new ContainerException("Invalid existing configuration: The [" + deployDir.getPath() + "] directory does not exist"); } // create the correct deployer AbstractInstalledLocalDeployer deployer = createDeployer(container); deployer.redeploy(getDeployables()); // Deploy the CPC (Cargo Ping Component) to the webapps directory getResourceUtils().copyResource(RESOURCE_PATH + "cargocpc.war", new File(deployDir, "cargocpc.war")); }
/** * {@inheritDoc} */ @Override protected void doConfigure(LocalContainer container) throws Exception { File deployDir = new File(getHome(), "webapps"); if (!deployDir.exists()) { throw new ContainerException("Invalid existing configuration: The [" + deployDir.getPath() + "] directory does not exist"); } // create the correct deployer AbstractInstalledLocalDeployer deployer = createDeployer(container); deployer.redeploy(getDeployables()); // Deploy the CPC (Cargo Ping Component) to the webapps directory getResourceUtils().copyResource(RESOURCE_PATH + "cargocpc.war", new File(deployDir, "cargocpc.war")); }
super.redeploy(deployable);
/** * @return the same value as {@link #getContainer()} but more type-safe. */ protected InstalledLocalContainer getInstalledContainer() { return (InstalledLocalContainer) super.getContainer(); }
super.redeploy(deployable);