jaxp/build.xml
author jjg
Mon, 26 Jul 2010 14:25:56 -0700
changeset 6151 dd513881e71d
parent 5512 74bb36df3a83
child 5830 3adf4782de94
permissions -rw-r--r--
6957438: improve code for generating warning messages containing option names Reviewed-by: mcimadamore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0"?>
7f561c08de6b Initial load
duke
parents:
diff changeset
     2
<!--
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
     3
 Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7f561c08de6b Initial load
duke
parents:
diff changeset
     5
7f561c08de6b Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
7f561c08de6b Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
     8
 published by the Free Software Foundation.  Oracle designates this
6
7f561c08de6b Initial load
duke
parents:
diff changeset
     9
 particular file as subject to the "Classpath" exception as provided
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    10
 by Oracle in the LICENSE file that accompanied this code.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    11
7f561c08de6b Initial load
duke
parents:
diff changeset
    12
 This code is distributed in the hope that it will be useful, but WITHOUT
7f561c08de6b Initial load
duke
parents:
diff changeset
    13
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7f561c08de6b Initial load
duke
parents:
diff changeset
    14
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7f561c08de6b Initial load
duke
parents:
diff changeset
    15
 version 2 for more details (a copy is included in the LICENSE file that
7f561c08de6b Initial load
duke
parents:
diff changeset
    16
 accompanied this code).
7f561c08de6b Initial load
duke
parents:
diff changeset
    17
7f561c08de6b Initial load
duke
parents:
diff changeset
    18
 You should have received a copy of the GNU General Public License version
7f561c08de6b Initial load
duke
parents:
diff changeset
    19
 2 along with this work; if not, write to the Free Software Foundation,
7f561c08de6b Initial load
duke
parents:
diff changeset
    20
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7f561c08de6b Initial load
duke
parents:
diff changeset
    21
5512
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    22
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    23
 or visit www.oracle.com if you need additional information or have any
74bb36df3a83 6943119: Rebrand source copyright notices
ohair
parents: 4294
diff changeset
    24
 questions.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    25
-->
7f561c08de6b Initial load
duke
parents:
diff changeset
    26
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    27
<project name="jaxp" default="all" basedir=".">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    28
   
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    29
    <!-- For 'ant -p' or 'ant -projecthelp' -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    30
    
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    31
    <description>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    32
    Ant build script for the ${ant.project.name} part of the jdk.
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    33
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    34
    Input Properties: (see build.properties for the ant defaults)
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    35
      bootstrap.dir        - dir with lib/javac.jar, added to javac bootclasspath
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    36
      javac.debug          - true or false for debug classfiles
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    37
      javac.target         - classfile version target
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    38
      javac.source         - source version
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    39
    </description>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    40
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    41
    <!-- Mac is special, need to downgrade these before build.properties. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    42
    <condition property="javac.source" value="1.5">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    43
        <os family="mac"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    44
    </condition>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    45
    <condition property="javac.target" value="1.5">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    46
        <os family="mac"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    47
    </condition>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    48
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    49
    <!-- Project build properties. -->
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    50
    <property file="build.properties"/>
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    51
4131
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    52
    <!-- See if drop sources were included. -->
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    53
    <condition property="drop.dir" 
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    54
               value="${drop.included.dir}" 
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    55
               else="${drop.expanded.dir}">
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    56
        <available file="${drop.included.dir}" type="dir"/>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    57
    </condition>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
    58
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    59
    <!-- Get shared targets. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    60
    <import file="build-defs.xml"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    61
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    62
    <!-- Initialization of directories needed for build. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    63
    <target name="init">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    64
        <mkdir dir="${build.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    65
        <mkdir dir="${build.classes.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    66
        <mkdir dir="${dist.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    67
        <mkdir dir="${dist.lib.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    68
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    69
    
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    70
    <!-- Sanity checks and settings -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    71
    <target name="sanity"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    72
	    depends="-javac-jar-exists"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    73
            description="Display settings of configuration values">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    74
        <echo message="${sanity.info}"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    75
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
    76
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    77
     <!-- Check for bootstrap javac.jar file, warn if missing. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    78
    <condition property="javac.jar.exists">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    79
        <available file="${javac.jar}" type="file"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    80
    </condition>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    81
    <target name="-javac-jar-exists"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    82
            unless="javac.jar.exists">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    83
        <echo message="WARNING: Cannot find ${javac.jar}"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
    84
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
    85
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    86
    <!-- Creation of distribution files to jdk build process. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    87
    <target name="dist"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    88
	    depends="init, -init-src-dirs, build, -dist-classes-jar, -dist-src-zip"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    89
            description="Create all built distribution files.">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    90
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    91
    <target name="-dist-classes-jar-uptodate"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    92
	    depends="init, -init-src-dirs">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    93
        <condition property="dist.classes.jar.uptodate">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    94
            <and>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    95
                <available file="${dist.classes.jar}" type="file"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    96
                <uptodate targetfile="${dist.classes.jar}">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    97
                    <srcfiles dir="${build.classes.dir}" includes="**"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    98
                </uptodate>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
    99
            </and>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   100
        </condition>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   101
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   102
    <target name="-dist-classes-jar"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   103
	    depends="init, -init-src-dirs, -dist-classes-jar-uptodate"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   104
            unless="dist.classes.jar.uptodate">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   105
        <delete file="${dist.classes.jar}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   106
        <jar file="${dist.classes.jar}" basedir="${build.classes.dir}"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   107
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
   108
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   109
    <target name="-build-prep"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   110
	    depends="init, -init-src-dirs, -drop-build-prep">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   111
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   112
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   113
    <!-- Build (compilation) of sources to class files. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   114
    <target name="build"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   115
	    depends="init, -init-src-dirs, -build-prep">
