jaxws-build.xml 2.49 KB
Newer Older
toaster's avatar
toaster committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?xml version="1.0" encoding="UTF-8"?>
<!--
        *** GENERATED FROM jax-ws.xml - DO NOT EDIT !                             ***
        *** TO MODIFY wsimport options USE Web Service node -> Edit WS Attributes ***
        *** TO CHANGE TARGETS GENERATED TO jaxws-build.xml COPY THOSE             ***
        *** TARGETS TO ../build.xml AND MODIFY THAT FILE INSTEAD                  ***

        -->
<project xmlns:xalan="http://xml.apache.org/xslt" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
    <!--
                ===================
                JAX-WS WSIMPORT SECTION
                ===================
            -->
    <target name="wsimport-init" depends="init">
        <mkdir dir="${build.generated.sources.dir}/jax-ws"/>
        <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
            <classpath path="${libs.jaxws21.classpath}"/>
        </taskdef>
    </target>
    <target name="wsimport-client-IMSWebService" depends="wsimport-init">
        <mkdir dir="${build.generated.dir}/jax-wsCache/IMSWebService"/>
        <property name="wsdl-IMSWebService" location="xml-resources/web-service-references/IMSWebService/wsdl/ims.umiacs.umd.edu_8080/ace-ims/IMSWebService.wsdl"/>
        <wsimport xendorsed="true" sourcedestdir="${build.generated.dir}/jax-wsCache/IMSWebService" destdir="${build.generated.dir}/jax-wsCache/IMSWebService" wsdl="${wsdl-IMSWebService}" catalog="catalog.xml">
            <binding dir="xml-resources/web-service-references/IMSWebService/bindings" includes="binding2.xml"/>
            <depends file="${wsdl-IMSWebService}"/>
            <produces dir="${build.generated.dir}/jax-wsCache/IMSWebService"/>
        </wsimport>
        <copy todir="${build.generated.sources.dir}/jax-ws">
            <fileset dir="${build.generated.dir}/jax-wsCache/IMSWebService">
                <include name="**/*.java"/>
            </fileset>
        </copy>
        <copy todir="${build.classes.dir}">
            <fileset dir="${build.generated.dir}/jax-wsCache/IMSWebService">
                <include name="**/*.xml"/>
            </fileset>
        </copy>
    </target>
    <target name="wsimport-client-clean-IMSWebService" depends="-init-project">
        <delete dir="${build.generated.dir}/jax-wsCache/IMSWebService"/>
        <delete dir="${build.generated.sources.dir}/jax-ws/edu/umiacs/ace/ims/ws"/>
    </target>
    <target name="wsimport-client-generate" depends="wsimport-client-IMSWebService"/>
</project>