JBossWS SVN: r14859 - common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
Author: richard.opalka(a)jboss.com
Date: 2011-08-16 04:32:51 -0400 (Tue, 16 Aug 2011)
New Revision: 14859
Modified:
common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
Log:
support for EAP 5.2 as requested by our QA
Modified: common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java
===================================================================
--- common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2011-08-16 08:18:40 UTC (rev 14858)
+++ common/branches/jbossws-common-1.1.0/src/main/java/org/jboss/wsf/test/JBossWSTestHelper.java 2011-08-16 08:32:51 UTC (rev 14859)
@@ -219,7 +219,9 @@
if (jbossVersion == null)
throw new IllegalStateException("Cannot obtain jboss version");
- if (jbossVersion.startsWith("5.1"))
+ if (jbossVersion.startsWith("5.2"))
+ jbossVersion = "jboss51"; // EAP is in version 5.2, but it's based on AS 5.1.0
+ else if (jbossVersion.startsWith("5.1"))
jbossVersion = "jboss51";
else if (jbossVersion.startsWith("5.0"))
jbossVersion = "jboss5"; //loose check to support EAP 5.0.0 which is based on AS 5.1.0, should have been "jboss51"