File: build_ant.xml

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (60 lines) | stat: -rw-r--r-- 2,089 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<?xml version="1.0"?>

<!-- ===================================================================

   Build file for Axis functional test Ant task

Notes:
   This is a build file for use with the Jakarta Ant build tool.
   This build file builds an Ant task used to perform Axis functional tests.

Prerequisites:

   a successful Axis build configuration
   
Author:
  Rob Jellinghaus <robj@unrealities.com>

Copyright:
  Copyright (c) 2001 Apache Software Foundation.

==================================================================== -->

<project default="buildAntTask" basedir=".">

  <path id="test-classpath">
    <!-- build.dir for test classes and build.dest for classes to test -->
    <pathelement location="${build.dir}" />
    <pathelement location="${build.dest}" />
    <pathelement path="${java.class.path}" />
    <pathelement location="${commons-logging.jar}"/>
    <pathelement location="${log4j-core.jar}"/>
  </path>

  <!--
  I am not sure how else to get this optional-ant-task class onto
  the Ant classpath.  I know that environment is system-dependent, though it
  should work on both Unix and Windows.
  Any thoughts?
  -->
  <property name="myenv" environment="myenv" />
  <property name="ant.dir" value="${myenv.ANT_HOME}/lib" />

  <!-- =================================================================== -->
  <!-- Build the Ant task for Axis functional testing.  Put the resulting  -->
  <!-- Ant task class into the Ant lib directory (where extension tasks    -->
  <!-- ought to go).                                                       -->
  <!-- Hope that the user has ANT_HOME/lib on their Ant path.              -->
  <!-- =================================================================== -->
  <target name="buildAntTask" if="junit.present">
    <echo message="ant.dir is ${ant.dir}" />
    <!-- Tests are packaged as test.*, so source dir is main dir -->
    <javac srcdir="${basedir}"
      destdir="${ant.dir}">
      <include name="test/functional/ant/*.java" />
      <classpath refid="test-classpath"/>
    </javac>
  </target>

</project>