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">
10
<!-- ===================================================================
12
Test/Sample Component file for Axis
15
This is a build file for use with the Jakarta Ant build tool.
19
jakarta-ant from http://jakarta.apache.org
28
Matt Seibert mseibert@us.ibm.com
31
Copyright (c) 2002-2003 Apache Software Foundation.
33
==================================================================== -->
35
<project default="compile">
37
<property name="axis.home" location="../../.." />
38
<property name="componentName" value="test/wsdl/faults" />
42
&taskdefs_post_compile;
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}"/>
51
<target name="copy" depends="setenv"/>
53
<target name="compile" depends="copy">
54
<echo message="Compiling test.wsdl.faults"/>
55
<!-- WSDL fault generation test -->
56
<wsdl2java url="${axis.home}/test/wsdl/faults/FaultService.wsdl"
57
output="${axis.home}/build/work"
63
<mapping namespace="http://test.com/wsdl/faults" package="test.wsdl.faults"/>
66
<copy todir="${build.dir}/work/test/wsdl/faults" overwrite="yes">
67
<fileset dir="${axis.home}/test/wsdl/faults">
68
<include name="*TestCase.java"/>
69
<include name="*Impl.java"/>
73
<javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
75
<classpath refid="classpath" />
76
<include name="test/wsdl/faults/*.java" />
81
<antcall target="execute-Component" />