<?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-samples-jaxrpc.xml 7831 2008-07-15 18:02:42Z darran.lofthouse@jboss.com $ -->

<project>
  
  <!-- ================================================================== -->
  <!-- Building                                                           -->
  <!-- ================================================================== -->
  
  <target name="build-samples-jaxrpc" description="Build the jaxrpc samples deployments">
    
    <mkdir dir="${tests.output.dir}/libs"/>
    
    <!-- jaxrpc-samples-docstyle-bare -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-docstyle-bare.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/docstyle/bare/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialEndpointJSE.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/bare/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-docstyle-bare-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrder.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/bare/TrivialOrderResponse.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/bare/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/bare/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-docstyle-wrapped -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-docstyle-wrapped.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialEndpointJSE.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*RequestStruct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*ResponseStruct.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-docstyle-wrapped-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*RequestStruct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/docstyle/wrapped/TrivialService*ResponseStruct.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/wrapped/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/docstyle/wrapped/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-dynamichandler -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-dynamichandler.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/dynamichandler/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/dynamichandler/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/dynamichandler/*ServiceBean.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/dynamichandler/*Handler.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/dynamichandler/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-dynamichandler-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/dynamichandler/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/dynamichandler/*Handler.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/dynamichandler/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/dynamichandler/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-exception -->
    <war destfile="${tests.output.dir}/libs/jaxrpc-samples-exception.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/exception/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/*Exception.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/ServerHandler.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionBeanImpl.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/exception/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-exception-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/*Exception.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionServiceInterface.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/exception/ExceptionService.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/exception/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/exception/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-handler -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-handler.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/handler/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/handler/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/handler/*ServiceBean.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/handler/ServerSideHandler.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/handler/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-handler-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/handler/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/handler/ClientSideHandler.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/handler/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/handler/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-holder -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-holder.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/holder/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/holder/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/holder/*ServiceBean.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/holder/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-holder-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/holder/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/holder/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/holder/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-jmstransport -->
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jmstransport.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jmstransport/Organization.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jmstransport/OrganizationJMSEndpoint.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jmstransport/META-INF">
        <include name="ejb-jar.xml"/>
        <include name="jboss.xml"/>
        <include name="webservices.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jmstransport.sar">
      <fileset dir="${tests.output.dir}/libs">
        <include name="jaxrpc-samples-jmstransport.jar"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jmstransport/META-INF">
        <include name="jboss-service.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-jsr109ejb-rpc -->
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109ejb-rpc.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*EJBEndpoint.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF">
        <include name="ejb-jar.xml"/>
        <include name="jboss.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109ejb-rpc-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109ejb/rpclit/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-jsr109ejb-doc -->
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109ejb-doc.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Struct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*EJBEndpoint.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF">
        <include name="ejb-jar.xml"/>
        <include name="jboss.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109ejb-doc-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Struct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109ejb/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109ejb/doclit/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-jsr109pojo-rpc -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109pojo-rpc.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*JSEEndpoint.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="jboss-web.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109pojo-rpc-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/rpclit/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/rpclit/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-jsr109pojo-doc -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109pojo-doc.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Struct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*JSEEndpoint.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-jsr109pojo-doc-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Type.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Struct.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/jsr109pojo/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/doclit/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/jsr109pojo/doclit/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-message -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-message.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/message/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/message/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/message/*ServiceBean.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/message/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-message-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/message/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/message/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/message/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-mtom -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-mtom.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/mtom/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/mtom/**"/>
        <exclude name="org/jboss/test/ws/jaxrpc/samples/mtom/MTOMTestCase.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/mtom/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-mtom-client.jar">
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/mtom/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/mtom/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-oneway -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-oneway.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/oneway/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*Service.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*ServiceBean.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/oneway/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-oneway-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/oneway/*Service.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/oneway/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/oneway/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-rpcstyle -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-rpcstyle.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/rpcstyle/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialEndpointJSE.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/rpcstyle/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-rpcstyle-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/rpcstyle/TrivialService.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/rpcstyle/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/rpcstyle/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-secureejb -->
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-secureejb.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationImpl.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/secureejb/META-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="ejb-jar.xml"/>
        <include name="jboss.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-secureejb-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationHome.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/secureejb/OrganizationRemote.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/secureejb/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-swa -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-swa.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/swa/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/swa/AttachmentImpl.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/swa/Attachment.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/swa/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-swa-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/swa/Attachment.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/swa/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/swa/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-store-pass-encrypt.war -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-store-pass-encrypt.war"
      webxml="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/HelloJavaBean.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/PasswordUtil.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/store-pass-encrypt">
        <include name="jboss-wsse-server.xml"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity">
        <include name="wsse.keystore"/>
        <include name="wsse.truststore"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-store-pass-encrypt-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/store-pass-encrypt/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jboss-wsse-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="wsdl/**"/>
        <include name="jaxrpc-mapping.xml"/>
      </metainf>
    </jar>

    <!-- jaxrpc-samples-wsaddr-hello.war -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-hello.war"
      webxml="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/HelloEndpointJSE.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-replyto.war"
      webxml="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyToEndpointJSE.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
        <include name="replyto-jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-wsaddr-hello-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/Hello_*.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ClientHandler.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsaddr/replyto/ReplyTo_*.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/hello/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wsaddr/replyto/WEB-INF">
        <include name="replyto-jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
     </jar>
    
    <!-- jaxrpc-samples-wsbpel -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wsbpel-hello.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter_Impl.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
        <include name="webservices.xml"/>
        <include name="classes/bpel-application.xml"/>
      </webinf>
      <webinf dir="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </webinf>
    </war>
    <jar destfile="${tests.output.dir}/libs/jaxrpc-samples-wsbpel-hello-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/HelloWorldService.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wsbpel/hello/Greeter.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wsbpel/hello/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/wstools/resources/jaxrpc/samples/wsbpel/hello/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-wssecurity-sign -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wssecurity-sign.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/HelloJavaBean.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="webservices.xml"/>
        <include name="wsdl/**"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/simple-sign">
        <include name="jboss-wsse-server.xml"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity">
        <include name="wsse.keystore"/>
        <include name="wsse.truststore"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-wssecurity-sign-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/simple-sign/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jboss-wsse-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- jaxrpc-samples-wssecurity-encrypt -->
    <war warfile="${tests.output.dir}/libs/jaxrpc-samples-wssecurity-encrypt.war" webxml="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF/web.xml">
      <classes dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/HelloJavaBean.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </classes>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="webservices.xml"/>
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/simple-encrypt">
        <include name="jboss-wsse-server.xml"/>
      </webinf>
      <webinf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity">
        <include name="wsse.keystore"/>
        <include name="wsse.truststore"/>
      </webinf>
    </war>
    <jar jarfile="${tests.output.dir}/libs/jaxrpc-samples-wssecurity-encrypt-client.jar">
      <fileset dir="${tests.output.dir}/classes">
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/Hello.class"/>
        <include name="org/jboss/test/ws/jaxrpc/samples/wssecurity/UserType.class"/>
      </fileset>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/simple-encrypt/META-INF">
        <include name="application-client.xml"/>
        <include name="jboss-client.xml"/>
        <include name="jboss-wsse-client.xml"/>
      </metainf>
      <metainf dir="${tests.output.dir}/resources/jaxrpc/samples/wssecurity/WEB-INF">
        <include name="jaxrpc-mapping.xml"/>
        <include name="wsdl/**"/>
      </metainf>
    </jar>
    
    <!-- Please add alphabetically -->
    
  </target>
  
</project>
