Author: alessio.soldano(a)jboss.com
Date: 2009-01-08 09:32:58 -0500 (Thu, 08 Jan 2009)
New Revision: 8989
Modified:
common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
Log:
[JBWS-2444] Adding support for AS 6.0.0
Modified: common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
===================================================================
--- common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2009-01-08
14:14:12 UTC (rev 8988)
+++ common/trunk/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2009-01-08
14:32:58 UTC (rev 8989)
@@ -114,6 +114,19 @@
String target = getIntegrationTarget();
return target.startsWith("jboss40");
}
+
+ /** True, if -Djbossws.integration.target=jboss6x */
+ public boolean isTargetJBoss6()
+ {
+ String target = getIntegrationTarget();
+ return target.startsWith("jboss6");
+ }
+
+ /** True, if -Djbossws.integration.target=jboss5x */
+ public boolean isTargetJBoss5OrGreater()
+ {
+ return isTargetJBoss5() || isTargetJBoss6();
+ }
public boolean isIntegrationNative()
{
@@ -223,6 +236,8 @@
jbossVersion = "jboss51";
else if (jbossVersion.startsWith("5.0"))
jbossVersion = "jboss50";
+ else if (jbossVersion.startsWith("6.0"))
+ jbossVersion = "jboss60";
else if (jbossVersion.startsWith("4.2"))
jbossVersion = "jboss42";
else if (jbossVersion.startsWith("4.0"))
Show replies by date