Debian Codegraph @

test/wsdl/roundtrip2/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
37 <property name="axis.home" location="../../.." />
38 <property name="componentName" value="test/wsdl/roundtrip2" />
39 &properties;
40 &paths;
41 &taskdefs;
42 &taskdefs_post_compile;
43 &targets;
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="copy" depends="setenv"/>
52
53 <target name="compile" depends="copy">
54 <echo message="Compiling test.wsdl.roundtrip2"/>
55
56 <copy todir="${build.dir}/work/test/wsdl/roundtrip2" overwrite="yes">
57 <fileset dir="${axis.home}/test/wsdl/roundtrip2">
58 <include name="RoundTrip2SoapBindingImpl.java"/>
59 <include name="RoundTrip2Test.java"/>
60 </fileset>
61 </copy>
62
63 <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
64 debug="${debug}">
65 <classpath refid="classpath" />
66 <include name="test/wsdl/roundtrip2/*.java" />
67 </javac>
68
69 <java classname="org.apache.axis.wsdl.Java2WSDL" fork="true"
70 classpathref="classpath">
71 <arg value="-T"/>
72 <arg value="1.3"/>
73 <arg value="-o"/>
74 <arg value="${axis.home}/build/work/test/wsdl/roundtrip2/roundtrip2.wsdl"/>
75 <arg value="--location"/>
76 <arg value="http://localhost:8080/axis/services/RoundTrip2Test"/>
77 <arg value="--namespace"/>
78 <arg value="http://roundtrip2.wsdl.test/"/>
79 <arg value="-s"/>
80 <arg value="RoundTrip2Test"/>
81 <arg value="-P"/>
82 <arg value="RoundTrip2Test"/>
83 <arg value="--style"/>
84 <arg value="RPC"/>
85 <arg value="--use"/>
86 <arg value="ENCODED"/>
87 <arg value="test.wsdl.roundtrip2.RoundTrip2Test"/>
88 </java>
89
90 <wsdl2java url="${axis.home}/build/work/test/wsdl/roundtrip2/roundtrip2.wsdl"
91 output="${axis.home}/build/work"
92 deployscope="session"
93 typeMappingVersion="1.3"
94 serverSide="yes"
95 testcase="yes">
96 </wsdl2java>
97 <!-- Please comment the above wsdl2java block and uncomment this block to recreate the problem
98 <wsdl2java url="${axis.home}/build/work/test/wsdl/roundtrip2/roundtrip2.wsdl"
99 output="${axis.home}/build/work"
100 typemappingVersion="1.3"
101 deployscope="session"
102 serverSide="yes"
103 testcase="yes">
104 </wsdl2java>
105 -->
106 <copy todir="${build.dir}/work/test/wsdl/roundtrip2" overwrite="yes">
107 <fileset dir="${axis.home}/test/wsdl/roundtrip2">
108 <include name="*.java"/>
109 </fileset>
110 </copy>
111
112 <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
113 debug="${debug}">
114 <classpath refid="classpath" />
115 <include name="test/wsdl/roundtrip2/*.java" />
116 </javac>
117
118 </target>
119
120 <target name="run" >
121 <antcall target="execute-Component" />
122 </target>
123
124 </project>