~ubuntu-branches/debian/squeeze/axis/squeeze

« back to all changes in this revision

Viewing changes to test/wsdl/faults/build.xml

  • Committer: Bazaar Package Importer
  • Author(s): Vladimír Lapáček
  • Date: 2006-09-06 22:31:39 UTC
  • Revision ID: james.westby@ubuntu.com-20060906223139-l7m5edxeositeppl
Tags: upstream-1.4
Import upstream version 1.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 mseibert@us.ibm.com
 
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/wsdl/faults" />
 
39
        &properties;
 
40
        &paths;
 
41
        &taskdefs;
 
42
        &taskdefs_post_compile;
 
43
        &targets;
 
44
 
 
45
<target name="clean">
 
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}"/>
 
49
</target>
 
50
 
 
51
<target name="copy" depends="setenv"/>
 
52
 
 
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"
 
58
               testcase="yes"
 
59
               deployscope="none"
 
60
               serverSide="yes"
 
61
               verbose="no"
 
62
               noimports="no">
 
63
        <mapping namespace="http://test.com/wsdl/faults" package="test.wsdl.faults"/>
 
64
    </wsdl2java>
 
65
 
 
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"/>
 
70
      </fileset>
 
71
    </copy>
 
72
 
 
73
    <javac srcdir="${build.dir}/work" destdir="${build.dest}" nowarn="${nowarn}" source="${source}" fork="${javac.fork}"
 
74
           debug="${debug}">
 
75
      <classpath refid="classpath" />
 
76
      <include name="test/wsdl/faults/*.java" />
 
77
    </javac>
 
78
</target>
 
79
 
 
80
<target name="run" >
 
81
  <antcall target="execute-Component" />
 
82
</target>
 
83
 
 
84
</project>