<!--

    Copyright (c) 1997, 2020 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Distribution License v. 1.0, which is available at
    http://www.eclipse.org/org/documents/edl-v10.php.

    SPDX-License-Identifier: BSD-3-Clause

-->

<property name="path" value="jaxws-${ant.project.name}"/>  

<property name="ant.jar"
            value="${tomcat.home}/lib/catalina-ant.jar"/>
            
<path id="ant.task.classpath">
    <pathelement location="${ant.jar}"/>
</path>

<taskdef name="deploy-catalina" classname="org.apache.catalina.ant.DeployTask"
             classpathref="ant.task.classpath"/>

 <taskdef name="undeploy-catalina" classname="org.apache.catalina.ant.UndeployTask"
         classpathref="ant.task.classpath"/>

<path id="jaxws.classpath">
    <pathelement location="${tomcat.home}/shared/lib/webservices-rt.jar"/>
    <pathelement location="${tomcat.home}/shared/lib/webservices-tools.jar"/>
    <pathelement location="${tomcat.home}/shared/lib/webservices-api.jar"/>
    <pathelement location="${tomcat.home}/shared/lib/webservices-extra-api.jar"/>
    <pathelement location="${tomcat.home}/shared/lib/webservices-extra.jar"/>
    <pathelement location="${basedir}/../etc"/>
    <pathelement location="etc/client"/>
</path>

<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
    <classpath refid="jaxws.classpath"/>
</taskdef>

<taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen">
    <classpath refid="jaxws.classpath"/>
</taskdef>

<taskdef name="apt" classname="com.sun.tools.ws.ant.Apt">
    <classpath refid="jaxws.classpath"/>
</taskdef>

