Debian Codegraph @

samples/userguide/example6/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 Test/Sample Component file for Axis
13
14 Notes:
15 This is a build file for use with the Jakarta Ant build tool.
16
17 Prerequisites:
18
19 jakarta-ant from http://jakarta.apache.org
20
21 Build Instructions:
22 To compile
23 ant compile
24 To execute
25 ant run
26
27 Author:
28 Matt Seibert [email protected]
29
30 Copyright:
31 Copyright (c) 2002-2003 Apache Software Foundation.
32 </description>
33 ==================================================================== -->
34
35 <project default="compile">
36 <property name="axis.home" location="../../.."/>
37 <property name="componentName" value="samples/userguide/example6"/>
38
39 &properties;
40 &paths;
41 &taskdefs;
42 &taskdefs_post_compile;
43 &targets;
44
45 <target name="clean"/>
46
47 <target name="copy" depends="setenv"/>
48
49 <target name="compile" depends="copy">
50
51 <copy todir="${build.dir}/work/samples" overwrite="yes">
52 <fileset dir="${samples.dir}">
53 <include name="**/userguide/example6/"/>
54 </fileset>
55 </copy>
56
57 <!-- Compile the sample code -->
58 <javac srcdir="${axis.home}" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
59 debug="${debug}">
60 <classpath>
61 <pathelement location="${build.lib}/${name}.jar"/>
62 <pathelement location="${build.lib}/${jaxrpc}.jar"/>
63 <pathelement location="${build.lib}/${saaj}.jar"/>
64 <path refid="classpath"/>
65 </classpath>
66 <include name="samples/userguide/example6/*.java"/>
67 <exclude name="samples/userguide/example6/Main.java"/>
68 <exclude name="samples/userguide/example6/*Impl.java"/>
69 <exclude name="samples/userguide/example6/*TestCase.java"/>
70 </javac>
71
72 <echo message="Running WSDL2Java and Java2WSDL Emitters"/>
73
74 <!-- WidgetPrice Java to WSDL Samples -->
75 <java2wsdl output="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl"
76 className="samples.userguide.example6.WidgetPrice"
77 namespace="urn:Example6"
78 location="http://localhost:8080/axis/services/WidgetPrice">
79 <mapping namespace="urn:Example6" package="samples.userguide.example6"/>
80 </java2wsdl>
81
82 <wsdl2java url="${axis.home}/build/work/samples/userguide/example6/WidgetPrice.wsdl"
83 output="${axis.home}/build/work"
84 deployscope="session"
85 serverSide="yes"
86 skeletonDeploy="yes"
87 noimports="no"
88 verbose="no"
89 testcase="yes">
90 <mapping namespace="urn:Example6" package="samples.userguide.example6"/>
91 </wsdl2java>
92
93 <delete dir="${build.dir}/classes/samples/userguide/example6"/>
94
95 <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
96 <classpath>
97 <path refid="classpath"/>
98 </classpath>
99 <include name="samples/userguide/example6/**/*.java"/>
100 <exclude name="samples/userguide/example6/*TestCase.java" unless="junit.present"/>
101 <exclude name="samples/userguide/example6/Main.java" unless="junit.present"/>
102 </javac>
103 </target>
104
105 <target name="deploy"/>
106
107 <target name="run">
108 <antcall target="execute-Component"/>
109 </target>
110
111 <target name="undeploy"/>
112
113 </project>