<?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-testsuite-artifacts.xml 3137 2007-05-18 13:41:57Z thomas.diesler@jboss.com $ -->

<project name="JBossWS-Tools" default="build-tools-artifacts" basedir="../..">
   
   <description>JBossWS testsuite artifacts builder</description>
   
   <import file="build.xml"/>  
   <path id="tools.classpath">
      <path refid="jbossws.client.classpath"/>
      <pathelement location="${jboss.testsuite}/output/classes"/>
   </path>
   
   <!-- Define a taskdef for the wstools ant task -->
   <taskdef name="wstools" classname="org.jboss.ws.tools.ant.wstools"
      classpathref="tools.classpath"/>  
   
   <target name="build-tools-artifacts" description="Build the deployments.">
      <!-- jaxrpc-rpclit  -->
      <echo>Working on jbws64-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws64/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws64-config.xml"/>

      <echo>Working on jbws68-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws68/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws68-config.xml"/>

      <echo>Working on jbws70-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws70/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws70-config.xml"/>

      <echo>Working on jbws71-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws71/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws71-config.xml"/>
      
      <echo>Working on jbws82-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws82/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws82-config.xml"/>
      
      <echo>Working on jbws124-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws124/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws124-config.xml"/>
      
      <echo>Working on jbws128-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws128/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws128-config.xml"/>
      
      <echo>Working on jbws163-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws163/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws163-config.xml"/>
      <echo>Working on jbws165-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws165/META-INF-both"
         config="${test.resources.dir}/tools/testsuite-configs/jbws165-config.xml"/>
      
      <echo>Working on jbws167-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws167/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws167-config.xml"/>
<!-- FIXME: JBWS-603 -->
      <echo>Working on jbws251-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws251/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws251-config.xml"/>
      
      <echo>Working on jbws309-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws309/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws309-config.xml"/>
<!-- FIXME: JBWS-605-->      
      <echo>Working on jbws316-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws316/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws316-config.xml"/>

      <echo>Working on jbws331-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws331/WS-META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws331-config.xml"/>

      <echo>Working on jbws358-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws358/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws358-config.xml"/>
      
      <echo>Working on jbws377-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws377/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws377-config.xml"/>
      
      <echo>Working on jbws383-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws383/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws383-config.xml"/>

      <echo>Working on jbws423-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws423/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws423-config.xml"/>
<!-- FIXME: JBWS-608 -->
      <echo>Working on jbws424-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws424/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws424-config.xml"/>

      <echo>Working on jbws425-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws425/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws425-config.xml"/>
      
      <echo>Working on jbws456-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws456/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws456-config.xml"/>

      <echo>Working on jbws463-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws463/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws463-config.xml"/>

      <echo>Working on jbws464-config.xml</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws464/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/jbws464-config.xml"/>
      
      <echo>Working on addressrewrite</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/addressrewrite/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/addressrewrite-config.xml"/>
      
      <echo>Working on admindevel</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/admindevel/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/admindevel-config.xml"/>
<!-- FIXME: JBWS-613       
      <echo>Working on attachment</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/attachment/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/attachment-config.xml"/>
      </wstools>
-->

      <echo>Working on encstyle/document</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/encstyle/document/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/encstyle-document-config.xml"/>
      
      <echo>Working on encstyle/rpc</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/encstyle/rpc/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/encstyle-rpc-config.xml"/>

<!-- FIXME: JBWS-615 -->
      <echo>Working on exception</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/exception/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/exception-config.xml"/>

      <echo>Working on handlerflow</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/handlerflow/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/handlerflow-config.xml"/>
<!-- FIXME: JBWS-617    -->   
      <echo>Working on marshalltest-doclit</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/marshalltest-doclit/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/marshalltest-doclit-config.xml"/>
<!-- FIXME: JBWS-618 -->   
      <echo>Working on marshalltest-rpclit</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/marshalltest-rpclit/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/marshalltest-rpclit-config.xml"/>

      <echo>Working on message</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/message/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/message-config.xml"/>

      <echo>Working on samples/common</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/samples/common/META-INF"
         config="${test.resources.dir}/tools/testsuite-configs/samples-common-config.xml"/>
      
      <echo>Working on samples2/rpclit</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/samples2/rpclit"
         config="${test.resources.dir}/tools/testsuite-configs/samples2-rpclit-config.xml"/>
      
      <echo>Working on samples2/doclit</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/samples2/doclit"
         config="${test.resources.dir}/tools/testsuite-configs/samples2-doclit-config.xml"/>
      
      <echo>Working on samples2/doclit-bare</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/samples2/doclit-bare"
         config="${test.resources.dir}/tools/testsuite-configs/samples2-doclit-bare-config.xml"/>
      
      <echo>Working on utf16</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/utf16/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/utf16-config.xml"/>
      
      <echo>Working on ws4eesimple</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/ws4eesimple/WEB-INF"
         config="${test.resources.dir}/tools/testsuite-configs/ws4eesimple-config.xml"/>

      <echo/>
      <echo>WSDL->Java</echo>
      <echo>----------</echo>
      <echo>Working on ws4eesimple-client</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/ws4eesimple-client"
         config="${test.resources.dir}/tools/testsuite-configs/ws4eesimple-client-config.xml"/>

<!-- FIXME:JBWS-623 -->
      <echo>Working on jbws-349</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws349"
         config="${test.resources.dir}/tools/testsuite-configs/jbws349-config.xml"/>

<!-- FIXME: JBWS-624  -->
      <echo>Working on jbws381</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws381"
         config="${test.resources.dir}/tools/testsuite-configs/jbws381-config.xml"/>
<!-- FIXME: JBWS-625 -->
      <echo>Working on jbws484</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws484"
         config="${test.resources.dir}/tools/testsuite-configs/jbws484-config.xml"/>
      
      <echo>Working on jbws153</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/jbws153"
         config="${test.resources.dir}/tools/testsuite-configs/jbws153-config.xml"/>

      <echo>Working on samples/client-appl</echo>
      <wstools dest="${build.test.resources.dir}/testsuite/samples/client-appl"
         config="${test.resources.dir}/tools/testsuite-configs/samples-client-config.xml"/>
   </target>
</project>
