Debian Codegraph @

test/wsdl/any/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 Ashutosh Shahi [email protected]
29
30 Copyright:
31 Copyright (c) 2004,2005 Apache Software Foundation.
32 </description>
33 ==================================================================== -->
34
35 <project default="compile">
36
37
38 <property name="axis.home" location="../../.." />
39 <property name="componentName" value="test/wsdl/any" />
40 &properties;
41 &paths;
42 &taskdefs;
43 &taskdefs_post_compile;
44 &targets;
45 <target name="clean">
46 <echo message="componentName is ${componentName}"/>
47 <echo message="Removing ${build.dir}/**/test/wsdl/any" />
48 <delete dir="${build.dir}/classes/test/wsdl/any"/>
49 <delete dir="${build.dir}/work/test/wsdl/any"/>
50 </target>
51
52 <target name="compile" depends="setenv, clean">
53 <echo message="Compiling test.wsdl.any"/>
54
55 <!-- Verify files generated based on everything in WSDL -->
56 <wsdl2java url="any.wsdl"
57 output="${axis.home}/build/work"
58 all="yes"
59 verbose="no"
60 serverside="yes"
61 testcase="no">
62 <mapping namespace="urn:partner.soap.sforce.com" package="test.wsdl.any"/>
63 <mapping namespace="urn:sobject.partner.soap.sforce.com" package="test.wsdl.any"/>
64 </wsdl2java>
65
66 <!-- Copy the test case -->
67 <copy file="AnyTestCase.java" overwrite="true"
68 todir="${build.dir}/work/test/wsdl/any"/>
69
70 <copy file="SoapBindingImpl.java" overwrite="true"
71 todir="${build.dir}/work/test/wsdl/any"/>
72
73 <!-- Clean up old classes -->
74 <delete dir="${build.dir}/classes/test/wsdl/any" />
75
76 <!-- Compile the test case -->
77 <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
78 debug="${debug}">
79 <classpath refid="classpath" />
80 <include name="test/wsdl/any/*.java" />
81 </javac>
82 </target>
83
84 <target name="run" >
85 <antcall target="execute-Component" />
86 </target>
87
88 </project>