<?xml version="1.0" encoding="UTF-8"?>

<!-- ============================================================ -->
<!--  JBoss, the OpenSource J2EE webOS                            -->
<!--  Distributable under LGPL license.                           -->
<!--  See terms of license at http://www.gnu.org.                 -->
<!-- ============================================================ -->

<!-- $Id: build-jars-jaxws.xml 14083 2011-04-13 02:16:40Z bmaxwell $ -->

<project>

  <description>JBossWS test archive builder</description>

  <!-- ================================================================== -->
  <!-- Building                                                           -->
  <!-- ================================================================== -->

  <target name="build-jars-jaxws" description="Build the deployments.">

    <mkdir dir="${tests.output.dir}/libs" />

    <!-- jaxws-anonymous -->
    <war warfile="${tests.output.dir}/libs/jaxws-anonymous.war" webxml="${tests.output.dir}/resources/jaxws/anonymous/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/anonymous/Anonymous.class" />
        <include name="org/jboss/test/ws/jaxws/anonymous/AnonymousRequest.class" />
        <include name="org/jboss/test/ws/jaxws/anonymous/AnonymousResponse.class" />
        <include name="org/jboss/test/ws/jaxws/anonymous/AnonymousImpl.class" />
      </classes>
    </war>

    <!-- jaxws-benchmark-doclit -->
    <war warfile="${tests.output.dir}/libs/jaxws-benchmark-doclit.war" webxml="${tests.output.dir}/resources/benchmark/jaxws/doclit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/benchmark/jaxws/doclit/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
      <webinf dir="${tests.output.dir}/resources/benchmark/jaxws/doclit/WEB-INF">
        <include name="handlers.xml" />
      </webinf>
    </war>

    <war warfile="${tests.output.dir}/libs/ri-benchmark-doclit.war" webxml="${tests.output.dir}/resources/benchmark/jaxws/doclit/ri/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/benchmark/jaxws/**/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/benchmark/jaxws/doclit/ri/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
      <webinf dir="${tests.output.dir}/resources/benchmark/jaxws/doclit/ri/WEB-INF">
        <include name="handlers.xml" />
        <include name="sun-jaxws.xml" />
      </webinf>
    </war>

    <!-- jaxws-binding -->
    <war warfile="${tests.output.dir}/libs/jaxws-binding.war" webxml="${tests.output.dir}/resources/jaxws/binding/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/binding/SOAPEndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/binding/SOAPEndpoint.class" />
      </classes>
    </war>

    <!-- jaxws-complex -->
    <war warfile="${tests.output.dir}/libs/jaxws-complex.war" webxml="${tests.output.dir}/resources/jaxws/complex/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/complex/*.class" />
        <include name="org/jboss/test/ws/jaxws/complex/extra/*.class" />
        <include name="org/jboss/test/ws/jaxws/complex/types/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/complex/*TestCase.class" />
      </classes>
    </war>

    <!-- jaxws-endpoint-servlet -->
    <war warfile="${tests.output.dir}/libs/jaxws-endpoint-servlet.war" webxml="${tests.output.dir}/resources/jaxws/endpoint/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/endpoint/EndpointServlet.class" />
        <include name="org/jboss/test/ws/jaxws/endpoint/EndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/endpoint/EndpointInterface.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/endpoint/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
    </war>

    <!-- jaxws-handlerlifecycle -->
    <war warfile="${tests.output.dir}/libs/jaxws-handlerlifecycle.war" webxml="${tests.output.dir}/resources/jaxws/handlerlifecycle/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/SOAPEndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/TrackerEndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/LifecycleHandler.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/ServerHandler*.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/PreServerHandler*.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/PostServerHandler*.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/HandlerTracker.class" />
        <include name="org/jboss/test/ws/jaxws/handlerlifecycle/jaxws-server-handlers.xml" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/handlerlifecycle/WEB-INF">
        <include name="jaxws-endpoint-config.xml" />
      </webinf>
    </war>

    <jar jarfile="${tests.output.dir}/libs/jaxws-handlerlifecycle-client.jar">
      <metainf dir="${tests.output.dir}/resources/jaxws/handlerlifecycle/META-INF">
        <include name="*.xml" />
      </metainf>
    </jar>

    <!-- jaxws-handlerscope -->
    <war warfile="${tests.output.dir}/libs/jaxws-handlerscope.war" webxml="${tests.output.dir}/resources/jaxws/handlerscope/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/handlerscope/SOAPEndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/handlerscope/SOAPEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/handlerscope/ProtocolHandler.class" />
        <include name="org/jboss/test/ws/jaxws/handlerscope/jaxws-server-handlers.xml" />
      </classes>
    </war>

    <!-- jaxws-jaxbintros -->
    <war warfile="${tests.output.dir}/libs/jaxws-jaxbintros.war" webxml="${tests.output.dir}/resources/jaxws/jaxbintros/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jaxbintros/**/*.class" />
      </classes>

      <webinf dir="${tests.output.dir}/resources/jaxws/jaxbintros/WEB-INF">
        <include name="*.xml" />
        <include name="**/*.wsdl" />
      </webinf>
    </war>

    <!-- jaxws-jbpapp2143 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbpapp2143.war" webxml="${tests.output.dir}/resources/jaxws/jbpapp2143/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbpapp2143/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbpapp2143/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbpapp2143/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbpapp5486 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbpapp5486.war" webxml="${tests.output.dir}/resources/jaxws/jbpapp5486/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbpapp5486/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbpapp5486/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbpapp5486/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbpapp5576 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbpapp5576.jar">
      <metainf dir="${tests.output.dir}/resources/jaxws/jbpapp5576/META-INF">
        <include name="jboss.xml" />
      </metainf>
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbpapp5576/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbpapp5576/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws771 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws771.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws771/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws771/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws860 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws860.war" webxml="${tests.output.dir}/resources/jaxws/jbws860/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws860/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws860/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws860/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws871 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws871-rpc.war" webxml="${tests.output.dir}/resources/jaxws/jbws871/WEB-INF-rpc/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointImpl.class" />
      </classes>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws871-rpc-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws871/IntegerArray.class" />
        <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws871/RpcArrayEndpointService.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws871/META-INF">
        <include name="application-client.xml" />
        <include name="jboss-client.xml" />
        <include name="jaxrpc-mapping.xml" />
        <include name="wsdl/**" />
      </metainf>
    </jar>

    <!-- jaxws-jbws944 -->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws944.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws944/EJB3Bean01.class" />
        <include name="org/jboss/test/ws/jaxws/jbws944/EJB3RemoteInterface.class" />
        <include name="org/jboss/test/ws/jaxws/jbws944/EJB3RemoteHome.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws981 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws981.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws981/EJB3Bean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws981/EJB3RemoteInterface.class" />
        <include name="org/jboss/test/ws/jaxws/jbws981/EndpointInterface.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1178 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1178.war" webxml="${tests.output.dir}/resources/jaxws/jbws1178/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1178/TestEndpoint.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1190 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1190.war" webxml="${tests.output.dir}/resources/jaxws/jbws1190/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1190/ConfidentialEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1190/TestEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1190/TestEndpointImpl*.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1190/JBWS1190Exception.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1283 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1283.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1283/*.*" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1357 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1357.war" webxml="${tests.output.dir}/resources/jaxws/jbws1357/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1357/JBWS1357.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1357/JBWS1357Impl.class" />
      </classes>
      <fileset dir="${tests.output.dir}/resources/jaxws/jbws1357">
        <include name="hello.jsp" />
      </fileset>
    </war>

    <!-- jaxws-jbws1422 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1422.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1422/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1422/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1446 -->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1446.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1446/EJB3Bean.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1505 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1505.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1505/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1505/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1529 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1529.war" webxml="${tests.output.dir}/resources/jaxws/jbws1529/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1529/UserException.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1529/JBWS1529.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1529/JBWS1529Impl.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1556 -->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1556.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1556/EJB3Bean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1556/UserType.class" />
      </fileset>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1556.ear">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1556.jar" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1556/META-INF">
        <include name="application.xml" />
        <include name="jboss-app.xml" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1566-->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1566.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1566/**/*.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1581 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1581.war" webxml="${tests.output.dir}/resources/jaxws/jbws1581/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1581/EndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1581/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1581.ear">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1581.war" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1581/META-INF">
        <include name="application.xml" />
        <include name="jboss-app.xml" />
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1581.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1581/EJB3Bean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1581/EJB3Remote.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1581/EndpointInterface.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1581/META-INF">
        <include name="wsdl/**" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1582 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1582.war" webxml="${tests.output.dir}/resources/jaxws/jbws1582/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1582/EndpointImpl.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1582/WEB-INF">
        <include name="wsdl/service.wsdl" />
      </webinf>
    </war>
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1582-attacked.war" webxml="${tests.output.dir}/resources/jaxws/jbws1582/WEB-INF/attack-web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1582/Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1582/AttackedEndpointImpl.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1582/WEB-INF">
        <include name="wsdl/attack-service.wsdl" />
      </webinf>
    </war>

    <!-- jaxws-jbws2116-->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws2116.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2116/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2116/*TestCase.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws2116/META-INF">
        <include name="jboss-wsse-server.xml" />
        <include name="jboss.xml" />
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws2116/">
        <include name="wsse10.truststore" />
        <include name="bob-sign.jks" />
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws2116.sar">
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws2116/META-INF">
        <include name="jboss-service.xml" />
        <include name="login-config.xml" />
        <include name="keystore.jks" />
        <include name="jbossws-roles.properties" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1283 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1283.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1283/*.*" />
      </fileset>
    </jar>
  	
  	<!-- jaxws-jbws2014-->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws2014-sign.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2014/*.class"/>
        <exclude name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws2014/sign/META-INF">
        <include name="jboss-wsse-server.xml"/>
      </metainf>
         <metainf dir="${tests.output.dir}/resources/jaxws/jbws2014/">
        <include name="wsse.*"/>
      </metainf>
    </jar>
  	<jar destfile="${tests.output.dir}/libs/jaxws-jbws2014-encrypt.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2014/*.class"/>
        <exclude name="org/jboss/test/ws/jaxws/jbws2014/*TestCase.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws2014/encrypt/META-INF">
        <include name="jboss-wsse-server.xml"/>
      </metainf>
         <metainf dir="${tests.output.dir}/resources/jaxws/jbws2014/">
        <include name="wsse.*"/>
      </metainf>
    </jar>
    
    <!-- jaxws-jbws1422 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1422.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1422/*.*" />
      </fileset>
    </jar>

    <!-- jaxws-jbws2187 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2187.war" webxml="${tests.output.dir}/resources/jaxws/jbws2187/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2187/TestEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2187/TestEndpointImpl.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2187/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws1505 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1505.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1505/*.*" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1611 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1611.war" webxml="${tests.output.dir}/resources/jaxws/jbws1611/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1611/PingEndpointImpl.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1666 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1666.war" webxml="${tests.output.dir}/resources/jaxws/jbws1666/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1694 -->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1694.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1694/**/*.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1702 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1702.war" webxml="${tests.output.dir}/resources/jaxws/jbws1702/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1702/**/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1702/WEB-INF" />
    </war>

    <!-- jaxws-jbws1733 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1733.war" webxml="${tests.output.dir}/resources/jaxws/jbws1733/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1733/JBWS1733.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1733/JBWS1733Impl.class" />
      </classes>
    </war>

    <!-- jaxws-jbws1762 -->
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1762-packaged.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1762/services/EJB3Bean.class" />
      </fileset>
    </jar>
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.jar" />
    <unjar src="${tests.output.dir}/libs/jaxws-jbws1762-packaged.jar" dest="${tests.output.dir}/libs/jaxws-jbws1762-exploded.jar" />
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1762-packaged.war" webxml="${tests.output.dir}/resources/jaxws/jbws1762/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1762/services/POJOBean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws1762/services/POJOIface.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1762/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.war" />
    <unwar src="${tests.output.dir}/libs/jaxws-jbws1762-packaged.war" dest="${tests.output.dir}/libs/jaxws-jbws1762-exploded.war" />
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1762-packaged.sar">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1762-packaged.war" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1762/META-INF">
        <include name="jboss-service.xml" />
      </metainf>
    </jar>
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.sar" />
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.sar/META-INF" />
    <copy file="${tests.output.dir}/resources/jaxws/jbws1762/META-INF/jboss-service.xml" todir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.sar/META-INF" />
    <unwar src="${tests.output.dir}/libs/jaxws-jbws1762-packaged.war" dest="${tests.output.dir}/libs/jaxws-jbws1762-exploded.sar/jaxws-jbws1762-exploded.war" />
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1762-packaged.ear">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1762-packaged.jar" />
        <include name="jaxws-jbws1762-packaged.war" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1762/META-INF/packaged">
        <include name="application.xml" />
      </metainf>
    </jar>
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.ear" />
    <mkdir dir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.ear/META-INF" />
    <copy file="${tests.output.dir}/resources/jaxws/jbws1762/META-INF/exploded/application.xml" todir="${tests.output.dir}/libs/jaxws-jbws1762-exploded.ear/META-INF" />
    <unwar src="${tests.output.dir}/libs/jaxws-jbws1762-packaged.war" dest="${tests.output.dir}/libs/jaxws-jbws1762-exploded.ear/jaxws-jbws1762-exploded.war" />
    <unjar src="${tests.output.dir}/libs/jaxws-jbws1762-packaged.jar" dest="${tests.output.dir}/libs/jaxws-jbws1762-exploded.ear/jaxws-jbws1762-exploded.jar" />

    <!-- jaxws-jbws1798 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1798.war" webxml="${tests.output.dir}/resources/jaxws/jbws1798/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1798/**/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1798/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1798/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
    </war>

    <!-- jaxws-jbws1813 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1813.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1813/EndpointImpl.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1813/META-INF">
        <include name="jboss.xml" />
      </metainf>
    </jar>
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1813.ear">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1813.jar" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1813/META-INF">
        <include name="application.xml" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1815 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1815.ejb3">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1815/ProviderImpl.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1815/META-INF">
        <include name="wsdl/my-service.wsdl" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1854 -->
    <war destfile="${tests.output.dir}/libs/jaxws-jbws1854.war" webxml="${tests.output.dir}/resources/jaxws/jbws1854/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1854/TestEndpointImpl.class" />
      </classes>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1854.sar">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxws-jbws1854.war" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1854/META-INF">
        <include name="jboss-service.xml" />
      </metainf>
    </jar>

    <!-- jaxws-jbws2000 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws2000.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2000/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2000/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws1809 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1809.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1809/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1809/*TestCase.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1809/META-INF" />
    </jar>

    <!-- jaxws-jbws1843 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1843.war" webxml="${tests.output.dir}/resources/jaxws/jbws1843/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1843/**/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1843/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1843/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
    </war>

    <!-- jaxws-jbws1988 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws1988.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1988/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1988/*TestCase.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1988/META-INF">
        <include name="jboss-wsse-server.xml" />
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxws-jbws1988.sar">
      <metainf dir="${tests.output.dir}/resources/jaxws/jbws1988/META-INF">
        <include name="jboss-service.xml" />
        <include name="login-config.xml" />
        <include name="jbossws-users.properties" />
        <include name="jbossws-roles.properties" />
      </metainf>
    </jar>

    <!-- jaxws-jbws1999 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws1999.war" webxml="${tests.output.dir}/resources/jaxws/jbws1999/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws1999/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws1999/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1999/WEB-INF">
        <include name="*" />
      </webinf>
    </war>
		
		<!-- jaxws-jbws2901 -->
		<war destfile="${tests.output.dir}/libs/jaxws-jbws2901.war" webxml="${tests.output.dir}/resources/jaxws/jbws2901/WEB-INF/web.xml">
			<classes dir="${tests.output.dir}/classes">
				<include name="org/jboss/test/ws/jaxws/jbws2901/Endpoint.class"/>
				<include name="org/jboss/test/ws/jaxws/jbws2901/EndpointImpl.class"/>
			</classes>
			<webinf dir="${tests.output.dir}/resources/jaxws/jbws2901/WEB-INF">
				<include name="wsdl/service.wsdl"/>
			</webinf>
			<fileset dir="${tests.output.dir}/resources/jaxws/jbws2901">
				<include name="passwd" />
			</fileset>
		</war>

    <!-- jaxws-jbws2009 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2009.war" webxml="${tests.output.dir}/resources/jaxws/jbws2009/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2009/**/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2009/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2009/WEB-INF">
        <include name="wsdl/**" />
        <include name="schema/**" />
      </webinf>
    </war>

    <!-- jaxws-jbws2234 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2234.war" webxml="${tests.output.dir}/resources/jaxws/jbws2234/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2234/*.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2234/JBWS2234TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2234/WEB-INF">
        <include name="jboss-web.xml" />
        <include name="wsdl/*" />
      </webinf>
    </war>

    <!-- jaxws-jbws2259 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2259.war" webxml="${tests.output.dir}/resources/jaxws/jbws2259/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2259/Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2259/EndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2259/CustomHandler.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2259/Photo.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2259/WEB-INF">
        <include name="jaxws-endpoint-config.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws2285 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2285.war" webxml="${tests.output.dir}/resources/jaxws/jbws2285/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2285/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2285/JBWS2285TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2285/WEB-INF">
        <include name="jboss-web.xml" />
        <include name="server-handlers.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws2319 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2319.war" webxml="${tests.output.dir}/resources/jaxws/jbws2319/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2319/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2319/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws2412 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2412.war" webxml="${tests.output.dir}/resources/jaxws/jbws2412/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2412/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2412/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2412/WEB-INF">
        <include name="wsdl/*" />
      </webinf>
    </war>

    <!-- jaxws-jbws2419 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2419.war" webxml="${tests.output.dir}/resources/jaxws/jbws2419/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP12EndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP12Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP12ServerHandler.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP11EndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP11Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/SOAP11ServerHandler.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/jaxws-server-handlers1.xml" />
        <include name="org/jboss/test/ws/jaxws/jbws2419/jaxws-server-handlers2.xml" />
      </classes>
    </war>

    <!-- jaxws-jbws2437 -->
    <jar destfile="${tests.output.dir}/libs/jaxws-jbws2437.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2437/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2437/*TestCase.class" />
      </fileset>
    </jar>

    <!-- jaxws-jbws2637-->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2637.war" webxml="${tests.output.dir}/resources/jaxws/jbws2637/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2637/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2637/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2637/WEB-INF">
        <include name="*" />
      </webinf>
    </war>

    <!-- jaxws-jbws2682 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2682.war" webxml="${tests.output.dir}/resources/jaxws/jbws2682/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2682/Endpoint.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2682/EndpointImpl.class" />
      </classes>
    </war>

    <!-- jaxws-jbws2698 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2698.war" webxml="${tests.output.dir}/resources/jaxws/jbws2698/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2698/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2698/JBWS2698TestCase.class" />
        <include name="org/jboss/test/ws/jaxws/jbws2698/server-handlers.xml" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2698/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws2706 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2706.war" webxml="${tests.output.dir}/resources/jaxws/jbws2706/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2706/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2698/JBWS2706TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2706/WEB-INF">
        <include name="wsdl/SwaTestService.wsdl" />
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws2845 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2845.war" webxml="${tests.output.dir}/resources/jaxws/jbws2845/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2845/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2845/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-jbws3071 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws3071.war" webxml="${tests.output.dir}/resources/jaxws/jbws3071/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws3071/TestEndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/jbws3071/TestException.class" />
      </classes>
    </war>

    <!-- jaxws namespace -->
    <war warfile="${tests.output.dir}/libs/jaxws-namespace.war" webxml="${tests.output.dir}/resources/jaxws/namespace/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/namespace/EndpointBean.class" />
        <include name="org/jboss/test/ws/jaxws/namespace/EndpointInterface.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/namespace/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jaxws-wrapped-accessor -->
    <war warfile="${tests.output.dir}/libs/jaxws-wrapped-accessor.war" webxml="${tests.output.dir}/resources/jaxws/wrapped/accessor/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wrapped/accessor/Accessor.class" />
        <include name="org/jboss/test/ws/jaxws/wrapped/accessor/AccessorImpl.class" />
        <include name="org/jboss/test/ws/jaxws/wrapped/accessor/jaxws/*" />
      </classes>
    </war>

    <!-- jaxws-holder -->
    <war warfile="${tests.output.dir}/libs/jaxws-holder.war" webxml="${tests.output.dir}/resources/jaxws/holder/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/holder/HolderServiceImpl.class" />
      </classes>
    </war>

    <!-- jaxws-wsdd -->
    <war warfile="${tests.output.dir}/libs/jaxws-wsdd.war" webxml="${tests.output.dir}/resources/jaxws/wsdd/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsdd/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/wsdd/WEB-INF">
        <include name="webservices.xml" />
      </webinf>
    </war>

    <!-- jaxws-wsaddressing-action -->
    <war warfile="${tests.output.dir}/libs/jaxws-wsaddressing-action-rpc.war" webxml="${tests.output.dir}/resources/jaxws/wsaddressing/action/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionRpcEndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/action/ActionEndpoint.class" />
      </classes>
    </war>

    <!-- jaxws-wsaddressing-replyto -->
    <war warfile="${tests.output.dir}/libs/jaxws-wsaddressing-initial.war" webxml="${tests.output.dir}/resources/jaxws/wsaddressing/replyto/Initial-WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class" />
      </classes>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxws-wsaddressing-initial-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_RequestStruct.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/InitialEndpoint_*_ResponseStruct.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/wsaddressing/replyto/Initial-META-INF">
        <include name="application-client.xml" />
        <include name="jboss-client.xml" />
        <include name="jaxws-jbossws-client-config.xml" />
        <include name="jaxrpc-mapping.xml" />
      </metainf>
    </jar>
    <war warfile="${tests.output.dir}/libs/jaxws-wsaddressing-replyto.war" webxml="${tests.output.dir}/resources/jaxws/wsaddressing/replyto/ReplyTo-WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class" />
      </classes>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxws-wsaddressing-replyto-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_RequestStruct.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/ReplyToEndpoint_*_ResponseStruct.class" />
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxws/wsaddressing/replyto/ReplyTo-META-INF">
        <include name="application-client.xml" />
        <include name="jboss-client.xml" />
        <include name="jbossws-client-config.xml" />
        <include name="jaxrpc-mapping.xml" />
      </metainf>
    </jar>
    <war warfile="${tests.output.dir}/libs/jaxws-wsaddressing-faultto.war" webxml="${tests.output.dir}/resources/jaxws/wsaddressing/replyto/FaultTo-WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpointImpl.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultType.class" />
        <include name="org/jboss/test/ws/jaxws/wsaddressing/replyto/FaultToEndpoint.class" />
      </classes>
    </war>

    <!-- jaxws-wseventing -->
    <war warfile="${tests.output.dir}/libs/jaxws-wseventing.war" webxml="${tests.output.dir}/resources/jaxws/wseventing/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/ws/eventing/*.class" />
        <include name="org/jboss/test/ws/jaxws/wseventing/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/wseventing/WEB-INF">
        <include name="wsdl/**" />
      </webinf>
    </war>

    <!-- Please add alphabetically -->

    <antcall target="build-interop-jars" />

  </target>

  <target name="build-interop-jars">

    <!-- Root.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-root.war" webxml="${tests.output.dir}/resources/interop/root/WEB-INF/web.xml">
      <webinf dir="${tests.output.dir}/resources/interop/root/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
      <fileset dir="${tests.output.dir}/resources/interop/root">
        <include name="*.*" />
      </fileset>
    </war>

    <!-- jbossws-interop-BaseDataTypesDocLitB.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-BaseDataTypesDocLitB.war" webxml="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitB/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/soapwsdl/basedoclitb/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitB/WEB-INF">
        <include name="wsdl/**.*" />
        <include name="jboss-web.xml" />
        <include name="scenarios.xml" />
      </webinf>
      <fileset dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitB">
        <include name="*.*" />
      </fileset>
    </war>

    <!-- jbossws-interop-BaseDataTypesDocLitW.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-BaseDataTypesDocLitW.war" webxml="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitW/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/soapwsdl/basedoclitw/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitW/WEB-INF">
        <include name="wsdl/**" />
        <include name="jboss-web.xml" />
        <include name="scenarios.xml" />
      </webinf>
      <fileset dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesDocLitW">
        <include name="*.*" />
      </fileset>
    </war>

    <!-- jbossws-interop-BaseDataTypesRpcLit.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-BaseDataTypesRpcLit.war" webxml="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesRpcLit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/soapwsdl/baserpclit/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesRpcLit/WEB-INF">
        <include name="wsdl/**" />
        <include name="jboss-web.xml" />
        <include name="scenarios.xml" />
      </webinf>
      <fileset dir="${tests.output.dir}/resources/interop/soapwsdl/BaseDataTypesRpcLit">
        <include name="*.*" />
      </fileset>
    </war>

    <!-- jaxws-jbws2250 -->
    <war warfile="${tests.output.dir}/libs/jaxws-jbws2250.war" webxml="${tests.output.dir}/resources/jaxws/jbws2250/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/jbws2250/**/*.class" />
        <exclude name="org/jboss/test/ws/jaxws/jbws2250/*TestCase.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/jbws2250/WEB-INF">
        <include name="jboss-web.xml" />
      </webinf>
    </war>

    <!-- jbossws-interop-wsa10.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-wsa10.war" webxml="${tests.output.dir}/resources/interop/wsa/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/wsa/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>
      <webinf dir="${tests.output.dir}/resources/interop/wsa/WEB-INF">
        <include name="wsdl/**" />
        <include name="jboss-web.xml" />
        <include name="scenarios.xml" />
      </webinf>
      <fileset dir="${tests.output.dir}/resources/interop/wsa">
        <include name="*.*" />
      </fileset>
    </war>

    <!-- jbossws-interop-wsse10Encrypt.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-wsse10Encrypt.war" webxml="${tests.output.dir}/resources/interop/wsse/encrypt/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/wsse/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>

      <webinf dir="${tests.output.dir}/resources/interop/wsse/encrypt/WEB-INF">
        <include name="wsdl/**.*" />
        <include name="jboss-wsse-server.xml" />
        <include name="jboss-web.xml" />
      </webinf>
      <webinf dir="${tests.output.dir}/resources/interop/wsse/shared/META-INF">
        <include name="alice.jks" />
        <include name="wsse10.truststore" />
      </webinf>

      <fileset dir="${tests.output.dir}/resources/interop/wsse/">
        <include name="*.*" />
      </fileset>
    </war>
    <!-- jbossws-interop-wsse10Encrypt-client.jar -->
    <jar destfile="${tests.output.dir}/libs/jbossws-interop-wsse10Encrypt-client.jar">
      <metainf dir="${tests.output.dir}/resources/interop/wsse/encrypt/META-INF" />
    </jar>

    <!-- jbossws-interop-wsse10Sign.war -->
    <war warfile="${tests.output.dir}/libs/jbossws-interop-wsse10Sign.war" webxml="${tests.output.dir}/resources/interop/wsse/sign/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/interop/wsse/**/*.class" />
        <include name="org/jboss/test/ws/interop/*.class" />
      </classes>

      <webinf dir="${tests.output.dir}/resources/interop/wsse/sign/WEB-INF">
        <include name="wsdl/**.*" />
        <include name="jboss-wsse-server.xml" />
        <include name="jboss-web.xml" />
      </webinf>
      <webinf dir="${tests.output.dir}/resources/interop/wsse/shared/META-INF">
        <include name="alice.jks" />
        <include name="wsse10.truststore" />
      </webinf>

      <fileset dir="${tests.output.dir}/resources/interop/wsse/">
        <include name="*.*" />
      </fileset>
    </war>
    <!-- jbossws-interop-wsse10Sign-client.jar -->
    <jar destfile="${tests.output.dir}/libs/jbossws-interop-wsse10Sign-client.jar">
      <metainf dir="${tests.output.dir}/resources/interop/wsse/sign/META-INF" />
    </jar>

    <!-- wrap up in an *.ear for easier deployment -->
    <ear destfile="${tests.output.dir}/libs/jbossws-interop.ear" appxml="${tests.output.dir}/resources/interop/root/META-INF/application.xml">
      <fileset dir="${tests.output.dir}/libs" includes="*interop*.war" />
    </ear>

  </target>

</project>
