[jbossws-commits] JBossWS SVN: r10817 - framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Thu Oct 1 09:37:01 EDT 2009
Author: alessio.soldano at jboss.com
Date: 2009-10-01 09:37:01 -0400 (Thu, 01 Oct 2009)
New Revision: 10817
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
Log:
[JBWS-2740] Use already available means of detecting running stack
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2009-10-01 13:34:11 UTC (rev 10816)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2009-10-01 13:37:01 UTC (rev 10817)
@@ -71,8 +71,24 @@
// Setup the classpath - do not modify this lightheartedly.
// Maybe you should extend the Class-Path in the MANIFEST instead.
StringBuffer cp = new StringBuffer(System.getProperty("test.classes.directory"));
- //${stack.name} will be filtered before executed in specific stack
- cp.append(PS + jbc + FS + "jbossws-${stack.name}-client.jar");
+ String stackName = null;
+ if (isIntegrationCXF())
+ {
+ stackName = "cxf";
+ }
+ else if (isIntegrationMetro())
+ {
+ stackName = "metro";
+ }
+ else if (isIntegrationNative())
+ {
+ stackName = "native";
+ }
+ else
+ {
+ throw new Exception("unsupported stack");
+ }
+ cp.append(PS + jbc + FS + "jbossws-" + stackName + "-client.jar");
cp.append(PS + jbc + FS + "jboss-common-core.jar");
cp.append(PS + jbc + FS + "jboss-logging-spi.jar");
cp.append(PS + jbc + FS + "jboss-logging-log4j.jar");
More information about the jbossws-commits
mailing list