JBossWS SVN: r8993 - framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2009-01-08 11:25:34 -0500 (Thu, 08 Jan 2009)
New Revision: 8993
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
Log:
[JBPAPP-1559] services page does not correctly update host address of endpoints.
Modified: framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
===================================================================
--- framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2009-01-08 15:49:23 UTC (rev 8992)
+++ framework/branches/jbossws-framework-2.0.1.GA_CP/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2009-01-08 16:25:34 UTC (rev 8993)
@@ -105,7 +105,8 @@
writer.print("</tr>");
writer.print("<tr>");
writer.print(" <td>Endpoint Address</td>");
- writer.print(" <td><a href='" + ep.getAddress() + "?wsdl'>" + ep.getAddress() + "?wsdl</a></td>");
+ String address = createAddress(requestURL, ep.getAddress());
+ writer.print(" <td><a href='" + address + "?wsdl'>" + address + "?wsdl</a></td>");
writer.print("</tr>");
writer.print("<tr>");
writer.print(" <td colspan=2>");
@@ -181,4 +182,30 @@
writer.println("<link rel='stylesheet' href='./styles.css'>");
writer.println("</head>");
}
+
+ private String createAddress(final URL requestURL, final String endpointAddress) throws IOException
+ {
+ String address = endpointAddress;
+ if (address.contains(ServerConfig.UNDEFINED_HOSTNAME))
+ {
+ URL internalAddress = new URL(address);
+
+ String protocol = requestURL.getProtocol();
+ String host = requestURL.getHost();
+ int port = requestURL.getPort();
+ String path = internalAddress.getPath();
+
+ if (port > -1)
+ {
+ address = new URL(protocol, host, port, path).toString();
+ }
+ else
+ {
+ address = new URL(protocol, host, path).toString();
+ }
+ }
+
+ return address;
+ }
+
}
15 years, 11 months
JBossWS SVN: r8992 - framework/trunk/src/main/java/org/jboss/wsf/framework/management.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2009-01-08 10:49:23 -0500 (Thu, 08 Jan 2009)
New Revision: 8992
Modified:
framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
Log:
[JBWS-2443] services page does not correctly update host address of endpoints.
Modified: framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java
===================================================================
--- framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2009-01-08 15:05:40 UTC (rev 8991)
+++ framework/trunk/src/main/java/org/jboss/wsf/framework/management/ContextServlet.java 2009-01-08 15:49:23 UTC (rev 8992)
@@ -103,7 +103,8 @@
writer.print("</tr>");
writer.print("<tr>");
writer.print(" <td>Endpoint Address</td>");
- writer.print(" <td><a href='" + ep.getAddress() + "?wsdl'>" + ep.getAddress() + "?wsdl</a></td>");
+ String address = createAddress(requestURL, ep.getAddress());
+ writer.print(" <td><a href='" + address + "?wsdl'>" + address + "?wsdl</a></td>");
writer.print("</tr>");
writer.print("<tr>");
writer.print(" <td colspan=2>");
@@ -179,4 +180,30 @@
writer.println("<link rel='stylesheet' href='./styles.css'>");
writer.println("</head>");
}
+
+ private String createAddress(final URL requestURL, final String endpointAddress) throws IOException
+ {
+ String address = endpointAddress;
+ if (address.contains(ServerConfig.UNDEFINED_HOSTNAME))
+ {
+ URL internalAddress = new URL(address);
+
+ String protocol = requestURL.getProtocol();
+ String host = requestURL.getHost();
+ int port = requestURL.getPort();
+ String path = internalAddress.getPath();
+
+ if (port > -1)
+ {
+ address = new URL(protocol, host, port, path).toString();
+ }
+ else
+ {
+ address = new URL(protocol, host, path).toString();
+ }
+ }
+
+ return address;
+ }
+
}
15 years, 11 months
JBossWS SVN: r8991 - in stack/cxf/trunk: modules/management and 6 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-01-08 10:05:40 -0500 (Thu, 08 Jan 2009)
New Revision: 8991
Added:
stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
Removed:
stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
Modified:
stack/cxf/trunk/build.xml
stack/cxf/trunk/modules/management/pom.xml
stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
stack/cxf/trunk/modules/server/pom.xml
stack/cxf/trunk/modules/server/src/main/scripts/antrun-beans-config.xml
stack/cxf/trunk/modules/testsuite/pom.xml
stack/cxf/trunk/pom.xml
stack/cxf/trunk/profiles.xml.example
stack/cxf/trunk/src/main/distro/Install.txt
stack/cxf/trunk/src/main/distro/ant.properties.example
stack/cxf/trunk/src/main/distro/build-deploy.xml
stack/cxf/trunk/src/main/distro/build-setup.xml
stack/cxf/trunk/src/main/distro/build.xml
stack/cxf/trunk/src/main/scripts/assembly-deploy-artifacts.xml
Log:
[JBWS-2444] Updating for AS 6
Modified: stack/cxf/trunk/build.xml
===================================================================
--- stack/cxf/trunk/build.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/build.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -67,12 +67,12 @@
<condition property="jboss500.home" value="${profiles.profile.properties.jboss500.home}">
<isset property="profiles.profile.properties.jboss500.home"/>
</condition>
- <condition property="jboss501.home" value="${profiles.profile.properties.jboss501.home}">
- <isset property="profiles.profile.properties.jboss501.home"/>
- </condition>
<condition property="jboss510.home" value="${profiles.profile.properties.jboss510.home}">
<isset property="profiles.profile.properties.jboss510.home"/>
</condition>
+ <condition property="jboss600.home" value="${profiles.profile.properties.jboss600.home}">
+ <isset property="profiles.profile.properties.jboss600.home"/>
+ </condition>
<!-- Loads the properties from the user profile -->
<xmlproperty file="${basedir}/profiles.xml" keeproot="false"/>
@@ -80,16 +80,16 @@
<property name="jboss423.home" value="${profiles.profile.properties.jboss423.home}"/>
<property name="jboss424.home" value="${profiles.profile.properties.jboss424.home}"/>
<property name="jboss500.home" value="${profiles.profile.properties.jboss500.home}"/>
- <property name="jboss501.home" value="${profiles.profile.properties.jboss501.home}"/>
<property name="jboss510.home" value="${profiles.profile.properties.jboss510.home}"/>
+ <property name="jboss600.home" value="${profiles.profile.properties.jboss600.home}"/>
<echo/>
<echo message="jboss422.home=${jboss422.home}"/>
<echo message="jboss423.home=${jboss423.home}"/>
<echo message="jboss424.home=${jboss424.home}"/>
<echo message="jboss500.home=${jboss500.home}"/>
- <echo message="jboss501.home=${jboss501.home}"/>
<echo message="jboss510.home=${jboss510.home}"/>
+ <echo message="jboss600.home=${jboss600.home}"/>
</target>
<target name="init" depends="mvn-settings,prepare,os-init">
Modified: stack/cxf/trunk/modules/management/pom.xml
===================================================================
--- stack/cxf/trunk/modules/management/pom.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/management/pom.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -54,12 +54,12 @@
<!-- START -->
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss501CR1</artifactId>
+ <artifactId>jbossws-jboss510x</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss510x</artifactId>
+ <artifactId>jbossws-jboss600x</artifactId>
<scope>runtime</scope>
</dependency>
<!-- END -->
Modified: stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml
===================================================================
--- stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/resources/src/main/resources/resources/jbossws-deploy-macros.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -153,7 +153,22 @@
</copy>
</sequential>
</macrodef>
-
+
+ <macrodef name="macro-deploy-jbossws-lib60">
+ <attribute name="thirdpartydir"/>
+ <attribute name="targetdir"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <copy todir="@{targetdir}" flatten="true" overwrite="true">
+ <fileset dir="@{thirdpartydir}">
+ <patternset refid="jbossws.lib.patternset"/>
+ <include name="**/jaxb-impl.jar"/>
+ <include name="**/wstx.jar"/>
+ </fileset>
+ </copy>
+ </sequential>
+ </macrodef>
+
<!-- ================================================================== -->
<!-- Deploy Lib Endorsed -->
<!-- ================================================================== -->
@@ -225,6 +240,24 @@
</copy>
</sequential>
</macrodef>
+
+ <macrodef name="macro-deploy-jbossws-client60">
+ <attribute name="thirdpartydir"/>
+ <attribute name="targetdir"/>
+ <attribute name="jbossid"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <copy todir="@{targetdir}" flatten="true" overwrite="true">
+ <fileset dir="@{thirdpartydir}">
+ <patternset refid="jbossws.client.patternset"/>
+ <!-- [JBWS-2263] -->
+ <!-- START -->
+ <include name="**/jbossws-(a){jbossid}.jar"/>
+ <!-- END -->
+ </fileset>
+ </copy>
+ </sequential>
+ </macrodef>
<!-- ================================================================== -->
<!-- Deploy Server Lib -->
@@ -272,6 +305,20 @@
</copy>
</sequential>
</macrodef>
+
+ <macrodef name="macro-deploy-jbossws-server-lib60">
+ <attribute name="thirdpartydir"/>
+ <attribute name="targetdir"/>
+ <attribute name="jbossid"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <copy todir="@{targetdir}" flatten="true" overwrite="true">
+ <fileset dir="@{thirdpartydir}">
+ <patternset refid="jbossws.server.lib.patternset"/>
+ </fileset>
+ </copy>
+ </sequential>
+ </macrodef>
<!-- ================================================================== -->
<!-- Deploy JUDDI Service -->
@@ -364,6 +411,21 @@
</unzip>
</sequential>
</macrodef>
+
+ <macrodef name="macro-deploy-jbossws-cxf60-sar">
+ <attribute name="thirdpartydir"/>
+ <attribute name="artifactsdir"/>
+ <attribute name="targetdir"/>
+ <attribute name="jbossid"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <unzip dest="@{targetdir}/jbossws-management.war">
+ <fileset dir="@{thirdpartydir}">
+ <include name="**/jbossws-cxf-management.war"/>
+ </fileset>
+ </unzip>
+ </sequential>
+ </macrodef>
<!-- ================================================================== -->
<!-- Deploy Deployers -->
@@ -444,7 +506,45 @@
<!-- END -->
</sequential>
</macrodef>
-
+
+ <macrodef name="macro-deploy-jbossws-deployers60">
+ <attribute name="thirdpartydir"/>
+ <attribute name="artifactsdir"/>
+ <attribute name="targetdir"/>
+ <attribute name="jbossid"/>
+ <sequential>
+ <mkdir dir="@{targetdir}"/>
+ <copy todir="@{targetdir}" flatten="true" overwrite="true">
+ <fileset dir="@{thirdpartydir}">
+ <patternset refid="jbossws.service.lib.patternset"/>
+ </fileset>
+ </copy>
+ <copy todir="@{targetdir}">
+ <fileset dir="@{artifactsdir}/resources/jbossws-(a){jbossid}/jbossws.beans">
+ <include name="META-INF/**"/>
+ </fileset>
+ </copy>
+ <copy todir="@{targetdir}" flatten="true" overwrite="true">
+ <fileset dir="@{thirdpartydir}">
+ <include name="**/jbossws-common.jar"/>
+ <include name="**/jbossws-framework.jar"/>
+ <!-- [JBWS-2263] -->
+ <!-- START -->
+ <include name="**/jbossws-(a){jbossid}.jar"/>
+ <!-- END -->
+ </fileset>
+ </copy>
+ <!-- [JBWS-2263] -->
+ <!-- START -->
+ <copy todir="@{targetdir}/META-INF" flatten="true" overwrite="true">
+ <fileset dir="@{artifactsdir}/resources/jbossws-@{jbossid}">
+ <include name="**/jbossws-deployer-jboss-beans.xml"/>
+ </fileset>
+ </copy>
+ <!-- END -->
+ </sequential>
+ </macrodef>
+
<!-- ================================================================== -->
<!-- Deploy JBossWS -->
<!-- ================================================================== -->
@@ -480,6 +580,17 @@
<macro-deploy-jbossws-deployers51 targetdir="${installserver}/deployers/jbossws.deployer/" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
<macro-deploy-juddi-sar targetdir="${installserver}/deploy/juddi-service.sar" thirdpartydir="${thirdpartydir}"/>
</target>
+
+ <target name="deploy-jbossws-cxf60" depends="check-parameters">
+ <macro-deploy-jbossws-bin targetdir="${installserver}/../../bin" artifactsdir="${artifactsdir}"/>
+ <macro-deploy-jbossws-client60 targetdir="${installserver}/../../client" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <macro-deploy-jbossws-lib60 targetdir="${installserver}/../../lib" thirdpartydir="${thirdpartydir}"/>
+ <macro-deploy-jbossws-endorsed targetdir="${installserver}/../../lib/endorsed" thirdpartydir="${thirdpartydir}"/>
+ <macro-deploy-jbossws-server-lib60 targetdir="${installserver}/../../common/lib" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/> <!-- Please note the "../../common" to use common server lib! -->
+ <macro-deploy-jbossws-cxf60-sar targetdir="${installserver}/deploy/jbossws.sar" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <macro-deploy-jbossws-deployers60 targetdir="${installserver}/deployers/jbossws.deployer/" artifactsdir="${artifactsdir}" thirdpartydir="${thirdpartydir}" jbossid="${jbossid}"/>
+ <macro-deploy-juddi-sar targetdir="${installserver}/deploy/juddi-service.sar" thirdpartydir="${thirdpartydir}"/>
+ </target>
<target name="check-parameters">
<fail message="installserver must be specified" unless="installserver"/>
@@ -604,5 +715,44 @@
</sequential>
</macrodef>
+
+ <macrodef name="macro-undeploy-jbossws60">
+ <attribute name="defaultconf"/>
+ <attribute name="targetdir"/>
+ <sequential>
+ <loadfile property="jbossws.deploy.conf" srcfile="@{targetdir}/jbossws-deploy.conf" failonerror="false"/>
+ <loadfile property="jbossws.deploy.conf" srcfile="@{defaultconf}" failonerror="false"/>
+
+ <property name="jboss.server.home" value="@{targetdir}/../.."/>
+ <property name="jboss.home" value="${jboss.server.home}/../.."/>
+ <available property="jboss.undeploy.client" file="${jboss.home}/client"/>
+ <fail message="Cannot find ${jboss.home}/client" unless="jboss.undeploy.client"/>
+
+ <!-- [JBWS-2263] -->
+ <!-- START -->
+ <!-- delete stale container integration jars -->
+ <delete>
+ <fileset dir="${jboss.server.home}">
+ <include name="**/jbossws-jboss*.jar"/>
+ </fileset>
+ <fileset dir="${jboss.home}/client">
+ <include name="jbossws-jboss*.jar"/>
+ </fileset>
+ </delete>
+ <!-- END -->
+
+ <!-- delete content of last deployment -->
+ <delete>
+ <fileset dir="${jboss.home}" includes="${jbossws.deploy.conf}"/>
+ </delete>
+
+ <!-- delete jbossws.sar -->
+ <delete dir="@{targetdir}"/>
+
+ <!-- delete juddi-service.sar -->
+ <delete dir="@{targetdir}/../juddi-service.sar"/>
+
+ </sequential>
+ </macrodef>
</project>
Modified: stack/cxf/trunk/modules/server/pom.xml
===================================================================
--- stack/cxf/trunk/modules/server/pom.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/server/pom.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -197,19 +197,19 @@
<!-- START -->
<artifactItem>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss501CR1</artifactId>
- <version>${jbossws.jboss501.version}</version>
+ <artifactId>jbossws-jboss510x</artifactId>
+ <version>${jbossws.jboss510.version}</version>
<classifier>resources</classifier>
<type>zip</type>
- <outputDirectory>${project.build.directory}/resources/jbossws-jboss501</outputDirectory>
+ <outputDirectory>${project.build.directory}/resources/jbossws-jboss510</outputDirectory>
</artifactItem>
<artifactItem>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss510x</artifactId>
- <version>${jbossws.jboss510.version}</version>
+ <artifactId>jbossws-jboss600x</artifactId>
+ <version>${jbossws.jboss600.version}</version>
<classifier>resources</classifier>
<type>zip</type>
- <outputDirectory>${project.build.directory}/resources/jbossws-jboss510</outputDirectory>
+ <outputDirectory>${project.build.directory}/resources/jbossws-jboss600</outputDirectory>
</artifactItem>
<!-- END -->
</artifactItems>
Modified: stack/cxf/trunk/modules/server/src/main/scripts/antrun-beans-config.xml
===================================================================
--- stack/cxf/trunk/modules/server/src/main/scripts/antrun-beans-config.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/server/src/main/scripts/antrun-beans-config.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -73,9 +73,9 @@
</deployment> </footer>
</concat>
- <!-- Concat jbossws-jboss501/jbossws.beans -->
- <echo message="Concat jbossws-jboss501/jbossws.beans"/>
- <concat destfile="${project.build.resources.directory}/jbossws-jboss501/jbossws.beans/META-INF/jboss-beans.xml">
+ <!-- Concat jbossws-jboss510/jbossws.beans -->
+ <echo message="Concat jbossws-jboss510/jbossws.beans"/>
+ <concat destfile="${project.build.resources.directory}/jbossws-jboss510/jbossws.beans/META-INF/jboss-beans.xml">
<header trimleading="yes">
<deployment xmlns="urn:jboss:bean-deployer:2.0"> </header>
<fileset file="${project.resources.directory}/jbossws-cxf-config.xml"/>
@@ -83,9 +83,9 @@
</deployment> </footer>
</concat>
- <!-- Concat jbossws-jboss510/jbossws.beans -->
- <echo message="Concat jbossws-jboss510/jbossws.beans"/>
- <concat destfile="${project.build.resources.directory}/jbossws-jboss510/jbossws.beans/META-INF/jboss-beans.xml">
+ <!-- Concat jbossws-jboss600/jbossws.beans -->
+ <echo message="Concat jbossws-jboss600/jbossws.beans"/>
+ <concat destfile="${project.build.resources.directory}/jbossws-jboss600/jbossws.beans/META-INF/jboss-beans.xml">
<header trimleading="yes">
<deployment xmlns="urn:jboss:bean-deployer:2.0"> </header>
<fileset file="${project.resources.directory}/jbossws-cxf-config.xml"/>
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -462,14 +462,14 @@
</profile>
<!--
- Name: jboss501
- Descr: JBoss-5.0.1 specific options
+ Name: jboss510
+ Descr: JBoss-5.1.0 specific options
-->
<profile>
- <id>jboss501</id>
+ <id>jboss510</id>
<properties>
- <jboss.version>5.0.1-SNAPSHOT</jboss.version>
- <jbossws.integration.target>jboss501</jbossws.integration.target>
+ <jboss.version>5.1.0-SNAPSHOT</jboss.version>
+ <jbossws.integration.target>jboss510</jbossws.integration.target>
<endpoint.servlet>org.jboss.wsf.stack.cxf.CXFServletExt</endpoint.servlet>
</properties>
<dependencies>
@@ -477,7 +477,7 @@
<!-- START -->
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss501CR1</artifactId>
+ <artifactId>jbossws-jboss510x</artifactId>
</dependency>
<!--dependency>
<groupId>org.jboss.jbossas</groupId>
@@ -508,13 +508,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- http://jira.codehaus.org/browse/MCOMPILER-72 -->
- <testExcludeFile>../test-excludes-jboss501.txt</testExcludeFile>
+ <testExcludeFile>../test-excludes-jboss510.txt</testExcludeFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss501.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss510.home}/lib/endorsed</argLine>
<!-- TODO: replace with maven dependencies -->
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
@@ -527,14 +527,14 @@
</profile>
<!--
- Name: jboss510
- Descr: JBoss-5.1.0 specific options
+ Name: jboss600
+ Descr: JBoss-6.0.0 specific options
-->
<profile>
- <id>jboss510</id>
+ <id>jboss600</id>
<properties>
- <jboss.version>5.1.0-SNAPSHOT</jboss.version>
- <jbossws.integration.target>jboss510</jbossws.integration.target>
+ <jboss.version>6.0.0-SNAPSHOT</jboss.version>
+ <jbossws.integration.target>jboss600</jbossws.integration.target>
<endpoint.servlet>org.jboss.wsf.stack.cxf.CXFServletExt</endpoint.servlet>
</properties>
<dependencies>
@@ -542,7 +542,7 @@
<!-- START -->
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss510x</artifactId>
+ <artifactId>jbossws-jboss600x</artifactId>
</dependency>
<!--dependency>
<groupId>org.jboss.jbossas</groupId>
@@ -573,13 +573,13 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- http://jira.codehaus.org/browse/MCOMPILER-72 -->
- <testExcludeFile>../test-excludes-jboss510.txt</testExcludeFile>
+ <testExcludeFile>../test-excludes-jboss600.txt</testExcludeFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss510.home}/lib/endorsed</argLine>
+ <argLine>${surefire.jvm.args} -Djava.endorsed.dirs=${jboss600.home}/lib/endorsed</argLine>
<!-- TODO: replace with maven dependencies -->
<additionalClasspathElements>
<additionalClasspathElement>${jboss.home}/client/jbossall-client.jar</additionalClasspathElement>
Deleted: stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss501.txt 2009-01-08 15:05:40 UTC (rev 8991)
@@ -1,114 +0,0 @@
-# Won't Fix: [CXF-1261] Handler does not see XOP message properly
-org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
-
-# Exclude endpoints with AS42 @SecurityDomain
-org/jboss/test/ws/jaxws/samples/securityDomain/SecureEndpointImpl.*
-
-# TODO: Fix classpath to ClientLauncher
-org/jboss/test/ws/jaxws/samples/webserviceref/**
-
-# [CXF-1244] Application Exception not initialized properly
-org/jboss/test/ws/jaxws/samples/exception/**
-
-# [CXF-1252] Provider PAYLOAD endpoint expects SOAP Envelope
-org/jboss/test/ws/jaxws/samples/httpbinding/**
-org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
-org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
-
-# [CXF-1253] CXF does not respect @HandlerChain on client SEI
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-
-# [CXF-1510] Cannot handle anonymous bare requests
-org/jboss/test/ws/jaxws/anonymous/**
-
-# [CXF-1511] WrappedMessageContext does not implement SOAPMessageContext
-org/jboss/test/ws/jaxws/binding/**
-org/jboss/test/ws/jaxws/namespace/**
-
-# [CXF-1513] NPE in JaxWsServiceConfiguration
-org/jboss/test/ws/jaxws/handlerscope/**
-org/jboss/test/ws/jaxws/jbws1694/**
-org/jboss/test/ws/jaxws/jbws1797/**
-
-# [JBWS-2247][CXF-1514] Generated WSDL does not take 'transport-guarantee' in web.xml into account
-org/jboss/test/ws/jaxws/jbws1190/**
-
-# [CXF-1515] Bad Enumeration value 'extension restriction'
-org/jboss/test/ws/jaxws/jbws1505/**
-
-# [CXF-1516] Type inheritance with document/literal/wrapped
-org/jboss/test/ws/jaxws/jbws1702/**
-org/jboss/test/ws/jaxws/jbws1733/**
-
-# [CXF-1517] HTTP bindings for Provider
-org/jboss/test/ws/jaxws/jbws1807/**
-
-# [CXF-1518] Missing fault detail in messages from SLSB Provider
-org/jboss/test/ws/jaxws/jbws1815/**
-
-# [CXF-1519] Explicitly set the namespace of a WebFault
-org/jboss/test/ws/jaxws/jbws1904/**
-
-# [CXF-1520] MTOM chunked encoding transfer
-org/jboss/test/ws/jaxws/jbws2000/**
-
-# [CXF-1521] Exception handling with @WebFault annotation
-org/jboss/test/ws/jaxws/webfault/**
-
-# [CXF-1522] NPE in ServiceUtils
-org/jboss/test/ws/jaxws/jbws1566/**
-
-# [CXF-1623] Wrong AnnotationHandlerChainBuilder.protocolMatches() method implementation or preconditions
-org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
-
-# [CXF-1624] XmlSchemaException: Schema name conflict in collection
-org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
-
-# [EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
-org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
-org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.*
-
-# [JBWS-1178] Multiple virtual host and soap:address problem
-org/jboss/test/ws/jaxws/jbws1178/**
-
-# [JBWS-1774] Provide tools implementation for CXF
-org/jboss/test/ws/jaxws/complex/**
-org/jboss/test/ws/jaxws/holder/**
-org/jboss/test/ws/jaxws/smoke/tools/**
-
-# [JBWS-2112] Cannot use CXF with endpoint API
-org/jboss/test/ws/jaxws/endpoint/**
-
-# [JBWS-2114] IllegalArgumentException: Wrong target. class
-org/jboss/test/ws/jaxws/jbws1283/**
-org/jboss/test/ws/jaxws/jbws1822/**
-
-# [JBWS-2115] EJB client vehicle not sufficiently isolated
-org/jboss/test/ws/jaxws/jbws1581/**
-
-# [JBWS-2117] web.xml modified to web.xml.org - Subsequent runs fail
-org/jboss/test/ws/jaxws/jbws1762/**
-
-# [JBWS-2118] context-root in jboss.xml is ignored
-org/jboss/test/ws/jaxws/jbws1813/**
-
-# [JBWS-2119] WebServiceRef injection from DD doesn't work
-org/jboss/test/ws/jaxws/jbws1841/**
-
-# [JBWS-2165] Fix xop tests with maven build
-org/jboss/test/ws/jaxws/samples/xop/**
-
-# [JBWS-2223] wsconsume for cxf build
-org/jboss/test/ws/jaxws/complex/**
-org/jboss/test/ws/jaxws/holder/**
-
-# [JBWS-2330] Failed to deploy service with multiple bindings
-org/jboss/test/ws/jaxws/jbws2278/**
-
-# [JBWS-2227] Investigate why multiple virtual hosts test fails on CXF
-org/jboss/test/ws/jaxws/jbws1178/**
-
-# [JBWS-2384] NameAlreadyBoundException when more than one virtual host are specified in @WebContext(virtualHosts) annotation variable
-org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
-
Added: stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
===================================================================
--- stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt (rev 0)
+++ stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt 2009-01-08 15:05:40 UTC (rev 8991)
@@ -0,0 +1,114 @@
+# Won't Fix: [CXF-1261] Handler does not see XOP message properly
+org/jboss/test/ws/jaxws/samples/xop/doclit/XOPHandlerTestCase.*
+
+# Exclude endpoints with AS42 @SecurityDomain
+org/jboss/test/ws/jaxws/samples/securityDomain/SecureEndpointImpl.*
+
+# TODO: Fix classpath to ClientLauncher
+org/jboss/test/ws/jaxws/samples/webserviceref/**
+
+# [CXF-1244] Application Exception not initialized properly
+org/jboss/test/ws/jaxws/samples/exception/**
+
+# [CXF-1252] Provider PAYLOAD endpoint expects SOAP Envelope
+org/jboss/test/ws/jaxws/samples/httpbinding/**
+org/jboss/test/ws/jaxws/samples/provider/ProviderJAXBTestCase.*
+org/jboss/test/ws/jaxws/samples/provider/ProviderPayloadTestCase.*
+
+# [CXF-1253] CXF does not respect @HandlerChain on client SEI
+org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerSourceTestCase.*
+org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
+
+# [CXF-1510] Cannot handle anonymous bare requests
+org/jboss/test/ws/jaxws/anonymous/**
+
+# [CXF-1511] WrappedMessageContext does not implement SOAPMessageContext
+org/jboss/test/ws/jaxws/binding/**
+org/jboss/test/ws/jaxws/namespace/**
+
+# [CXF-1513] NPE in JaxWsServiceConfiguration
+org/jboss/test/ws/jaxws/handlerscope/**
+org/jboss/test/ws/jaxws/jbws1694/**
+org/jboss/test/ws/jaxws/jbws1797/**
+
+# [JBWS-2247][CXF-1514] Generated WSDL does not take 'transport-guarantee' in web.xml into account
+org/jboss/test/ws/jaxws/jbws1190/**
+
+# [CXF-1515] Bad Enumeration value 'extension restriction'
+org/jboss/test/ws/jaxws/jbws1505/**
+
+# [CXF-1516] Type inheritance with document/literal/wrapped
+org/jboss/test/ws/jaxws/jbws1702/**
+org/jboss/test/ws/jaxws/jbws1733/**
+
+# [CXF-1517] HTTP bindings for Provider
+org/jboss/test/ws/jaxws/jbws1807/**
+
+# [CXF-1518] Missing fault detail in messages from SLSB Provider
+org/jboss/test/ws/jaxws/jbws1815/**
+
+# [CXF-1519] Explicitly set the namespace of a WebFault
+org/jboss/test/ws/jaxws/jbws1904/**
+
+# [CXF-1520] MTOM chunked encoding transfer
+org/jboss/test/ws/jaxws/jbws2000/**
+
+# [CXF-1521] Exception handling with @WebFault annotation
+org/jboss/test/ws/jaxws/webfault/**
+
+# [CXF-1522] NPE in ServiceUtils
+org/jboss/test/ws/jaxws/jbws1566/**
+
+# [CXF-1623] Wrong AnnotationHandlerChainBuilder.protocolMatches() method implementation or preconditions
+org/jboss/test/ws/jaxws/samples/handlerchain/HandlerChainTestCase.*
+
+# [CXF-1624] XmlSchemaException: Schema name conflict in collection
+org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalHandlerJAXBTestCase.*
+
+# [EJBTHREE-1152] service-ref in ejb-jar.xml is ignored
+org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.*
+org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.*
+
+# [JBWS-1178] Multiple virtual host and soap:address problem
+org/jboss/test/ws/jaxws/jbws1178/**
+
+# [JBWS-1774] Provide tools implementation for CXF
+org/jboss/test/ws/jaxws/complex/**
+org/jboss/test/ws/jaxws/holder/**
+org/jboss/test/ws/jaxws/smoke/tools/**
+
+# [JBWS-2112] Cannot use CXF with endpoint API
+org/jboss/test/ws/jaxws/endpoint/**
+
+# [JBWS-2114] IllegalArgumentException: Wrong target. class
+org/jboss/test/ws/jaxws/jbws1283/**
+org/jboss/test/ws/jaxws/jbws1822/**
+
+# [JBWS-2115] EJB client vehicle not sufficiently isolated
+org/jboss/test/ws/jaxws/jbws1581/**
+
+# [JBWS-2117] web.xml modified to web.xml.org - Subsequent runs fail
+org/jboss/test/ws/jaxws/jbws1762/**
+
+# [JBWS-2118] context-root in jboss.xml is ignored
+org/jboss/test/ws/jaxws/jbws1813/**
+
+# [JBWS-2119] WebServiceRef injection from DD doesn't work
+org/jboss/test/ws/jaxws/jbws1841/**
+
+# [JBWS-2165] Fix xop tests with maven build
+org/jboss/test/ws/jaxws/samples/xop/**
+
+# [JBWS-2223] wsconsume for cxf build
+org/jboss/test/ws/jaxws/complex/**
+org/jboss/test/ws/jaxws/holder/**
+
+# [JBWS-2330] Failed to deploy service with multiple bindings
+org/jboss/test/ws/jaxws/jbws2278/**
+
+# [JBWS-2227] Investigate why multiple virtual hosts test fails on CXF
+org/jboss/test/ws/jaxws/jbws1178/**
+
+# [JBWS-2384] NameAlreadyBoundException when more than one virtual host are specified in @WebContext(virtualHosts) annotation variable
+org/jboss/test/ws/jaxws/jbws981/JBWS981TestCase.*
+
Property changes on: stack/cxf/trunk/modules/testsuite/test-excludes-jboss600.txt
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Modified: stack/cxf/trunk/pom.xml
===================================================================
--- stack/cxf/trunk/pom.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/pom.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -44,7 +44,7 @@
<!-- Properties -->
<properties>
- <jbossws.common.version>1.0.8.GA</jbossws.common.version>
+ <jbossws.common.version>1.0.9-SNAPSHOT</jbossws.common.version>
<jbossws.framework.version>3.0.6-SNAPSHOT</jbossws.framework.version>
<jbossws.spi.version>1.0.7.GA</jbossws.spi.version>
<jbossws.jboss422.version>3.0.5.GA</jbossws.jboss422.version>
@@ -53,8 +53,8 @@
<jbossws.jboss500.version>3.0.5.GA</jbossws.jboss500.version>
<!-- JBWS-2263 -->
<!-- START -->
- <jbossws.jboss501.version>3.0.5.GA</jbossws.jboss501.version>
<jbossws.jboss510.version>3.0.5.GA</jbossws.jboss510.version>
+ <jbossws.jboss600.version>3.0.6-SNAPSHOT</jbossws.jboss600.version>
<!-- END -->
<cxf.version>2.1</cxf.version>
<cxf.stax.version>1.0.1</cxf.stax.version>
@@ -152,25 +152,25 @@
<!-- START -->
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss501CR1</artifactId>
- <version>${jbossws.jboss501.version}</version>
+ <artifactId>jbossws-jboss510x</artifactId>
+ <version>${jbossws.jboss510.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss501CR1</artifactId>
- <version>${jbossws.jboss501.version}</version>
+ <artifactId>jbossws-jboss510x</artifactId>
+ <version>${jbossws.jboss510.version}</version>
<classifier>resources</classifier>
<type>zip</type>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss510x</artifactId>
- <version>${jbossws.jboss510.version}</version>
+ <artifactId>jbossws-jboss600x</artifactId>
+ <version>${jbossws.jboss600.version}</version>
</dependency>
<dependency>
<groupId>org.jboss.ws</groupId>
- <artifactId>jbossws-jboss510x</artifactId>
- <version>${jbossws.jboss510.version}</version>
+ <artifactId>jbossws-jboss600x</artifactId>
+ <version>${jbossws.jboss600.version}</version>
<classifier>resources</classifier>
<type>zip</type>
</dependency>
@@ -512,26 +512,26 @@
</profile>
<!--
- Name: jboss501
- Descr: JBoss-5.0.1 specific options
+ Name: jboss510
+ Descr: JBoss-5.1.0 specific options
-->
<profile>
- <id>jboss501</id>
+ <id>jboss510</id>
<properties>
- <jbossws.integration.target>jboss501</jbossws.integration.target>
- <jboss.home>${jboss501.home}</jboss.home>
+ <jbossws.integration.target>jboss510</jbossws.integration.target>
+ <jboss.home>${jboss510.home}</jboss.home>
</properties>
</profile>
<!--
- Name: jboss510
- Descr: JBoss-5.1.0 specific options
+ Name: jboss600
+ Descr: JBoss-6.0.0 specific options
-->
<profile>
- <id>jboss510</id>
+ <id>jboss600</id>
<properties>
- <jbossws.integration.target>jboss510</jbossws.integration.target>
- <jboss.home>${jboss510.home}</jboss.home>
+ <jbossws.integration.target>jboss600</jbossws.integration.target>
+ <jboss.home>${jboss600.home}</jboss.home>
</properties>
</profile>
Modified: stack/cxf/trunk/profiles.xml.example
===================================================================
--- stack/cxf/trunk/profiles.xml.example 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/profiles.xml.example 2009-01-08 15:05:40 UTC (rev 8991)
@@ -15,8 +15,8 @@
<jboss423.home>/home/tdiesler/svn/jbossas/tags/JBoss_4_2_3_GA/build/output/jboss-4.2.3.GA</jboss423.home>
<jboss424.home>/home/tdiesler/svn/jbossas/branches/Branch_4_2/build/output/jboss-4.2.4.GA</jboss424.home>
<jboss500.home>/home/tdiesler/svn/jbossas/tags/JBoss_5_0_0_GA/build/output/jboss-5.0.0.GA</jboss500.home>
- <jboss501.home>/home/tdiesler/svn/jbossas/branches/Branch_5_0/build/output/jboss-5.0.1.CR1</jboss501.home>
- <jboss510.home>/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.1.0.Beta1</jboss510.home>
+ <jboss510.home>/home/tdiesler/svn/jbossas/branches/Branch_5_x/build/output/jboss-5.1.0.Beta1</jboss510.home>
+ <jboss600.home>/home/tdiesler/svn/jbossas/trunk/build/output/jboss-6.0.0.Alpha1</jboss600.home>
</properties>
</profile>
Modified: stack/cxf/trunk/src/main/distro/Install.txt
===================================================================
--- stack/cxf/trunk/src/main/distro/Install.txt 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/distro/Install.txt 2009-01-08 15:05:40 UTC (rev 8991)
@@ -16,6 +16,7 @@
ant deploy-jboss42x
ant deploy-jboss50x
ant deploy-jboss51x
+ ant deploy-jboss60x
4.) Execute the samples to verify your installation
Modified: stack/cxf/trunk/src/main/distro/ant.properties.example
===================================================================
--- stack/cxf/trunk/src/main/distro/ant.properties.example 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/distro/ant.properties.example 2009-01-08 15:05:40 UTC (rev 8991)
@@ -7,10 +7,10 @@
jboss423.home=(a)jboss423.home@
jboss424.home=(a)jboss424.home@
jboss500.home=(a)jboss500.home@
-jboss501.home=(a)jboss501.home@
jboss510.home=(a)jboss510.home@
+jboss600.home=(a)jboss600.home@
-# The JBoss server under test. This can be [jboss422|jboss423|jboss424|jboss500|jboss501|jboss510]
+# The JBoss server under test. This can be [jboss422|jboss423|jboss424|jboss500|jboss510|jboss600]
jbossws.integration.target=jboss500
# The JBoss settings
Modified: stack/cxf/trunk/src/main/distro/build-deploy.xml
===================================================================
--- stack/cxf/trunk/src/main/distro/build-deploy.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/distro/build-deploy.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -130,28 +130,6 @@
</target>
<!-- ================================================================== -->
- <!-- Deployment JBoss501 -->
- <!-- ================================================================== -->
-
- <target name="target-jboss501">
- <property name="jbossws.integration.target" value="jboss501"/>
- <echo message="jbossws.integration.target=${jbossws.integration.target}" file="${target.properties.file}"/>
- </target>
-
- <target name="deploy-jboss501" depends="undeploy-jboss501,deploy-structure-jboss50" description="Deploy jbossws to jboss501">
- <fail message="Not available: ${jboss501.available.file}" unless="jboss501.available"/>
- <copy todir="${jboss501.home}" overwrite="true">
- <fileset dir="${deploy.structure}"/>
- </copy>
- <chmod dir="${jboss501.home}/bin" perm="+x" includes="*.sh"/>
- </target>
-
- <target name="undeploy-jboss501" depends="target-jboss501,init" description="Remove jbossws from jboss501">
- <fail message="Not available: ${jboss501.available.file}" unless="jboss501.available"/>
- <macro-undeploy-jbossws50 targetdir="${jboss501.server.deploy}/jbossws.sar" defaultconf="${jbossws.as5.default.deploy.conf}"/>
- </target>
-
- <!-- ================================================================== -->
<!-- Prepare Deployment Structure JBoss-5.1.x -->
<!-- ================================================================== -->
@@ -189,6 +167,43 @@
</target>
<!-- ================================================================== -->
+ <!-- Prepare Deployment Structure JBoss-6.0.x -->
+ <!-- ================================================================== -->
+
+ <target name="deploy-structure-jboss60" depends="prepare-deploy">
+ <delete dir="${deploy.structure}"/>
+ <antcall target="deploy-jbossws-cxf60" inheritall="false">
+ <param name="installserver" value="${deploy.structure}/server/${jboss.server.instance}"/>
+ <param name="jbossid" value="${jbossws.integration.target}"/>
+ <param name="artifactsdir" value="${deploy.artifacts.dir}"/>
+ <param name="thirdpartydir" value="${deploy.artifacts.dir}"/>
+ </antcall>
+ <macro-create-deploy-conf deploystructure="${deploy.structure}"/>
+ </target>
+
+ <!-- ================================================================== -->
+ <!-- Deployment JBoss600 -->
+ <!-- ================================================================== -->
+
+ <target name="target-jboss600">
+ <property name="jbossws.integration.target" value="jboss600"/>
+ <echo message="jbossws.integration.target=${jbossws.integration.target}" file="${target.properties.file}"/>
+ </target>
+
+ <target name="deploy-jboss600" depends="undeploy-jboss600,deploy-structure-jboss60" description="Deploy jbossws to jboss600">
+ <fail message="Not available: ${jboss600.available.file}" unless="jboss600.available"/>
+ <copy todir="${jboss600.home}" overwrite="true">
+ <fileset dir="${deploy.structure}"/>
+ </copy>
+ <chmod dir="${jboss600.home}/bin" perm="+x" includes="*.sh"/>
+ </target>
+
+ <target name="undeploy-jboss600" depends="target-jboss600,init" description="Remove jbossws from jboss600">
+ <fail message="Not available: ${jboss600.available.file}" unless="jboss600.available"/>
+ <macro-undeploy-jbossws60 targetdir="${jboss600.server.deploy}/jbossws.sar" defaultconf="${jbossws.as5.default.deploy.conf}"/>
+ </target>
+
+ <!-- ================================================================== -->
<!-- Create jbossws-deploy.conf -->
<!-- ================================================================== -->
Modified: stack/cxf/trunk/src/main/distro/build-setup.xml
===================================================================
--- stack/cxf/trunk/src/main/distro/build-setup.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/distro/build-setup.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -46,33 +46,33 @@
<property name="jboss500.server.deploy" value="${jboss500.server}/deploy"/>
<property name="jboss500.server.deployers" value="${jboss500.server}/deployers"/>
- <property name="jboss501.lib" value="${jboss501.home}/lib"/>
- <property name="jboss501.client" value="${jboss501.home}/client"/>
- <property name="jboss501.server" value="${jboss501.home}/server/${jboss.server.instance}"/>
- <property name="jboss501.server.lib" value="${jboss501.home}/common/lib"/>
- <property name="jboss501.server.deploy" value="${jboss501.server}/deploy"/>
- <property name="jboss501.server.deployers" value="${jboss501.server}/deployers"/>
-
<property name="jboss510.lib" value="${jboss510.home}/lib"/>
<property name="jboss510.client" value="${jboss510.home}/client"/>
<property name="jboss510.server" value="${jboss510.home}/server/${jboss.server.instance}"/>
<property name="jboss510.server.lib" value="${jboss510.home}/common/lib"/>
<property name="jboss510.server.deploy" value="${jboss510.server}/deploy"/>
<property name="jboss510.server.deployers" value="${jboss510.server}/deployers"/>
+
+ <property name="jboss600.lib" value="${jboss600.home}/lib"/>
+ <property name="jboss600.client" value="${jboss600.home}/client"/>
+ <property name="jboss600.server" value="${jboss600.home}/server/${jboss.server.instance}"/>
+ <property name="jboss600.server.lib" value="${jboss600.home}/common/lib"/>
+ <property name="jboss600.server.deploy" value="${jboss600.server}/deploy"/>
+ <property name="jboss600.server.deployers" value="${jboss600.server}/deployers"/>
<property name="jboss422.available.file" value="${jboss422.client}/jboss-client.jar"/>
<property name="jboss423.available.file" value="${jboss423.client}/jboss-client.jar"/>
<property name="jboss424.available.file" value="${jboss424.client}/jboss-client.jar"/>
<property name="jboss500.available.file" value="${jboss500.client}/jboss-client.jar"/>
- <property name="jboss501.available.file" value="${jboss501.client}/jboss-client.jar"/>
<property name="jboss510.available.file" value="${jboss510.client}/jboss-client.jar"/>
+ <property name="jboss600.available.file" value="${jboss600.client}/jboss-client.jar"/>
<available property="jboss422.available" file="${jboss422.available.file}"/>
<available property="jboss423.available" file="${jboss423.available.file}"/>
<available property="jboss424.available" file="${jboss424.available.file}"/>
<available property="jboss500.available" file="${jboss500.available.file}"/>
- <available property="jboss501.available" file="${jboss501.available.file}"/>
<available property="jboss510.available" file="${jboss510.available.file}"/>
+ <available property="jboss600.available" file="${jboss600.available.file}"/>
<tstamp>
<format property="build.id" pattern="yyyyMMddHHmm"/>
Modified: stack/cxf/trunk/src/main/distro/build.xml
===================================================================
--- stack/cxf/trunk/src/main/distro/build.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/distro/build.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -56,7 +56,6 @@
<condition property="jbossws.integration.jboss50" value="true">
<or>
<equals arg1="${jbossws.integration.target}" arg2="jboss500"/>
- <equals arg1="${jbossws.integration.target}" arg2="jboss501"/>
</or>
</condition>
<condition property="jbossws.integration.jboss51" value="true">
@@ -64,6 +63,11 @@
<equals arg1="${jbossws.integration.target}" arg2="jboss510"/>
</or>
</condition>
+ <condition property="jbossws.integration.jboss60" value="true">
+ <or>
+ <equals arg1="${jbossws.integration.target}" arg2="jboss600"/>
+ </or>
+ </condition>
<property name="deploy.structure" value="${output.dir}/deploy-${jbossws.integration.target}"/>
<property name="excludesfile" value="${tests.dir}/resources/test-excludes-${jbossws.integration.target}.txt"/>
Modified: stack/cxf/trunk/src/main/scripts/assembly-deploy-artifacts.xml
===================================================================
--- stack/cxf/trunk/src/main/scripts/assembly-deploy-artifacts.xml 2009-01-08 15:02:41 UTC (rev 8990)
+++ stack/cxf/trunk/src/main/scripts/assembly-deploy-artifacts.xml 2009-01-08 15:05:40 UTC (rev 8991)
@@ -98,22 +98,22 @@
<!-- START -->
<dependencySet>
<outputDirectory>lib</outputDirectory>
- <outputFileNameMapping>jbossws-jboss501.${module.extension}</outputFileNameMapping>
+ <outputFileNameMapping>jbossws-jboss510.${module.extension}</outputFileNameMapping>
<useStrictFiltering>true</useStrictFiltering>
<scope>runtime</scope>
<unpack>false</unpack>
<includes>
- <include>org.jboss.ws:jbossws-jboss501CR1:jar</include>
+ <include>org.jboss.ws:jbossws-jboss510x:jar</include>
</includes>
</dependencySet>
<dependencySet>
<outputDirectory>lib</outputDirectory>
- <outputFileNameMapping>jbossws-jboss510.${module.extension}</outputFileNameMapping>
+ <outputFileNameMapping>jbossws-jboss600.${module.extension}</outputFileNameMapping>
<useStrictFiltering>true</useStrictFiltering>
<scope>runtime</scope>
<unpack>false</unpack>
<includes>
- <include>org.jboss.ws:jbossws-jboss510x:jar</include>
+ <include>org.jboss.ws:jbossws-jboss600x:jar</include>
</includes>
</dependencySet>
<!-- END -->
15 years, 11 months
JBossWS SVN: r8990 - in framework/trunk: testsuite/test/ant-import and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-01-08 10:02:41 -0500 (Thu, 08 Jan 2009)
New Revision: 8990
Modified:
framework/trunk/pom.xml
framework/trunk/testsuite/test/ant-import/build-testsuite.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/eardeployment/EarTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/securityDomain/SecurityDomainTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.java
Log:
[JBWS-2444] Updating tests + pom.xml for AS 6
Modified: framework/trunk/pom.xml
===================================================================
--- framework/trunk/pom.xml 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/pom.xml 2009-01-08 15:02:41 UTC (rev 8990)
@@ -25,7 +25,7 @@
<!-- Properties -->
<properties>
- <jbossws.common.version>1.0.8.GA</jbossws.common.version>
+ <jbossws.common.version>1.0.9-SNAPSHOT</jbossws.common.version>
<jbossws.spi.version>1.0.7.GA</jbossws.spi.version>
<jboss.common.version>1.2.1.GA</jboss.common.version>
<jbossxb.version>1.0.0.SP1</jbossxb.version>
Modified: framework/trunk/testsuite/test/ant-import/build-testsuite.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-testsuite.xml 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/ant-import/build-testsuite.xml 2009-01-08 15:02:41 UTC (rev 8990)
@@ -27,12 +27,12 @@
<condition property="jboss.home" value="${jboss500.home}">
<equals arg1="${jbossws.integration.target}" arg2="jboss500"/>
</condition>
- <condition property="jboss.home" value="${jboss501.home}">
- <equals arg1="${jbossws.integration.target}" arg2="jboss501"/>
- </condition>
<condition property="jboss.home" value="${jboss510.home}">
<equals arg1="${jbossws.integration.target}" arg2="jboss510"/>
</condition>
+ <condition property="jboss.home" value="${jboss600.home}">
+ <equals arg1="${jbossws.integration.target}" arg2="jboss600"/>
+ </condition>
<!-- Verify required properties that must be set before this file is imported -->
<fail message="Tests output dir not set." unless="tests.output.dir"/>
@@ -114,7 +114,7 @@
</tstamp>
</target>
- <target name="tests-classpath" depends="tests-classpath-jboss51,tests-classpath-jboss50,tests-classpath-jboss42">
+ <target name="tests-classpath" depends="tests-classpath-jboss60,tests-classpath-jboss51,tests-classpath-jboss50,tests-classpath-jboss42">
<path id="tests.javac.classpath">
<path refid="ws.stack.classpath"/>
<path refid="tests.extra.classpath"/>
@@ -345,6 +345,84 @@
<pathelement location="${jboss.server.deployers}/jbossweb.deployer/jbossweb.jar"/>
</path>
</target>
+
+ <target name="tests-classpath-jboss60" depends="tests-prepare" if="jbossws.integration.jboss60">
+
+ <path id="integration.target.javac.classpath">
+ <pathelement location="${jboss.client}/activation.jar"/>
+ <pathelement location="${jboss.client}/jaxws-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-annotations-ejb3.jar"/>
+ <pathelement location="${jboss.client}/jboss-appclient.jar"/>
+ <pathelement location="${jboss.client}/jboss-common-core.jar"/>
+ <pathelement location="${jboss.client}/jboss-ejb3-client.jar"/>
+ <pathelement location="${jboss.client}/jboss-ejb3-ext-api.jar"/>
+ <pathelement location="${jboss.client}/jboss-logging-spi.jar"/>
+ <pathelement location="${jboss.client}/jboss-metadata.jar"/>
+ <pathelement location="${jboss.client}/jboss-remoting.jar"/>
+ <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
+ <pathelement location="${jboss.client}/mail.jar"/>
+ <pathelement location="${jboss.client}/stax-api.jar"/>
+ <pathelement location="${jboss.client}/wsdl4j.jar"/>
+ <pathelement location="${jboss.server.lib}/jboss-javaee.jar"/>
+ <pathelement location="${jboss.server.lib}/jbosssx.jar"/>
+ <pathelement location="${jboss.server.lib}/servlet-api.jar"/>
+ </path>
+
+ <!--
+ The 's.client.classpath' contains jars that are available in the target container's client directory.
+ There jars apply to all supported stacks. It MUST NOT contains jars from a local thirdparty dir.
+
+ The 'ws.stack.classpath' contains jars that come with a specific stack distribution.
+ The 's.extra.classpath' contains stack specific jars that are needed to run the stack specific tests.
+ -->
+ <path id="integration.target.client.classpath">
+ <pathelement location="${jboss.client}/activation.jar"/>
+ <pathelement location="${jboss.client}/javassist.jar"/>
+ <pathelement location="${jboss.client}/jaxb-api.jar"/>
+ <pathelement location="${jboss.client}/jaxb-impl.jar"/>
+ <pathelement location="${jboss.client}/jaxb-xjc.jar"/>
+ <pathelement location="${jboss.client}/jaxws-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-appclient.jar"/>
+ <pathelement location="${jboss.client}/jboss-container-metadata.jar"/>
+ <pathelement location="${jboss.client}/jboss-ejb3-ext-api.jar"/>
+ <pathelement location="${jboss.client}/jboss-metadata.jar"/>
+ <pathelement location="${jboss.client}/jboss-remoting.jar"/>
+ <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-xml-binding.jar"/>
+ <pathelement location="${jboss.client}/jbossall-client.jar"/>
+ <pathelement location="${jboss.client}/jbossws-jboss510.jar"/>
+ <pathelement location="${jboss.client}/jaxws-tools.jar"/>
+ <pathelement location="${jboss.client}/jboss-wsit-tools.jar"/>
+ <pathelement location="${jboss.client}/log4j.jar"/>
+ <pathelement location="${jboss.client}/mail.jar"/>
+ <pathelement location="${jboss.client}/stax-api.jar"/>
+ <pathelement location="${jboss.client}/trove.jar"/>
+ <!-- FIXME jars should be available in the client dir -->
+ <pathelement location="${jboss.lib}/jboss-aop-jdk50.jar"/>
+ <pathelement location="${jboss.lib}/jboss-classloader.jar"/>
+ <pathelement location="${jboss.lib}/jboss-classloading.jar"/>
+ <pathelement location="${jboss.lib}/jboss-classloading-vfs.jar"/>
+ <pathelement location="${jboss.lib}/jboss-container.jar"/>
+ <pathelement location="${jboss.lib}/jboss-dependency.jar"/>
+ <pathelement location="${jboss.lib}/jboss-vfs.jar"/>
+ <pathelement location="${jboss.lib}/jboss-kernel.jar"/>
+ <pathelement location="${jboss.lib}/jboss-reflect.jar"/>
+ <pathelement location="${jboss.server.lib}/jboss.jar"/>
+ <pathelement location="${jboss.server.lib}/jbosssx.jar"/>
+ <pathelement location="${jboss.server.lib}/hibernate3.jar"/>
+ <pathelement location="${jboss.server.lib}/jnpserver.jar"/>
+ <pathelement location="${jboss.server.lib}/jboss-ejb3-core.jar"/>
+ <pathelement location="${jboss.server.lib}/hibernate-core.jar"/>
+ <pathelement location="${jboss.server.deploy}/juddi-service.sar/juddi.jar"/>
+ <pathelement location="${jboss.server.deploy}/juddi-service.sar/juddi-saaj.jar"/>
+ <pathelement location="${jboss.server.deploy}/juddi-service.sar/scout.jar"/>
+ <pathelement location="${tools.jar}"/>
+ <!-- WS-RM backports server dependencies -->
+ <pathelement location="${jboss.server.deploy}/jbossweb.sar/jbossweb.jar"/>
+ <pathelement location="${jboss.server.deployers}/jbossweb.deployer/jbossweb.jar"/>
+ </path>
+ </target>
<!-- ================================================================== -->
<!-- Compiling -->
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1841/JBWS1841TestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -49,7 +49,7 @@
public static Test suite()
{
//here in the AS 5 jar we use <service-qname> that does not exist in AS 4.2.x
- return new JBossWSTestSetup(JBWS1841TestCase.class, new JBossWSTestHelper().isTargetJBoss5() ? "jaxws-jbws1841-as5.jar" : "jaxws-jbws1841.jar");
+ return new JBossWSTestSetup(JBWS1841TestCase.class, new JBossWSTestHelper().isTargetJBoss5OrGreater()() ? "jaxws-jbws1841-as5.jar" : "jaxws-jbws1841.jar");
}
protected void setUp() throws Exception
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/eardeployment/EarTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/eardeployment/EarTestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/eardeployment/EarTestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -48,7 +48,7 @@
{
public static Test suite()
{
- String earName = (new JBossWSTestHelper().isTargetJBoss5() ? "jaxws-samples-eardeployment.ear" : "jaxws-samples-eardeployment42.ear");
+ String earName = (new JBossWSTestHelper().isTargetJBoss5OrGreater() ? "jaxws-samples-eardeployment.ear" : "jaxws-samples-eardeployment42.ear");
return new JBossWSTestSetup(EarTestCase.class, earName);
}
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/securityDomain/SecurityDomainTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/securityDomain/SecurityDomainTestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/securityDomain/SecurityDomainTestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -49,7 +49,7 @@
public static Test suite()
{
- return new JBossWSTestSetup(SecurityDomainTestCase.class, new JBossWSTestHelper().isTargetJBoss5() ? "jaxws-samples-securityDomain-as5.jar" : "jaxws-samples-securityDomain.jar");
+ return new JBossWSTestSetup(SecurityDomainTestCase.class, new JBossWSTestHelper().isTargetJBoss5OrGreater() ? "jaxws-samples-securityDomain-as5.jar" : "jaxws-samples-securityDomain.jar");
}
private SecureEndpoint getPort() throws Exception
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefClientTestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -50,7 +50,7 @@
public static Test suite()
{
String archives = "jaxws-samples-serviceref.war";
- if (new JBossWSTestHelper().isTargetJBoss5())
+ if (new JBossWSTestHelper().isTargetJBoss5OrGreater())
archives += ",jaxws-samples-serviceref-client.jar";
return new JBossWSTestSetup(ServiceRefClientTestCase.class, archives);
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefEJBTestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -49,7 +49,7 @@
public static Test suite()
{
String archives = "jaxws-samples-serviceref.war";
- if (new JBossWSTestHelper().isTargetJBoss5())
+ if (new JBossWSTestHelper().isTargetJBoss5OrGreater())
archives += ",jaxws-samples-serviceref-ejb-client.jar";
return new JBossWSTestSetup(ServiceRefEJBTestCase.class, archives);
Modified: framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.java
===================================================================
--- framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.java 2009-01-08 14:32:58 UTC (rev 8989)
+++ framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/samples/serviceref/ServiceRefServletTestCase.java 2009-01-08 15:02:41 UTC (rev 8990)
@@ -47,7 +47,7 @@
public static Test suite()
{
String archives = "jaxws-samples-serviceref.war";
- if (new JBossWSTestHelper().isTargetJBoss5())
+ if (new JBossWSTestHelper().isTargetJBoss5OrGreater())
archives += ",jaxws-samples-serviceref-servlet-client.war";
return new JBossWSTestSetup(ServiceRefServletTestCase.class, archives);
15 years, 11 months
JBossWS SVN: r8989 - common/trunk/src/main/java/org/jboss/wsf/test.
by jbossws-commits@lists.jboss.org
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"))
15 years, 11 months
JBossWS SVN: r8988 - container/jboss60/trunk.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2009-01-08 09:14:12 -0500 (Thu, 08 Jan 2009)
New Revision: 8988
Modified:
container/jboss60/trunk/pom.xml
Log:
[JBWS-2444] Fixing bug
Modified: container/jboss60/trunk/pom.xml
===================================================================
--- container/jboss60/trunk/pom.xml 2009-01-08 11:13:27 UTC (rev 8987)
+++ container/jboss60/trunk/pom.xml 2009-01-08 14:14:12 UTC (rev 8988)
@@ -207,7 +207,7 @@
<filtering>true</filtering>
</resource>
<resource>
- <directory>src/main/resources/jbossws-jboss50.jar</directory>
+ <directory>src/main/resources/jbossws-jboss60.jar</directory>
</resource>
</resources>
<plugins>
15 years, 11 months