JBossWS SVN: r14694 - shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-15 10:10:16 -0400 (Fri, 15 Jul 2011)
New Revision: 14694
Modified:
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java
Log:
Updating test
Modified: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java 2011-07-14 15:29:03 UTC (rev 14693)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java 2011-07-15 14:10:16 UTC (rev 14694)
@@ -65,7 +65,7 @@
//deploy endpoint
ClassLoader loader = ClassLoaderProvider.getDefaultProvider().getWebServiceSubsystemClassLoader();
EndpointPublisherFactory factory = ServiceLoader.load(EndpointPublisherFactory.class, loader).iterator().next();
- publisher = factory.newEndpointPublisher("localhost");
+ publisher = factory.newEndpointPublisher("default-host");
ep = publisher.publish("org.jboss.test.ws.publish.EndpointImpl", Thread.currentThread().getContextClassLoader(), "ep-publish-test", "/pattern");
System.out.println("State: " + ep.getState());
13 years
JBossWS SVN: r14693 - in shared-testsuite/branches/asoldano/testsuite/src/test: java/org/jboss/test/ws and 1 other directories.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-14 11:29:03 -0400 (Thu, 14 Jul 2011)
New Revision: 14693
Added:
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/Endpoint.java
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointImpl.java
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java
shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishTestCase.java
Modified:
shared-testsuite/branches/asoldano/testsuite/src/test/ant-import/build-samples-jaxws.xml
Log:
Adding EndpointPublisher testcase
Modified: shared-testsuite/branches/asoldano/testsuite/src/test/ant-import/build-samples-jaxws.xml
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/ant-import/build-samples-jaxws.xml 2011-07-14 15:27:15 UTC (rev 14692)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/ant-import/build-samples-jaxws.xml 2011-07-14 15:29:03 UTC (rev 14693)
@@ -482,6 +482,14 @@
<exclude name="org/jboss/test/ws/jaxws/samples/xop/doclit/*TestCase.class"/>
</classes>
</war>
+
+ <!-- endpoint-publish.war -->
+ <war warfile="${tests.output.dir}/test-libs/endpoint-publish.war" needxmlfile='false'>
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/publish/**"/>
+ <exclude name="org/jboss/test/ws/publish/*TestCase.class"/>
+ </classes>
+ </war>
<!-- management-recording.jar -->
<jar destfile="${tests.output.dir}/test-libs/management-recording-native.jar">
Added: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/Endpoint.java
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/Endpoint.java (rev 0)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/Endpoint.java 2011-07-14 15:29:03 UTC (rev 14693)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.publish;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService (name="Endpoint")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface Endpoint
+{
+ @WebMethod(operationName = "echoString", action = "urn:EchoString")
+ String echo(String input);
+}
Added: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointImpl.java
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointImpl.java (rev 0)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointImpl.java 2011-07-14 15:29:03 UTC (rev 14693)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.publish;
+
+import javax.jws.WebService;
+
+import org.jboss.logging.Logger;
+
+@WebService(serviceName="EndpointService", portName="EndpointPort", endpointInterface = "org.jboss.test.ws.publish.Endpoint")
+public class EndpointImpl
+{
+ // Provide logging
+ private static Logger log = Logger.getLogger(EndpointImpl.class);
+
+ public String echo(String input)
+ {
+ log.info("echo: " + input);
+ return input;
+ }
+}
Added: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java (rev 0)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishServlet.java 2011-07-14 15:29:03 UTC (rev 14693)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.publish;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+import java.net.URL;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.ServiceLoader;
+
+import javax.servlet.ServletException;
+import javax.servlet.annotation.WebServlet;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import org.jboss.wsf.spi.classloading.ClassLoaderProvider;
+import org.jboss.wsf.spi.deployment.Endpoint;
+import org.jboss.wsf.spi.publish.EndpointPublisher;
+import org.jboss.wsf.spi.publish.EndpointPublisherFactory;
+
+/**
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 01-Apr-2011
+ *
+ */
+@WebServlet(name = "EndpointPublishServlet", urlPatterns = "/*")
+public class EndpointPublishServlet extends HttpServlet
+{
+ private static final long serialVersionUID = 1L;
+
+ @Override
+ protected void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException
+ {
+ Endpoint ep = null;
+ EndpointPublisher publisher = null;
+ try
+ {
+ //deploy endpoint
+ ClassLoader loader = ClassLoaderProvider.getDefaultProvider().getWebServiceSubsystemClassLoader();
+ EndpointPublisherFactory factory = ServiceLoader.load(EndpointPublisherFactory.class, loader).iterator().next();
+ publisher = factory.newEndpointPublisher("localhost");
+ ep = publisher.publish("org.jboss.test.ws.publish.EndpointImpl", Thread.currentThread().getContextClassLoader(), "ep-publish-test", "/pattern");
+
+ System.out.println("State: " + ep.getState());
+ System.out.println("Address: " + ep.getAddress());
+ System.out.println("TargetBeanClass: " + ep.getTargetBeanClass());
+
+ //call endpoint
+ URL wsdlURL = new URL("http://localhost:8080/ep-publish-test/pattern?wsdl");
+ QName serviceName = new QName("http://publish.ws.test.jboss.org/", "EndpointService");
+ Service service = Service.create(wsdlURL, serviceName);
+ org.jboss.test.ws.publish.Endpoint port = service.getPort(org.jboss.test.ws.publish.Endpoint.class);
+ String result = port.echo("Foo");
+ if (!"Foo".equals(result))
+ {
+ throw new Exception("Expected 'Foo' but got '" + result + "'");
+ }
+
+ res.getWriter().print("1");
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ res.getWriter().print(e.getMessage());
+ }
+ finally
+ {
+ if (ep != null && publisher != null)
+ {
+ try
+ {
+ //undeploy endpoint
+ publisher.destroy(ep);
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ res.getWriter().print(e.getMessage());
+ }
+ }
+ }
+ }
+}
Added: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishTestCase.java
===================================================================
--- shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishTestCase.java (rev 0)
+++ shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishTestCase.java 2011-07-14 15:29:03 UTC (rev 14693)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2011, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.ws.publish;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.net.URL;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * Test WS endpoint publish api to JBoss AS container
+ *
+ * @author alessio.soldano(a)jboss.com
+ * @since 13-Jul-2011
+ */
+public class EndpointPublishTestCase extends JBossWSTest
+{
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(EndpointPublishTestCase.class, "endpoint-publish.war");
+ }
+
+ public void testEndpointPublish() throws Exception
+ {
+ URL url = new URL("http://" + getServerHost() + ":8080/endpoint-publish");
+ BufferedReader br = new BufferedReader(new InputStreamReader(url.openStream()));
+ assertEquals("1", br.readLine());
+ }
+}
Property changes on: shared-testsuite/branches/asoldano/testsuite/src/test/java/org/jboss/test/ws/publish/EndpointPublishTestCase.java
___________________________________________________________________
Added: svn:executable
+ *
13 years
JBossWS SVN: r14691 - in spi/branches/asoldano/src/main/java/org/jboss/wsf/spi: publish and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-14 11:26:16 -0400 (Thu, 14 Jul 2011)
New Revision: 14691
Added:
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
Log:
Adding EndpointPublisher API
Added: spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java (rev 0)
+++ spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisher.java 2011-07-14 15:26:16 UTC (rev 14691)
@@ -0,0 +1,34 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+import org.jboss.wsf.spi.deployment.Endpoint;
+
+/**
+ * EndpointPublisher defines the interface for facilities allowing to publish/destroy
+ * WS endpoints on top of the running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
+ */
+public interface EndpointPublisher
+{
+ public Endpoint publish(String className, ClassLoader loader, String context, String urlPattern) throws Exception;
+
+ public void destroy(Endpoint endpoint) throws Exception;
+}
Added: spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java
===================================================================
--- spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java (rev 0)
+++ spi/branches/asoldano/src/main/java/org/jboss/wsf/spi/publish/EndpointPublisherFactory.java 2011-07-14 15:26:16 UTC (rev 14691)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
+ * as indicated by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ */
+package org.jboss.wsf.spi.publish;
+
+
+/**
+ * Factory for retrieving a EndpointPublisher instance for
+ * the currently running JBoss Application Server container.
+ *
+ * @author <a href="mailto:alessio.soldano@jboss.com">Alessio Soldano</a>
+ */
+public interface EndpointPublisherFactory
+{
+ public EndpointPublisher newEndpointPublisher(String hostname) throws Exception;
+}
13 years
JBossWS SVN: r14690 - spi/branches.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2011-07-14 11:25:09 -0400 (Thu, 14 Jul 2011)
New Revision: 14690
Added:
spi/branches/asoldano/
Log:
13 years
JBossWS SVN: r14689 - in hudson/trunk/hudson-home/jobs: CXF-SRCDIST-AS-7.1.0-SUN-JDK-6 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2011-07-14 03:32:24 -0400 (Thu, 14 Jul 2011)
New Revision: 14689
Modified:
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml
Log:
Correct jboss710 build name
Modified: hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml 2011-07-14 05:56:08 UTC (rev 14688)
+++ hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml 2011-07-14 07:32:24 UTC (rev 14689)
@@ -17,7 +17,7 @@
JBOSS_TARGET=jboss710
JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
JBOSS_CONFIG=(a)jboss.server.instance@
-JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss700.build@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
#
# load test functions
Modified: hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml 2011-07-14 05:56:08 UTC (rev 14688)
+++ hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml 2011-07-14 07:32:24 UTC (rev 14689)
@@ -17,7 +17,7 @@
JBOSS_TARGET=jboss710
JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
JBOSS_CONFIG=(a)jboss.server.instance@
-JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss700.build@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
#
# load test functions
13 years
JBossWS SVN: r14688 - in hudson/trunk/hudson-home/jobs: CXF-BINDIST-AS-7.1.0-SUN-JDK-6 and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2011-07-14 01:56:08 -0400 (Thu, 14 Jul 2011)
New Revision: 14688
Added:
hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SUN-JDK-6/config.xml
Log:
Add CXF-BINDIST-AS-7.1.0-SUN-JDK-6 job
Added: hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SUN-JDK-6/config.xml 2011-07-14 05:56:08 UTC (rev 14688)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-BINDIST-AS-7.1.0-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute binary distribution tests
+#
+binaryDistributionTest
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/target/jbossws-cxf-bin-dist/output/test-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ binary distribution against AS-7.1.0 with Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
13 years
JBossWS SVN: r14687 - in shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test: basicdoclit and 1 other directory.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2011-07-14 01:54:23 -0400 (Thu, 14 Jul 2011)
New Revision: 14687
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basic/BasicTest.java
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basicdoclit/BasicDocLitTest.java
Log:
Correct endpointURL in benchmark tests
Modified: shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basic/BasicTest.java
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basic/BasicTest.java 2011-07-14 05:45:38 UTC (rev 14686)
+++ shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basic/BasicTest.java 2011-07-14 05:54:23 UTC (rev 14687)
@@ -37,7 +37,7 @@
*/
public class BasicTest implements BenchmarkTest
{
- private String endpointURL = "http://" + Runner.getServerAddress() + "/jaxws-benchmark-basic/EndpointImpl";
+ private String endpointURL = "http://" + Runner.getServerAddress() + "/jaxws-benchmark-basic/EndpointService/EndpointImpl";
private String targetNS = "http://basic.test.benchmark.jaxws.ws.test.jboss.org/";
public Object prepare() throws Exception
Modified: shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basicdoclit/BasicDocLitTest.java
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basicdoclit/BasicDocLitTest.java 2011-07-14 05:45:38 UTC (rev 14686)
+++ shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/benchmark/test/basicdoclit/BasicDocLitTest.java 2011-07-14 05:54:23 UTC (rev 14687)
@@ -37,7 +37,7 @@
*/
public class BasicDocLitTest implements BenchmarkTest
{
- private String endpointURL = "http://" + Runner.getServerAddress() + "/jaxws-benchmark-basicdoclit/EndpointImpl";
+ private String endpointURL = "http://" + Runner.getServerAddress() + "/jaxws-benchmark-basic/EndpointService/EndpointImpl";
private String targetNS = "http://basicdoclit.test.benchmark.jaxws.ws.test.jboss.org/";
public Object prepare() throws Exception
13 years
JBossWS SVN: r14686 - in hudson/trunk: hudson-home/jobs and 7 other directories.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2011-07-14 01:45:38 -0400 (Thu, 14 Jul 2011)
New Revision: 14686
Added:
hudson/trunk/hudson-home/jobs/AS-7.1.0/
hudson/trunk/hudson-home/jobs/AS-7.1.0/config.xml
hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SUN-JDK-6/config.xml
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/
hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml
Modified:
hudson/trunk/ant.properties.example
hudson/trunk/hudson-home/jobs/AS-ALL/config.xml
Log:
Add cxf stack jboss710 QA
Modified: hudson/trunk/ant.properties.example
===================================================================
--- hudson/trunk/ant.properties.example 2011-07-13 07:56:57 UTC (rev 14685)
+++ hudson/trunk/ant.properties.example 2011-07-14 05:45:38 UTC (rev 14686)
@@ -26,9 +26,13 @@
hudson.jboss600.rev=HEAD
hudson.jboss700.url=https://github.com/jbossas/jboss-as
-hudson.jboss700.build=jboss-as-7.0.0.CR2-SNAPSHOT
-hudson.jboss700.rev=master
+hudson.jboss700.build=jboss-as-7.0.0.Final
+hudson.jboss700.rev=7.0.0.Final
+hudson.jboss710.url=https://github.com/jbossas/jboss-as
+hudson.jboss710.build=jboss-as-7.1.0.Alpha1-SNAPSHOT
+hudson.jboss710.rev=master
+
hudson.mail.recipients=
hudson.smtp.host=localhost
Added: hudson/trunk/hudson-home/jobs/AS-7.1.0/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/AS-7.1.0/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/AS-7.1.0/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <actions/>
+ <description>Builds JBoss AS 7.1.0</description>
+ <logRotator>
+ <daysToKeep>-1</daysToKeep>
+ <numToKeep>20</numToKeep>
+ <artifactDaysToKeep>-1</artifactDaysToKeep>
+ <artifactNumToKeep>-1</artifactNumToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <scm class="hudson.plugins.git.GitSCM">
+ <configVersion>1</configVersion>
+ <remoteRepositories>
+ <org.spearce.jgit.transport.RemoteConfig>
+ <string>origin</string>
+ <int>5</int>
+ <string>fetch</string>
+ <string>+refs/heads/*:refs/remotes/origin/*</string>
+ <string>receivepack</string>
+ <string>git-upload-pack</string>
+ <string>uploadpack</string>
+ <string>git-upload-pack</string>
+ <string>url</string>
+ <string>@hudson.jboss710.url@.git</string>
+ <string>tagopt</string>
+ <string></string>
+ </org.spearce.jgit.transport.RemoteConfig>
+ </remoteRepositories>
+ <branches>
+ <hudson.plugins.git.BranchSpec>
+ <name>@hudson.jboss710.rev@</name>
+ </hudson.plugins.git.BranchSpec>
+ </branches>
+ <localBranch></localBranch>
+ <mergeOptions/>
+ <recursiveSubmodules>false</recursiveSubmodules>
+ <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
+ <authorOrCommitter>false</authorOrCommitter>
+ <clean>false</clean>
+ <wipeOutWorkspace>false</wipeOutWorkspace>
+ <pruneBranches>false</pruneBranches>
+ <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
+ <gitTool>Default</gitTool>
+ <browser class="hudson.plugins.git.browser.GithubWeb">
+ <url>@hudson.jboss710.url@</url>
+ </browser>
+ <submoduleCfg class="list"/>
+ <relativeTargetDir></relativeTargetDir>
+ <excludedRegions></excludedRegions>
+ <excludedUsers></excludedUsers>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+ <triggers class="vector"/>
+ <concurrentBuild>false</concurrentBuild>
+ <builders>
+ <hudson.tasks.Shell>
+ <command>MAVEN_OPTS="-Xmx1024m -Xms512m -XX:MaxPermSize=128m"
+export MAVEN_OPTS
+
+./build.sh clean install -Dskip-download-sources -U -B</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers>
+ <hudson.tasks.Mailer>
+ <recipients></recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>false</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers/>
+</project>
Modified: hudson/trunk/hudson-home/jobs/AS-ALL/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/AS-ALL/config.xml 2011-07-13 07:56:57 UTC (rev 14685)
+++ hudson/trunk/hudson-home/jobs/AS-ALL/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -3,7 +3,7 @@
<builders class="vector"/>
<publishers class="vector">
<hudson.tasks.BuildTrigger>
- <childProjects>AS-6.0.0, AS-7.0.0</childProjects>
+ <childProjects>AS-6.0.0, AS-7.0.0, AS-7.1.0</childProjects>
<threshold>
<name>UNSTABLE</name>
<ordinal>1</ordinal>
Added: hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-BINDIST-AS-7.1.0-SPRING-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute binary distribution tests
+#
+binaryDistributionTestWithSpring
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/target/jbossws-cxf-bin-dist/output/test-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ binary distribution against AS-7.1.0 with SpringFramework libraries available and Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
Added: hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-CORE-AS-7.1.0-SPRING-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute core tests
+#
+coreTestWithSpring
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/**/target/surefire-reports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ against @hudson.jboss710.build@ with SpringFramework libraires available and Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
Added: hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-CORE-AS-7.1.0-SUN-JDK-6/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-CORE-AS-7.1.0-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss710.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute core tests
+#
+coreTest
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/**/target/surefire-reports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ against @hudson.jboss710.build@ with Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
Added: hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-SRCDIST-AS-7.1.0-SPRING-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss700.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute source distribution tests
+#
+sourceDistributionTestWithSpring
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/target/jbossws-cxf-src-dist/modules/testsuite/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ source distribution against AS-7.1.0 with SpringFramework libraries available and Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
Added: hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml
===================================================================
--- hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml (rev 0)
+++ hudson/trunk/hudson-home/jobs/CXF-SRCDIST-AS-7.1.0-SUN-JDK-6/config.xml 2011-07-14 05:45:38 UTC (rev 14686)
@@ -0,0 +1,75 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=CXF-SRCDIST-AS-7.1.0-SUN-JDK-6
+
+WORKSPACE=`pwd`
+STACK_ID=cxf
+JAVA_HOME=(a)java.home.sun.jdk6@
+SCRIPTS_DIR=$WORKSPACE/hudson-scripts
+STACK_DIR=$WORKSPACE/stack-cxf
+TEST_OPTS=
+JBOSS_TARGET=jboss710
+JBOSS_BIND_ADDRESS=(a)jboss.bind.address@
+JBOSS_CONFIG=(a)jboss.server.instance@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-7.1.0/workspace/build/target/(a)hudson.jboss700.build@
+
+#
+# load test functions
+#
+. $SCRIPTS_DIR/jbossws-qa.sh
+
+#
+# execute source distribution tests
+#
+sourceDistributionTest
+
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>stack-cxf/target/jbossws-cxf-src-dist/modules/testsuite/**/target/surefire-reports/TEST-*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients@</recipients>
+ <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+ <sendToIndividuals>true</sendToIndividuals>
+ </hudson.tasks.Mailer>
+ </publishers>
+ <buildWrappers class="vector"/>
+ <scm class="hudson.scm.SubversionSCM">
+ <locations>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@jbossws.hudson.url@/scripts</remote>
+ <local>hudson-scripts</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url@</remote>
+ <local>stack-cxf</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ </locations>
+ <useUpdate>true</useUpdate>
+ <browser class="hudson.scm.browsers.FishEyeSVN">
+ <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+ <rootModule></rootModule>
+ </browser>
+ </scm>
+ <canRoam>true</canRoam>
+ <disabled>false</disabled>
+ <enableRemoteTrigger>false</enableRemoteTrigger>
+ <triggers class="vector"/>
+ <logRotator>
+ <daysToKeep>14</daysToKeep>
+ <numToKeep>-1</numToKeep>
+ </logRotator>
+ <keepDependencies>false</keepDependencies>
+ <properties/>
+ <description>Build and test jbossws-cxf-(a)version.id@ source distribution against AS-7.1.0 with Sun JDK 6</description>
+ <actions class="vector"/>
+</project>
13 years
JBossWS SVN: r14685 - shared-testsuite/trunk/testsuite/src/test/ant-import.
by jbossws-commits@lists.jboss.org
Author: jim.ma
Date: 2011-07-13 03:56:57 -0400 (Wed, 13 Jul 2011)
New Revision: 14685
Modified:
shared-testsuite/trunk/testsuite/src/test/ant-import/build-testsuite.xml
Log:
Add jboss710 profile
Modified: shared-testsuite/trunk/testsuite/src/test/ant-import/build-testsuite.xml
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/ant-import/build-testsuite.xml 2011-07-13 07:56:05 UTC (rev 14684)
+++ shared-testsuite/trunk/testsuite/src/test/ant-import/build-testsuite.xml 2011-07-13 07:56:57 UTC (rev 14685)
@@ -24,6 +24,9 @@
<condition property="jboss.home" value="${jboss700.home}">
<equals arg1="${jbossws.integration.target}" arg2="jboss700"/>
</condition>
+ <condition property="jboss.home" value="${jboss710.home}">
+ <equals arg1="${jbossws.integration.target}" arg2="jboss710"/>
+ </condition>
<!-- Verify required properties that must be set before this file is imported -->
<fail message="Tests output dir not set." unless="tests.output.dir"/>
13 years