protected void tearDown() throws Exception { try { if (jarNames != null) { // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); String[] depoyments = new String[st.countTokens()]; for (int i = depoyments.length - 1; i >= 0; i--) depoyments[i] = st.nextToken(); for (int i = 0; i < depoyments.length; i++) { String jarName = depoyments[i]; this.getLog().debug("Attempt undeploy of " + jarName); this.undeploy(jarName); this.getLog().debug("undeployed package: " + jarName); } } super.tearDown(); } finally { AbstractTestSetup.delegate = null; } }
protected void tearDown() throws Exception { try { if (jarNames != null) { // deploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); String[] depoyments = new String[st.countTokens()]; for (int i = depoyments.length - 1; i >= 0; i--) depoyments[i] = st.nextToken(); for (int i = 0; i < depoyments.length; i++) { String jarName = depoyments[i]; this.getLog().debug("Attempt undeploy of " + jarName); this.undeploy(jarName); this.getLog().debug("undeployed package: " + jarName); } } super.tearDown(); } finally { AbstractTestSetup.delegate = null; } }
protected void tearDown() throws Exception { if (jarNames == null) return; //Nothing to Undeploy // undeploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); String[] depoyments = new String[st.countTokens()]; for (int i = depoyments.length - 1; i >= 0; i--) depoyments[i] = st.nextToken(); for (int i = 0; i < depoyments.length; i++) { String jarName = depoyments[i]; this.undeploy(jarName); this.getLog().debug("undeployed package: " + jarName); } if (this.delegate.isSecure()) this.delegate.logout(); super.tearDown(); } };
protected void tearDown() throws Exception { if (jarNames == null) return; //Nothing to Undeploy // undeploy the comma seperated list of jars StringTokenizer st = new StringTokenizer(jarNames, ", "); String[] depoyments = new String[st.countTokens()]; for (int i = depoyments.length - 1; i >= 0; i--) depoyments[i] = st.nextToken(); for (int i = 0; i < depoyments.length; i++) { String jarName = depoyments[i]; this.undeploy(jarName); this.getLog().debug("undeployed package: " + jarName); } if (this.delegate.isSecure()) this.delegate.logout(); super.tearDown(); } };