1 17 package org.apache.geronimo.j2ee.deployment; 18 19 import org.apache.geronimo.deployment.util.DeploymentUtil; 20 21 26 public class EARConfigBuilder14NakedTest 27 extends EARConfigBuilderTestSupport 28 { 29 protected void setUp() throws Exception { 30 super.setUp(); 31 32 earFile = DeploymentUtil.createJarFile(resolveFile("target/test-ear-j2ee_1.4-naked.ear")); 33 ejbConfigBuilder.ejbModule = new EJBModule(false, ejbModuleName, null, null, "test-ejb-jar.jar", null, null, null, portMap); 34 webConfigBuilder.contextRoot = contextRoot; 35 webConfigBuilder.webModule = new WebModule(false, webModuleName, null, null, "test-war.war", null, null, null, contextRoot, portMap, WEB_NAMESPACE); 36 connectorConfigBuilder.connectorModule = new ConnectorModule(false, raModuleName, null, null, "test-rar.rar", null, null, null); 37 } 38 39 protected void tearDown() throws Exception { 40 DeploymentUtil.close(earFile); 41 close(ejbConfigBuilder.ejbModule); 42 close(webConfigBuilder.webModule); 43 close(connectorConfigBuilder.connectorModule); 44 45 super.tearDown(); 46 } 47 } 48 | Popular Tags |