<?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.                 -->
<!-- ============================================================ -->

<project>

  <description>JBossWS test archive builder</description>

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

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

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

	<!-- jaxws-samples-addressing -->
	<war warfile="${tests.output.dir}/test-libs/jaxws-samples-wsaddressing.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/addressing/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/addressing/StatefulEndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/addressing/StatefulEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/addressing/ServerHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/addressing/jaxws-handlers.xml"/>
      </classes>
    </war>
  	
    <!-- jaxws-samples-asynchronous -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-asynchronous.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/asynchronous/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/asynchronous/Endpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/asynchronous/EndpointBean.class"/>
      </classes>
    </war>

    <!-- jaxws-samples-context -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-context.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/context/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/context/EndpointJSE.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/context/WEB-INF">
        <include name="jboss-web.xml"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-context.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/context/EndpointEJB.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/context/META-INF">
        <include name="jboss.xml"/>
      </metainf>
    </jar>

    <!-- jaxws-samples-eardeployment -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-eardeployment-pojo.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/eardeployment/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/eardeployment/JSEBean.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/eardeployment/SupportServlet.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/eardeployment/WEB-INF">
        <include name="jboss-web.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-eardeployment-ejb3.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/eardeployment/EJB3Bean.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/eardeployment/WEB-INF">
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-eardeployment.ear">
      <fileset dir="${tests.output.dir}/test-libs">
        <include name="jaxws-samples-eardeployment-ejb3.jar"/>
        <include name="jaxws-samples-eardeployment-pojo.war"/>
      </fileset>
    </jar>

    <!-- jaxws-samples-exception -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-exception.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/exception/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws/**"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/EndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/ExceptionEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/ExceptionEndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/UserException.class"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.class"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws-handlers-server.xml"/>
      </classes>
    </war>
  	<jar destfile="${tests.output.dir}/test-libs/jaxws-samples-exception.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws/**"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/EndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/ExceptionEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/ExceptionEndpointEJB3Impl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/UserException.class"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/ServerHandler.class"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws-handlers-server.xml"/>
      </fileset>
    </jar>

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

    <!-- jaxws-samples-httpbinding -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-httpbinding-jaxb.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/httpbinding/jaxb/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/ProviderBeanJAXB.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/WebServiceEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/UserType.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/httpbinding/shared">
        <include name="wsdl/HttpBinding.wsdl"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-httpbinding-payload.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/httpbinding/payload/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/ProviderBeanPayload.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/LogicalSourceHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/httpbinding/httpbinding-handlers.xml"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/httpbinding/shared">
        <include name="wsdl/HttpBinding.wsdl"/>
      </webinf>
    </war>
  	
  	<!-- jaxws-samples-jaxbintros -->
    <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-jaxbintros.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/jaxbintros/Endpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/jaxbintros/EndpointBean.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/jaxbintros/UserType.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/jaxbintros/META-INF">
        <include name="**/*" />
      </metainf>
    </jar>

    <!-- jaxws-samples-logicalhandler -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-logicalhandler-source.war"
      webxml="${tests.output.dir}/test-resources/jaxws/samples/logicalhandler/WEB-INF/web-source.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/SOAPEndpointSourceDocImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/SOAPEndpointSourceRpcImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalSourceHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/Echo.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/EchoResponse.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/jaxws-server-source-handlers.xml"/>
      </classes>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-logicalhandler-jaxb.war"
      webxml="${tests.output.dir}/test-resources/jaxws/samples/logicalhandler/WEB-INF/web-jaxb.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/SOAPEndpointJAXBImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/SOAPEndpointJAXB.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/LogicalJAXBHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/ProtocolHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/PortHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/Echo.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/EchoResponse.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/ObjectFactory.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/logicalhandler/jaxws-server-jaxb-handlers.xml"/>
      </classes>
    </war>

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

    <!-- jaxws-samples-provider -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-provider-jaxb.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/provider/jaxb/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/provider/ProviderBeanJAXB.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/provider/UserType.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/provider/jaxb/WEB-INF">
        <include name="wsdl/Provider.wsdl"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-provider-message.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/provider/message/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/provider/ProviderBeanMessage.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/provider/message/WEB-INF">
        <include name="wsdl/Provider.wsdl"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-provider-payload.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/provider/payload/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/provider/ProviderBeanPayload.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/provider/LogicalSourceHandler.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/provider/provider-handlers.xml"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/provider/payload/WEB-INF">
        <include name="wsdl/Provider.wsdl"/>
      </webinf>
    </war>

    <!-- jaxws-samples-retail -->
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-retail.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/advanced/retail/**/*.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/advanced/retail/jaxws-handler.xml"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/advanced/retail/META-INF">
        <include name="wsdl/*"/>
      </metainf>
    </jar>
  	
     <!-- jaxws-samples-securityDomain -->
     <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-securityDomain.jar">
       <fileset dir="${tests.output.dir}/test-classes">
         <include name="org/jboss/test/ws/jaxws/samples/securityDomain/SecureEndpointImpl.class"/>
       </fileset>
     </jar>

     <!-- jaxws-samples-serviceref -->
     <war warfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/serviceref/WEB-INF/web.xml">
        <classes dir="${tests.output.dir}/test-classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EndpointImpl.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/Endpoint.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EndpointService.class"/>
        </classes>
     </war>
     <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref-client.jar">
        <fileset dir="${tests.output.dir}/test-classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/ApplicationClient.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/Endpoint.class"/>
        </fileset>
        <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/serviceref/META-INF">
           <include name="application-client.xml"/>
           <include name="jboss-client.xml"/>
           <include name="wsdl/**"/>
        </metainf>
     </jar>
     <war destfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref-servlet-client.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/serviceref/servlet-client/WEB-INF/web.xml">
        <classes dir="${tests.output.dir}/test-classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/ServletClient.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/Endpoint.class"/>
        </classes>
        <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/serviceref/META-INF">
           <include name="wsdl/**"/>
        </webinf>
        <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/serviceref/servlet-client/WEB-INF">
           <include name="jboss-web.xml"/>
        </webinf>
     </war>
     <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-serviceref-ejb-client.jar">
        <fileset dir="${tests.output.dir}/test-classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EJBClient.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EJBRemote.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/EndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/Endpoint.class"/>
        </fileset>
        <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/serviceref/META-INF">
           <include name="ejb-jar.xml"/>
           <include name="jboss.xml"/>
           <include name="wsdl/**"/>
        </metainf>
     </jar>

    <!-- jaxws-samples-soapbinding -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-soapbinding.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/soapbinding/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/jaxws/**"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/DocBare.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/DocWrapped.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/ExampleSEI.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/DocBareServiceImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/DocWrappedServiceImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/ExampleServiceImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/SubmitBareRequest.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/soapbinding/SubmitBareResponse.class"/>
      </classes>
    </war>

     <!-- jaxws-samples-swaref -->
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-swaref.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/swaref/jaxws/**"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload*.class"/>
      </fileset>
    </jar>

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

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

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

    <!-- jaxws-samples-webservice -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-webservice01-jse.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/webservice/WEB-INF01/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/JSEBean01.class"/>
      </classes>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-webservice02-jse.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/webservice/WEB-INF02/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/JSEBean02.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/webservice/WEB-INF02">
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-webservice03-jse.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/webservice/WEB-INF03/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/JSEBean03.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EndpointInterface03.class"/>
      </classes>
    </war>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-webservice01-ejb3.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3Bean01.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3RemoteInterface.class"/>
      </fileset>
    </jar>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-webservice02-ejb3.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3Bean02.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3RemoteInterface.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/webservice/META-INF02">
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/test-libs/jaxws-samples-webservice03-ejb3.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3Bean03.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EJB3RemoteInterface.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webservice/EndpointInterface03.class"/>
      </fileset>
    </jar>

     <!-- jaxws-samples-webserviceref -->
    <war warfile="${tests.output.dir}/test-libs/jaxws-samples-webserviceref.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EndpointImpl.class"/>
      </classes>
    </war>
    <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-webserviceref-client.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EndpointClientOne.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/Endpoint.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <manifest>
        <attribute name="main-class" value="org.jboss.test.ws.jaxws.samples.webserviceref.EndpointClientOne"/>
      </manifest>
    </jar>
    <war destfile="${tests.output.dir}/test-libs/jaxws-samples-webserviceref-servlet-client.war"
      webxml="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/WEB-INF-client/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/Endpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EchoResponse.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/Echo.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/META-INF">
        <include name="wsdl/**"/>
      </webinf>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/WEB-INF-client">
        <include name="jboss-web.xml"/>
      </webinf>
    </war>
    <jar destfile="${tests.output.dir}/test-libs/jaxws-samples-webserviceref-ejb3-client.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Client.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EJB3Remote.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/Endpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/EchoResponse.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/Echo.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/test-resources/jaxws/samples/webserviceref/META-INF">
        <include name="jboss.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
  	
    <!-- jaxws-samples-webservicerefsec -->
	<jar destfile="${tests.output.dir}/test-libs/jaxws-samples-webservicerefsec.jar">
		<fileset dir="${tests.output.dir}/test-classes">
			<include name="org/jboss/test/ws/jaxws/samples/webservicerefsec/EndpointImpl.class" />
		</fileset>
	</jar>
    <war destfile="${tests.output.dir}/test-libs/jaxws-samples-webservicerefsec-servlet-client.war"
      webxml="${tests.output.dir}/test-resources/jaxws/samples/webservicerefsec/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
		<include name="org/jboss/test/ws/jaxws/samples/webservicerefsec/Client.class" />
		<include name="org/jboss/test/ws/jaxws/samples/webservicerefsec/Endpoint.class" />
		<include name="org/jboss/test/ws/jaxws/samples/webservicerefsec/EndpointService.class" />
      </classes>
      <webinf dir="${tests.output.dir}/test-resources/jaxws/samples/webservicerefsec/WEB-INF">
      	<include name="wsdl/**"/>
        <include name="jboss-web.xml"/>
      </webinf>
    </war>

    <!-- jaxws-samples-xop-doclit -->
    <war jarfile="${tests.output.dir}/test-libs/jaxws-samples-xop-doclit.war" webxml="${tests.output.dir}/test-resources/jaxws/samples/xop/doclit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/jaxws/samples/xop/doclit/*.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/xop/doclit/jaxws/**"/>
        <include name="org/jboss/test/ws/jaxws/samples/xop/doclit/jaxws-handlers-server.xml"/>
        <exclude name="org/jboss/test/ws/jaxws/samples/xop/doclit/*TestCase.class"/>
      </classes>
    </war>
  	
    <!-- management-recording.jar -->
    <jar destfile="${tests.output.dir}/test-libs/management-recording-native.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/management/recording/*.class"/>
      	<exclude name="org/jboss/test/ws/management/recording/EndpointWithHandlerImpl.class"/>
        <exclude name="org/jboss/test/ws/management/recording/*TestCase.class"/>
      </fileset>
    </jar>
    <jar destfile="${tests.output.dir}/test-libs/management-recording.jar">
      <fileset dir="${tests.output.dir}/test-classes">
        <include name="org/jboss/test/ws/management/recording/*.class"/>
      	<include name="org/jboss/test/ws/management/recording/*.xml"/>
      	<exclude name="org/jboss/test/ws/management/recording/EndpointImpl.class"/>
        <exclude name="org/jboss/test/ws/management/recording/*TestCase.class"/>
      </fileset>
    </jar>
    
    <!-- Please add alphabetically -->

  </target>

</project>
