| 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/soap" /> |
| 39 |
|
| 40 |
&properties; |
| 41 |
&paths; |
| 42 |
&taskdefs; |
| 43 |
&taskdefs_post_compile; |
| 44 |
&targets; |
| 45 |
|
| 46 |
<target name="clean"> |
| 47 |
<echo message="Removing ${build.dir}/classes/${componentName} and ${build.dir}/work/${componentName}" /> |
| 48 |
<delete dir="${build.dir}/classes/${componentName}"/> |
| 49 |
<delete dir="${build.dir}/work/${componentName}"/> |
| 50 |
</target> |
| 51 |
|
| 52 |
<target name="copy" depends="setenv"> |
| 53 |
<echo message="Compiling test.utils"/> |
| 54 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/test/utils" antfile="build.xml" target="compile"/> |
| 55 |
<echo message="Compiling test.RPCDispatch"/> |
| 56 |
<ant inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}" dir="${axis.home}/test/RPCDispatch" antfile="build.xml" target="compile"/> |
| 57 |
</target> |
| 58 |
|
| 59 |
<target name="compile" depends="copy"> |
| 60 |
<echo message="Compiling test.soap"/> |
| 61 |
<javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 62 |
<classpath> |
| 63 |
<path refid="classpath"/> |
| 64 |
</classpath> |
| 65 |
<include name="test/soap/*.java"/> |
| 66 |
</javac> |
| 67 |
</target> |
| 68 |
|
| 69 |
<target name="run" > |
| 70 |
<antcall target="execute-Component" /> |
| 71 |
</target> |
| 72 |
|
| 73 |
</project> |