Debian Codegraph @

samples/message/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/message" />
38
39 &properties;
40 &paths;
41 &taskdefs;
42 &taskdefs_post_compile;
43 &targets;
44
45 <taskdef name="axis-admin" classname="org.apache.axis.tools.ant.axis.AdminClientTask"
46 loaderref="axis" >
47 <classpath refid="classpath"/>
48 </taskdef>
49
50 <target name="clean"/>
51
52 <target name="copy" depends="setenv"/>
53
54 <target name="compile" depends="copy">
55 <javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
56 <classpath>
57 <path refid="classpath"/>
58 </classpath>
59 <include name="samples/message/**/*.java"/>
60 <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
61 <exclude name="**/old/**/*.java" />
62 </javac>
63 </target>
64
65 <target name="deploy">
66 <axis-admin xmlfile="${basedir}/deploy.wsdd"/>
67 </target>
68
69
70 <target name="run">
71
72 <java classname="samples.message.TestMsg" fork="yes">
73 <classpath>
74 <path refid="classpath"/>
75 </classpath>
76 </java>
77
78 </target>
79
80 <target name="undeploy">
81 <axis-admin xmlfile="${basedir}/undeploy.wsdd"/>
82 </target>
83
84 </project>