Debian Codegraph @

test/wsdl/interop5/basetype/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 name="Round5" default="compile">
36 <property name="axis.home" location="../../../.." />
37 <property name="componentName" value="test/wsdl/interop5/basetype" />
38 &properties;
39 &paths;
40 &taskdefs;
41 &taskdefs_post_compile;
42 &targets;
43 <property name="root.dir" value="../../../.."/>
44
45 <target name="clean">
46 <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" />
47 <delete dir="${build.dir}/classes/${componentName}"/>
48 <delete dir="${build.dir}/work/${componentName}"/>
49 </target>
50
51 <target name="compile" depends="setenv">
52 <property name="testname" value="basetype"/>
53
54 <!-- generate skeletons -->
55 <wsdl2java url="${axis.home}/test/wsdl/interop5/basetype/Round5BaseTypes.wsdl"
56 output="${root.dir}/build/work"
57 skeletonDeploy="no"
58 testCase="yes"
59 serverSide="yes">
60 <mapping namespace="http://soapinterop.org/" package="test.wsdl.interop5.basetype"/>
61 <mapping namespace="http://soapinterop.org/xsd" package="test.wsdl.interop5.basetype.xsd"/>
62 <mapping namespace="http://soapinterop.org/echoheader/" package="test.wsdl.interop5.echo"/>
63 <mapping namespace="http://soapinterop.org" package="test.wsdl.interop5.basetype"/>
64 <mapping namespace="http://schemas.xmlsoap.org/soap/encoding/" package="test.wsdl.interop5.basetype.soap.encoding"/>
65 <mapping namespace="http://schemas.xmlsoap.org/wsdl/mime/" package="test.wsdl.interop5.basetype.wsdl.mime"/>
66 <mapping namespace="http://schemas.xmlsoap.org/wsdl/http/" package="test.wsdl.interop5.basetype.wsdl.http"/>
67 <mapping namespace="http://schemas.xmlsoap.org/wsdl/soap/" package="test.wsdl.interop5.basetype.wsdl.soap"/>
68 <mapping namespace="services.wsdl" package="test.wsdl.interop5.basetype"/>
69 </wsdl2java>
70
71 <mkdir dir="${build.dest}"/>
72
73 <copy file="BaseTypesInteropTestsTestCase.java"
74 todir="${root.dir}/build/work/test/wsdl/interop5/basetype/"
75 overwrite="yes"/>
76 <copy file="InteropTestsBindingImpl.java"
77 todir="${root.dir}/build/work/test/wsdl/interop5/basetype/"
78 overwrite="yes"/>
79
80 <!-- compile the skeletons -->
81 <javac srcdir="${build.dir}/work"
82 destdir="${build.dest}" debug="on" source="${source}" nowarn="${nowarn}">
83 <classpath refid="classpath" />
84 <include name="test/wsdl/interop5/basetype/*.java" />
85 <include name="test/wsdl/interop5/basetype/xsd/*.java" />
86 </javac>
87 </target>
88
89 <target name="run" >
90 <antcall target="execute-Component" />
91 </target>
92
93 </project>