Dear Axis developers,

Attached please find a readme and build.xml that I would like to contribute
towards the axis 1.2.1 samples/transport folder.  I suggest these as
replacements for the current files with the same names.

The revised readme gives a bit more detail.

The revised build.xml has content in the "deploy" and "run" targets.

I hope you find this helpful.  Please reply to let me know, thanks.

chris...
<?xml version="1.0" ?>
<!DOCTYPE project [
        <!ENTITY properties SYSTEM "file:../../xmls/properties.xml">
        <!ENTITY paths  SYSTEM "file:../../xmls/path_refs.xml">
        <!ENTITY taskdefs SYSTEM "file:../../xmls/taskdefs.xml">
        <!ENTITY taskdefs_post_compile SYSTEM "file:../../xmls/taskdefs_post_compile.xml">
        <!ENTITY targets SYSTEM "file:../../xmls/targets.xml">
]>

<!-- ===================================================================
<description>
   Test/Sample Component file for Axis

Notes:
   This is a build file for use with the Jakarta Ant build tool.

Prerequisites:

   jakarta-ant from http://jakarta.apache.org

Build Instructions:
   To compile
        ant compile
   To execute
	ant deploy
        ant run

Author:
  Matt Seibert [EMAIL PROTECTED]

Copyright:
  Copyright (c) 2002-2003 Apache Software Foundation.
</description>
==================================================================== -->

<project default="compile">
<property name="axis.home" location="../.." />
<property name="componentName" value="samples/transport" />

        &properties;
        &paths;
        &taskdefs;
        &taskdefs_post_compile;
	&targets;

<target name="clean"/>

<target name="copy" depends="setenv"/>

<target name="compile" depends="copy">
  <javac srcdir="${axis.home}" destdir="${build.dest}" debug="${debug}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}">
    <classpath>
        <path refid="classpath"/>
    </classpath>
    <include name="samples/transport/**/*.java"/>
    <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
    <exclude name="**/old/**/*.java" />
  </javac>
</target>

<target name="deploy">
        <java classname="org.apache.axis.utils.Admin" fork="true" failonerror="t
rue">
                <classpath>
                        <path refid="classpath"/>
                </classpath>
                <!--pass some args-->
                <arg value="server"/>
                <arg value="deploy.wsdd"/>
        </java>
</target>

<target name="run">
        <java classname="samples.transport.FileTest" fork="true" failonerror="true">
                <classpath>
                        <path refid="classpath"/>
                        <pathelement location="../.."/>
                </classpath>
                <!--arg is a stock ticker symbol -->
                <arg value="XXX"/>
        </java>
</target>

<target name="undeploy"/>

</project>

Attachment: readme
Description: Binary data

Reply via email to