Debian Codegraph @

samples/ws-i/scm/build.xml

raw
1 <?xml version="1.0" ?>
2 <!DOCTYPE project [
3 <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
4 <!ENTITY paths SYSTEM "file:../../../xmls/path_refs.xml">
5 <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
6 <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
7 <!ENTITY targets SYSTEM "file:../../../xmls/targets.xml">
8 ]>
9
10 <!-- ===================================================================
11 <description>
12 WS-I Sample Application - Supply Chain Manangement for Axis
13
14 Notes:
15 This is a build file for use with the Jakarta Ant build tool.
16
17 Prerequisites:
18
19 Apache Ant from http://ant.apache.org
20
21 Build Instructions:
22 To compile
23 ant compile
24 To execute
25 ant run
26
27 Author:
28 Ias [email protected]
29 [email protected]
30
31 Copyright:
32 Copyright (c) 2003 Apache Software Foundation.
33 </description>
34 ==================================================================== -->
35 <project default="compile">
36 <property name="axis.home" location="../../.."/>
37 <property name="componentName" value="samples/ws-i/scm"/>
38 <property name="componentPackage" value="org/apache/axis/wsi/scm"/>
39 <property name="extraTestCases" value="org/apache/axis/wsi/scm/**" />
40
41 &properties;
42 &paths;
43 &taskdefs;
44 &taskdefs_post_compile;
45 &targets;
46
47 <target name="clean">
48 <echo message="Removing ${build.dest}/${componentPackage} and ${build.dir}/work/${componentName}" />
49 <delete dir="${build.dest}/${componentPackage}"/>
50 <delete dir="${build.dir}/work/${componentName}"/>
51 </target>
52
53 <target name="copy" depends="setenv"/>
54
55 <target name="compile" depends="copy">
56 <!-- Commented out by gdaniels on 9/21/04 due to problems getting the WSDL from ws-i.org
57
58 <echo message="Running WSDL2Java and Java2WSDL Emitters"/>
59 <mkdir dir="${axis.home}/build/work/${componentName}"/>
60
61 <wsdl2java output="${axis.home}/build/work/${componentName}" verbose="true" serverside="true" url="${axis.home}/samples/ws-i/scm/source/wsdl/LoggingFacilityImpl.wsdl">
62 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl" package="org.apache.axis.wsi.scm.logging"/>
63 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.xsd" package="org.apache.axis.wsi.scm.logging"/>
64 </wsdl2java>
65
66 <wsdl2java output="${axis.home}/build/work/${componentName}" verbose="true" serverside="true" url="${axis.home}/samples/ws-i/scm/source/wsdl/ManufacturerImpl.wsdl">
67 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl" package="org.apache.axis.wsi.scm.manufacturer"/>
68 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.xsd" package="org.apache.axis.wsi.scm.manufacturer"/>
69 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerPO.xsd" package="org.apache.axis.wsi.scm.manufacturer.po"/>
70 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/ManufacturerSN.xsd" package="org.apache.axis.wsi.scm.manufacturer.sn"/>
71 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" package="org.apache.axis.wsi.scm.configuration"/>
72 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer/CallBack" package="org.apache.axis.wsi.scm.manufacturer.callback"/>
73 </wsdl2java>
74
75 <wsdl2java output="${axis.home}/build/work/${componentName}" verbose="true" serverside="true" url="${axis.home}/samples/ws-i/scm/source/wsdl/RetailerImpl.wsdl">
76 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Retailer.wsdl" package="org.apache.axis.wsi.scm.retailer"/>
77 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailCatalog.xsd" package="org.apache.axis.wsi.scm.retailer.catalog"/>
78 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/RetailOrder.xsd" package="org.apache.axis.wsi.scm.retailer.order"/>
79 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" package="org.apache.axis.wsi.scm.configuration"/>
80 </wsdl2java>
81
82 <wsdl2java output="${axis.home}/build/work/${componentName}" verbose="true" serverside="true" url="${axis.home}/samples/ws-i/scm/source/wsdl/ConfiguratorImpl.wsdl">
83 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.wsdl" package="org.apache.axis.wsi.scm.configurator"/>
84 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configurator.xsd" package="org.apache.axis.wsi.scm.configurator"/>
85 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" package="org.apache.axis.wsi.scm.configuration"/>
86 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" package="org.apache.axis.wsi.scm.configuration"/>
87 </wsdl2java>
88
89 <wsdl2java output="${axis.home}/build/work/${componentName}" verbose="true" serverside="true" url="${axis.home}/samples/ws-i/scm/source/wsdl/WarehouseImpl.wsdl">
90 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl" package="org.apache.axis.wsi.scm.warehouse"/>
91 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.xsd" package="org.apache.axis.wsi.scm.warehouse"/>
92 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.wsdl" package="org.apache.axis.wsi.scm.configuration"/>
93 <mapping namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Configuration.xsd" package="org.apache.axis.wsi.scm.configuration"/>
94 </wsdl2java>
95
96 <copy todir="${build.dir}/work/${componentName}" overwrite="yes">
97 <fileset dir="${axis.home}/samples/ws-i/scm/source/java/implemented">
98 <include name="**/*.java"/>
99 </fileset>
100 </copy>
101
102 <javac srcdir="${build.dir}/work/${componentName}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
103 <classpath>
104 <path refid="classpath"/>
105 </classpath>
106 <include name="**/*.java"/>
107 </javac>
108 -->
109 </target>
110
111 <!--
112 <target name="deploy"/>
113 -->
114
115 <target name="run">
116 <!-- <antcall target="execute-Component"/>-->
117 </target>
118
119 <!--
120 <target name="undeploy"/>
121 -->
122
123 </project>