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

« back to all changes in this revision

Viewing changes to test/wsdl/soap12/assertion/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
Glen Daniels gdaniels@apache.org
 
30
 
 
31
Copyright:
 
32
Copyright (c) 2002-2003 Apache Software Foundation.
 
33
</description>
 
34
==================================================================== -->
 
35
 
 
36
<project name="Round4" default="compile">
 
37
    <property name="axis.home" location="../../../.." />
 
38
    <property name="componentName" value="test/wsdl/soap12/assertion" />
 
39
    &properties;
 
40
    &paths;
 
41
    &taskdefs;
 
42
    &taskdefs_post_compile;
 
43
    &targets;
 
44
    <property name="root.dir" value="../../../.."/>
 
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="compile" depends="setenv">
 
52
        <property name="testname" value="assertion"/>
 
53
        
 
54
        <!-- generate skeletons -->
 
55
        <wsdl2java url="${axis.home}/test/wsdl/soap12/assertion/soap12-test.wsdl"
 
56
            output="${root.dir}/build/work" skeletonDeploy="no" testCase="yes" timeout="-1"
 
57
            serverSide="yes">
 
58
            <mapping namespace="http://whitemesa.net/wsdl/soap12-test" package="test.wsdl.soap12.assertion"/>
 
59
            <mapping namespace="http://example.org/ts-tests/xsd" package="test.wsdl.soap12.assertion.xsd"/>
 
60
        </wsdl2java>
 
61
        
 
62
        <mkdir dir="${build.dest}"/>
 
63
 
 
64
        <copy todir="${build.dir}/work/test/wsdl/soap12/assertion" overwrite="yes">
 
65
          <fileset dir="${axis.home}/test/wsdl/soap12/assertion">
 
66
            <include name="*TestCase.java"/>
 
67
            <include name="*Impl.java"/>
 
68
          </fileset>
 
69
        </copy>
 
70
 
 
71
        <!-- compile the code -->
 
72
        <javac srcdir="${build.dir}/work"
 
73
            destdir="${build.dest}" debug="on" source="${source}" nowarn="${nowarn}">
 
74
            <classpath refid="classpath" />
 
75
            <include name="test/wsdl/soap12/assertion/**/*.java" />
 
76
        </javac>
 
77
    </target>
 
78
    
 
79
    <target name="run" >
 
80
        <antcall target="execute-Component" />
 
81
    </target>
 
82
    
 
83
</project>