4294
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4131
diff changeset
   116
        <javac 
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4131
diff changeset
   117
	     includeAntRuntime="false"
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4131
diff changeset
   118
	     classpath="${build.classes.dir}"
4b507ae0d54b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4131
diff changeset
   119
	     fork="true"
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   120
             destdir="${build.classes.dir}"
7f561c08de6b Initial load
duke
parents:
diff changeset
   121
             memoryInitialSize="${javac.memoryInitialSize}"
7f561c08de6b Initial load
duke
parents:
diff changeset
   122
             memoryMaximumSize="${javac.memoryMaximumSize}"
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   123
             source="${javac.source}"
2830
2c7571fb9056 6829575: 100028: Debug information is incomplete or missing
aph
parents: 6
diff changeset
   124
	     debug="${javac.debug}"
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   125
             target="${javac.target}">
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   126
            <compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   127
            <compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   128
            <src refid="src.dir.id"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   129
        </javac>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   130
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   131
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   132
    <!-- Test. (FIXME: Need to know how to run tests.) -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   133
    <target name="test"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   134
	    depends="init, -init-src-dirs, dist">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   135
        <echo message="FIXME: How do you run the tests"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   136
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   137
    
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   138
    <!-- Populate source area if needed. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   139
    <target name="source"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   140
            depends="init, -init-src-dirs"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   141
            description="Populate all source file directories">
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   142
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
   143
4131
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   144
    <!-- Populate drop_included area. -->
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   145
    <target name="drop_included"
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   146
            depends="clobber"
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   147
            description="Populate all source file directories">
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   148
        <delete dir="${drop.included.dir}"/>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   149
        <antcall target="source"/>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   150
        <move file="${drop.expanded.dir}" tofile="${drop.included.dir}"/>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   151
        <delete dir="${drop.included.dir}/bundles"/>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   152
    </target>
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   153
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   154
    <!-- Clean up compiled files. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   155
    <target name="clean"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   156
            description="Delete all generated files">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   157
        <delete dir="${build.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   158
        <delete dir="${dist.dir}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   159
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   160
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   161
    <!-- Clean up compiled files and all imported source files. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   162
    <target name="clobber"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   163
	    depends="clean"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   164
            description="Delete all generated files, including imported sources">
4131
c5661b1a888f 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
ohair
parents: 3879
diff changeset
   165
        <delete dir="${drop.expanded.dir}"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   166
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
   167
3879
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   168
    <target name="-banner">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   169
        <echo message="+---------------------------------------+"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   170
        <echo message="+ Starting ant project ${ant.project.name} +"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   171
        <echo message="+---------------------------------------+"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   172
    </target>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   173
   
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   174
    <!-- Do everything but test. -->
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   175
    <target name="all"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   176
	    depends="-banner, sanity, dist"
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   177
            description="Build everything.">
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   178
        <echo message="+---------------------------------------+"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   179
        <echo message="+ Finishing ant project ${ant.project.name}"/>
0d9209bdf36c 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3294
diff changeset
   180
        <echo message="+---------------------------------------+"/>
6
7f561c08de6b Initial load
duke
parents:
diff changeset
   181
    </target>
7f561c08de6b Initial load
duke
parents:
diff changeset
   182
7f561c08de6b Initial load
duke
parents:
diff changeset
   183
</project>