<?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 4121 2007-08-02 20:42:11Z thomas.diesler@jboss.com $ -->

<project>

  <description>JBossWS test archive builder</description>

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

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

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

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

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

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

    <!-- jaxws-samples-exception -->
    <war warfile="${tests.output.dir}/libs/jaxws-samples-exception.war" webxml="${tests.output.dir}/resources/jaxws/samples/exception/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws/**"/>
        <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/TestHandler.class"/>
      	<include name="org/jboss/test/ws/jaxws/samples/exception/server/jaxws-handlers-server.xml"/>
      </classes>
    </war>

    <!-- jaxws-samples-handlerchain -->
    <war warfile="${tests.output.dir}/libs/jaxws-samples-handlerchain.war" webxml="${tests.output.dir}/resources/jaxws/samples/handlerchain/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/libs/jaxws-samples-httpbinding-jaxb.war" webxml="${tests.output.dir}/resources/jaxws/samples/httpbinding/jaxb/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/resources/jaxws/samples/httpbinding/shared">
        <include name="wsdl/HttpBinding.wsdl"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/libs/jaxws-samples-httpbinding-payload.war" webxml="${tests.output.dir}/resources/jaxws/samples/httpbinding/payload/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/resources/jaxws/samples/httpbinding/shared">
        <include name="wsdl/HttpBinding.wsdl"/>
      </webinf>
    </war>

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

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

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

     <!-- jaxws-samples-serviceref -->
     <war warfile="${tests.output.dir}/libs/jaxws-samples-serviceref.war" webxml="${tests.output.dir}/resources/jaxws/samples/serviceref/WEB-INF/web.xml">
        <classes dir="${tests.output.dir}/classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpointImpl.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpoint.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpointService.class"/>
        </classes>
     </war>
     <jar destfile="${tests.output.dir}/libs/jaxws-samples-serviceref-client.jar">
        <fileset dir="${tests.output.dir}/classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/ApplicationClient.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpoint.class"/>
        </fileset>
        <metainf dir="${tests.output.dir}/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}/libs/jaxws-samples-serviceref-servlet-client.war" webxml="${tests.output.dir}/resources/jaxws/samples/serviceref/servlet-client/WEB-INF/web.xml">
        <classes dir="${tests.output.dir}/classes">
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/ServletClient.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpoint.class"/>
        </classes>
        <webinf dir="${tests.output.dir}/resources/jaxws/samples/serviceref/META-INF">
           <include name="wsdl/**"/>
        </webinf>
        <webinf dir="${tests.output.dir}/resources/jaxws/samples/serviceref/servlet-client/WEB-INF">
           <include name="jboss-web.xml"/>
        </webinf>
     </war>
     <jar destfile="${tests.output.dir}/libs/jaxws-samples-serviceref-ejb-client.jar">
        <fileset dir="${tests.output.dir}/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/TestEndpointService.class"/>
           <include name="org/jboss/test/ws/jaxws/samples/serviceref/TestEndpoint.class"/>
        </fileset>
        <metainf dir="${tests.output.dir}/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}/libs/jaxws-samples-soapbinding.war" webxml="${tests.output.dir}/resources/jaxws/samples/soapbinding/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/libs/jaxws-samples-swaref.jar">
      <fileset dir="${tests.output.dir}/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}/libs/jaxws-samples-webmethod.war" webxml="${tests.output.dir}/resources/jaxws/samples/webmethod/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webmethod/TestEndpoint.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webmethod/TestEndpointImpl.class"/>
      </classes>
    </war>

    <!-- jaxws-samples-webparam -->
    <war warfile="${tests.output.dir}/libs/jaxws-samples-webparam.war" webxml="${tests.output.dir}/resources/jaxws/samples/webparam/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/libs/jaxws-samples-webresult.war" webxml="${tests.output.dir}/resources/jaxws/samples/webresult/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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}/libs/jaxws-samples-webservice01-jse.war" webxml="${tests.output.dir}/resources/jaxws/samples/webservice/WEB-INF01/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/JSEBean01.class"/>
      </classes>
    </war>
    <war warfile="${tests.output.dir}/libs/jaxws-samples-webservice02-jse.war" webxml="${tests.output.dir}/resources/jaxws/samples/webservice/WEB-INF02/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webservice/JSEBean02.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxws/samples/webservice/WEB-INF02">
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/libs/jaxws-samples-webservice03-jse.war" webxml="${tests.output.dir}/resources/jaxws/samples/webservice/WEB-INF03/web.xml">
      <classes dir="${tests.output.dir}/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}/libs/jaxws-samples-webservice01-ejb3.jar">
      <fileset dir="${tests.output.dir}/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}/libs/jaxws-samples-webservice02-ejb3.jar">
      <fileset dir="${tests.output.dir}/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}/resources/jaxws/samples/webservice/META-INF02">
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxws-samples-webservice03-ejb3.jar">
      <fileset dir="${tests.output.dir}/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-webserviceref -->
    <war warfile="${tests.output.dir}/libs/jaxws-samples-webserviceref.war" webxml="${tests.output.dir}/resources/jaxws/samples/webserviceref/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpointImpl.class"/>
      </classes>
    </war>

    <jar destfile="${tests.output.dir}/libs/jaxws-samples-webserviceref-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpointClientOne.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpoint.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/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.TestEndpointClientOne"/>
      </manifest>
    </jar>

    <war destfile="${tests.output.dir}/libs/jaxws-samples-webserviceref-servlet-client.war"
      webxml="${tests.output.dir}/resources/jaxws/samples/webserviceref/WEB-INF-client/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/ServletClient.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpoint.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}/resources/jaxws/samples/webserviceref/META-INF">
        <include name="wsdl/**"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxws/samples/webserviceref/WEB-INF-client">
        <include name="jboss-web.xml"/>
      </webinf>
    </war>

    <jar destfile="${tests.output.dir}/libs/jaxws-samples-webserviceref-ejb3-client.jar">
      <fileset dir="${tests.output.dir}/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/TestEndpointService.class"/>
        <include name="org/jboss/test/ws/jaxws/samples/webserviceref/TestEndpoint.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}/resources/jaxws/samples/webserviceref/META-INF">
        <include name="jboss.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>

    <!-- jaxws-samples-xop-doclit -->
    <war jarfile="${tests.output.dir}/libs/jaxws-samples-xop-doclit.war" webxml="${tests.output.dir}/resources/jaxws/samples/xop/doclit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/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>

    <!-- Please add alphabetically -->

  </target>

</project>
