summaryrefslogtreecommitdiff
path: root/Year_3/TSDWL/WSDL/BankClient/nbproject/jaxws-build.xml
blob: 0ea369ee530360db520df52f09f12ebc679581b8 (plain)
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
46
<?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:webproject2="http://www.netbeans.org/ns/web-project/2" xmlns:jaxws="http://www.netbeans.org/ns/jax-ws/1">
    <!--
                ===================
                JAX-WS WSGEN SECTION
                ===================
            -->
    <!--
                ===================
                JAX-WS WSIMPORT SECTION
                ===================
            -->
    <target name="wsimport-init" depends="init">
        <fail if="${wsimport.bad.version}" message="WsImport ant task defined in the classpath ${j2ee.platform.wsimport.classpath} has a serious bug. See http://wiki.netbeans.org/MetroIssue for details."/>
        <mkdir dir="${build.generated.sources.dir}/jax-ws"/>
        <property name="j2ee.platform.wsimport.classpath" value="${libs.jaxws21.classpath}"/>
        <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
            <classpath path="${java.home}/../lib/tools.jar:${j2ee.platform.wsimport.classpath}:${javac.classpath}"/>
        </taskdef>
        <condition property="conf-dir" value="${conf.dir}/" else="">
            <isset property="conf.dir"/>
        </condition>
    </target>
    <target name="wsimport-client-BankOperations" depends="wsimport-init">
        <mkdir dir="${build.generated.dir}/jax-wsCache/BankOperations"/>
        <wsimport sourcedestdir="${build.generated.dir}/jax-wsCache/BankOperations" destdir="${build.generated.dir}/jax-wsCache/BankOperations" wsdl="${basedir}/${conf-dir}xml-resources/web-service-references/BankOperations/wsdl/localhost_8080/WsBank/BankOperations.wsdl" catalog="catalog.xml" encoding="${source.encoding}" extension="true" verbose="true" fork="false" wsdlLocation="http://localhost:8080/WsBank/BankOperations?wsdl" xnocompile="true" xendorsed="true" package="it.dmi.exams.client.bank">
            <depends file="${basedir}/${conf-dir}xml-resources/web-service-references/BankOperations/wsdl/localhost_8080/WsBank/BankOperations.wsdl"/>
            <produces dir="${build.generated.dir}/jax-wsCache/BankOperations"/>
        </wsimport>
        <copy todir="${build.generated.sources.dir}/jax-ws">
            <fileset dir="${build.generated.dir}/jax-wsCache/BankOperations">
                <include name="**/*.java"/>
            </fileset>
        </copy>
    </target>
    <target name="wsimport-client-clean-BankOperations" depends="-init-project">
        <delete dir="${build.generated.sources.dir}/jax-ws/it/dmi/exams/client/bank"/>
        <delete dir="${build.generated.dir}/jax-wsCache/BankOperations"/>
    </target>
    <target name="wsimport-client-generate" depends="wsimport-client-BankOperations"/>
</project>