Author: alessio.soldano(a)jboss.com
Date: 2011-06-10 12:44:43 -0400 (Fri, 10 Jun 2011)
New Revision: 14516
Modified:
shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestSetup.java
Log:
[JBWS-3310] Deploy app client archives
Modified: shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestSetup.java
===================================================================
---
shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestSetup.java 2011-06-10
16:11:09 UTC (rev 14515)
+++
shared-testsuite/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestSetup.java 2011-06-10
16:44:43 UTC (rev 14516)
@@ -155,18 +155,14 @@
{
URL archiveURL = getArchiveURL(archive);
clientJars.add(archiveURL);
+ if (archive.contains("jaxrpc") ||
archive.endsWith("serviceref-client.jar"))
+ {
+ performDeploy(archive);
+ }
}
else
{
- try
- {
- JBossWSTestHelper.deploy(archive);
- }
- catch (Exception ex)
- {
- ex.printStackTrace();
- JBossWSTestHelper.undeploy(archive);
- }
+ performDeploy(archive);
}
}
@@ -184,6 +180,19 @@
Thread.currentThread().setContextClassLoader(cl);
}
}
+
+ private static void performDeploy(String archive) throws Exception
+ {
+ try
+ {
+ JBossWSTestHelper.deploy(archive);
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ JBossWSTestHelper.undeploy(archive);
+ }
+ }
protected void tearDown() throws Exception
{
Show replies by date