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

« back to all changes in this revision

Viewing changes to buildSamples.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
<project default="printEnv" basedir=".">
 
11
<!-- =================================================================== -->
 
12
<description>
 
13
   Samples Build file for Axis
 
14
 
 
15
Notes:
 
16
   This is a build file for use with the Jakarta Ant build tool.
 
17
 
 
18
Prerequisites:
 
19
 
 
20
   jakarta-ant from http://jakarta.apache.org
 
21
 
 
22
Optional components:
 
23
   SOAP Attachment support enablement:
 
24
     activation.jar from http://java.sun.com/products/javabeans/glasgow/jaf.html
 
25
     mailapi.jar    from http://java.sun.com/products/javamail/
 
26
   Security support enablement:
 
27
     xmlsec.jar from fresh build of CVS from http://xml.apache.org/security/
 
28
     Other support jars from http://cvs.apache.org/viewcvs.cgi/xml-security/libs/
 
29
 
 
30
Build Instructions:
 
31
   To build, run
 
32
 
 
33
     ant "target"
 
34
 
 
35
   on the directory where this file is located with the target you want.
 
36
 
 
37
Most useful targets:
 
38
 
 
39
 - compile  : compiles the samples and WSDL files
 
40
 
 
41
Author:
 
42
  Matt Seibert mseibert@us.ibm.com
 
43
 
 
44
Copyright:
 
45
  Copyright (c) 2002-2003 Apache Software Foundation.
 
46
</description>
 
47
<!-- ==================================================================== -->
 
48
        &properties;
 
49
        &paths;
 
50
        &taskdefs;
 
51
        &taskdefs_post_compile;
 
52
        &targets;
 
53
 
 
54
<!-- =========================================================================== -->
 
55
  <target name="copy"/>
 
56
 
 
57
<!-- =========================================================================== -->
 
58
 
 
59
  <target name="compile" depends="printEnv,copy">
 
60
    <!-- Compile the sample code -->
 
61
    <foreach target="component-compile" fork="${foreach.fork}" inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}">
 
62
        <param name="file">
 
63
             <fileset dir="${axis.home}" includes="samples/**/build.xml"/>
 
64
        </param>
 
65
     </foreach>
 
66
  </target>
 
67
 
 
68
<!-- =========================================================================== -->
 
69
  <target name="clean" depends="setenv">
 
70
    <delete dir="${build.dest}/samples"/>
 
71
  </target>
 
72
 
 
73
  <!-- =================================================================== -->
 
74
  <!--   This simply echos the component files, for sanity checks -->
 
75
  <!-- =================================================================== -->
 
76
  <target name="echoTest" >
 
77
    <foreach target="echo-file" fork="${foreach.fork}" inheritAll="${ant.inheritAll}" inheritRefs="${ant.inheritRefs}">
 
78
        <param name="file">
 
79
             <fileset dir="${axis.home}" includes="samples/**/build.xml"/>
 
80
        </param>
 
81
     </foreach>
 
82
  </target>
 
83
 
 
84
</project>