Debian Codegraph @

test/wsdl/schemaImport/build.xml

raw
1 <?xml version="1.0"?>
2 <!-- edited with XMLSPY v5 U (http://www.xmlspy.com) by Doug Bitting (Agile Software) -->
3 <!DOCTYPE project [
4 <!ENTITY properties SYSTEM "file:../../../xmls/properties.xml">
5 <!ENTITY paths SYSTEM "file:../../../xmls/path_refs.xml">
6 <!ENTITY taskdefs SYSTEM "file:../../../xmls/taskdefs.xml">
7 <!ENTITY taskdefs_post_compile SYSTEM "file:../../../xmls/taskdefs_post_compile.xml">
8 <!ENTITY targets SYSTEM "file:../../../xmls/targets.xml">
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 <project default="compile">
35 <property name="axis.home" location="../../.."/>
36 <property name="componentName" value="test/wsdl/schemaImport"/>
37 &properties;
38 &paths;
39 &taskdefs;
40 &taskdefs_post_compile;
41 &targets;
42
43 <target name="clean">
44 <echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}"/>
45 <delete dir="${build.dir}/classes/${componentName}"/>
46 <delete dir="${build.dir}/work/${componentName}"/>
47 </target>
48 <target name="copy" depends="setenv"/>
49 <target name="compile" depends="copy">
50 <!-- Generate the WSDL file that the test will validate.-->
51 <echo message="Compiling test.wsdl.schemaImport"/>
52 <javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
53 <classpath refid="classpath"/>
54 <include name="test/wsdl/schemaImport/**.java"/>
55 </javac>
56 <mkdir dir="${axis.home}/build/work/test/wsdl/schemaImport"/>
57 <java2wsdl output="${axis.home}/build/work/test/wsdl/schemaImport/foo.wsdl" className="test.wsdl.schemaImport.foo" namespace="urn:ImportSchemaTest" importSchema="${axis.home}/test/wsdl/schemaImport/foo.xsd" location="http://www.foo.com/foo" style="DOCUMENT">
58 <mapping namespace="urn:ImportSchemaTest" package="test.wsdl.schemaImport"/>
59 </java2wsdl>
60 </target>
61 <target name="run">
62 <antcall target="execute-Component-noServer"/>
63 </target>
64 </project>