Debian Codegraph @

samples/addr/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/addr" />
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 <javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
52 <classpath>
53 <path refid="classpath"/>
54 </classpath>
55 <include name="samples/addr/**/*.java"/>
56 <exclude name="samples/addr/*.java" />
57 <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
58 <exclude name="**/old/**/*.java" />
59 </javac>
60
61 <wsdl2java url="${axis.home}/samples/addr/AddressBook.wsdl"
62 output="${build.dir}/work"
63 deployscope="session"
64 serverSide="yes"
65 skeletonDeploy="yes"
66 noimports="no"
67 verbose="no"
68 typeMappingVersion="1.1"
69 testcase="no">
70 <mapping namespace="urn:AddressFetcher2" package="samples.addr"/>
71 </wsdl2java>
72
73 <copy todir="${build.dir}/work/samples/addr" overwrite="yes">
74 <fileset dir="${axis.home}/samples/addr">
75 <include name="Main.java"/>
76 <include name="DOMUtils.java"/>
77 <include name="AddressBookSOAPBindingImpl.java"/>
78 </fileset>
79 </copy>
80
81 <!-- Compile the echo sample generated java files -->
82 <javac srcdir="${build.dir}/work" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
83 <classpath refid="classpath" />
84 <include name="samples/addr/**.java" />
85 </javac>
86
87 </target>
88
89 <target name="deploy"/>
90
91 <target name="run"/>
92
93 <target name="undeploy"/>
94
95 </project>