| 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 |
<description> |
| 11 |
Test/Sample Component file for Axis |
| 12 |
|
| 13 |
Notes: |
| 14 |
This is a build file for use with the Jakarta Ant build tool. |
| 15 |
|
| 16 |
Prerequisites: |
| 17 |
|
| 18 |
jakarta-ant from http://jakarta.apache.org |
| 19 |
|
| 20 |
Build Instructions: |
| 21 |
To compile |
| 22 |
ant compile |
| 23 |
To execute |
| 24 |
ant run |
| 25 |
|
| 26 |
Authors: |
| 27 |
Jaime Meritt [email protected] |
| 28 |
Richard Chung [email protected] |
| 29 |
David Chappell [email protected] |
| 30 |
|
| 31 |
Copyright: |
| 32 |
Copyright (c) 2002-2003 Apache Software Foundation. |
| 33 |
</description> |
| 34 |
==================================================================== --> |
| 35 |
<project default="compile"> |
| 36 |
<property name="axis.home" location="../.." /> |
| 37 |
<property name="componentName" value="samples/jms" /> |
| 38 |
<property name="classpath" value="../../build/classes"/> |
| 39 |
|
| 40 |
&properties; |
| 41 |
&paths; |
| 42 |
&taskdefs; |
| 43 |
&taskdefs_post_compile; |
| 44 |
&targets; |
| 45 |
|
| 46 |
<target name="clean"/> |
| 47 |
<target name="copy" depends="setenv"/> |
| 48 |
|
| 49 |
<target name="compile" depends="copy" if="jms.present,junit.present"> |
| 50 |
<!-- Create java files for the jms stub sample --> |
| 51 |
<wsdl2java url="${axis.home}/samples/jms/stub/GetQuote.wsdl" |
| 52 |
output="${axis.home}/build/work" |
| 53 |
protocolHandlerPkgs="org.apache.axis.transport" |
| 54 |
deployscope="session" |
| 55 |
serverSide="no" |
| 56 |
noimports="no" |
| 57 |
verbose="yes" |
| 58 |
typeMappingVersion="1.1" |
| 59 |
testcase="no"> |
| 60 |
<mapping namespace="urn:xmltoday-delayed-quotes" package="samples.jms.stub.xmltoday_delayed_quotes"/> |
| 61 |
<mapping namespace="urn:xmltoday-delayed-quotes" package="samples.jms.stub.xmltoday_delayed_quotes"/> |
| 62 |
</wsdl2java> |
| 63 |
|
| 64 |
<javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"> |
| 65 |
<classpath> |
| 66 |
<path refid="classpath"/> |
| 67 |
</classpath> |
| 68 |
<include name="samples/jms/**/*.java"/> |
| 69 |
<exclude name="samples/jms/**/*.java" unless="jms.present"/> |
| 70 |
<exclude name="samples/**/*SMTP*.java" unless="smtp.present"/> |
| 71 |
<exclude name="**/old/**/*.java"/> |
| 72 |
<include name="build/work/samples/jms/stub/xmltoday_delayed_quotes/*.java"/> |
| 73 |
<exclude name="build/work/samples/jms/stub/xmltoday_delayed_quotes/*.java" unless="jms.present"/> |
| 74 |
</javac> |
| 75 |
</target> |
| 76 |
<target name="deploy"/> |
| 77 |
<target name="run"/> |
| 78 |
<target name="undeploy"/> |
| 79 |
</project> |
| 80 |
|