jaxws/build.xml
author drchase
Tue, 17 Feb 2015 13:54:53 -0500
changeset 29086 74100114a95a
parent 22678 ac1ea46be942
permissions -rw-r--r--
8069412: Locks need better debug-printing support Summary: Added better debug-printing support and enhanced LogCompilation tool Reviewed-by: kvn, roland, dholmes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8
474761f14bca Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0"?>
474761f14bca Initial load
duke
parents:
diff changeset
     2
<!--
22678
ac1ea46be942 8029237: Update copyright year to match last edit in jaxws repository for 2012
mkos
parents: 12009
diff changeset
     3
 Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
8
474761f14bca Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
474761f14bca Initial load
duke
parents:
diff changeset
     5
474761f14bca Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
474761f14bca Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
5516
d5307370d017 6943119: Rebrand source copyright notices
ohair
parents: 4298
diff changeset
     8
 published by the Free Software Foundation.  Oracle designates this
8
474761f14bca Initial load
duke
parents:
diff changeset
     9
 particular file as subject to the "Classpath" exception as provided
5516
d5307370d017 6943119: Rebrand source copyright notices
ohair
parents: 4298
diff changeset
    10
 by Oracle in the LICENSE file that accompanied this code.
8
474761f14bca Initial load
duke
parents:
diff changeset
    11
474761f14bca Initial load
duke
parents:
diff changeset
    12
 This code is distributed in the hope that it will be useful, but WITHOUT
474761f14bca Initial load
duke
parents:
diff changeset
    13
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
474761f14bca Initial load
duke
parents:
diff changeset
    14
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
474761f14bca Initial load
duke
parents:
diff changeset
    15
 version 2 for more details (a copy is included in the LICENSE file that
474761f14bca Initial load
duke
parents:
diff changeset
    16
 accompanied this code).
474761f14bca Initial load
duke
parents:
diff changeset
    17
474761f14bca Initial load
duke
parents:
diff changeset
    18
 You should have received a copy of the GNU General Public License version
474761f14bca Initial load
duke
parents:
diff changeset
    19
 2 along with this work; if not, write to the Free Software Foundation,
474761f14bca Initial load
duke
parents:
diff changeset
    20
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
474761f14bca Initial load
duke
parents:
diff changeset
    21
5516
d5307370d017 6943119: Rebrand source copyright notices
ohair
parents: 4298
diff changeset
    22
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d5307370d017 6943119: Rebrand source copyright notices
ohair
parents: 4298
diff changeset
    23
 or visit www.oracle.com if you need additional information or have any
d5307370d017 6943119: Rebrand source copyright notices
ohair
parents: 4298
diff changeset
    24
 questions.
8
474761f14bca Initial load
duke
parents:
diff changeset
    25
-->
474761f14bca Initial load
duke
parents:
diff changeset
    26
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    27
<project name="jaxws" default="all" basedir=".">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    28
   
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    29
    <!-- For 'ant -p' or 'ant -projecthelp' -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    30
    
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    31
    <description>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    32
    Ant build script for the ${ant.project.name} part of the jdk.
8
474761f14bca Initial load
duke
parents:
diff changeset
    33
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    34
    Input Properties: (see build.properties for the ant defaults)
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    35
      bootstrap.dir        - dir with lib/javac.jar, added to javac bootclasspath
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    36
      javac.debug          - true or false for debug classfiles
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    37
      javac.target         - classfile version target
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    38
      javac.source         - source version
5836
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
    39
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
    40
      Run 'make help' for help using the Makefile.
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    41
    </description>
8
474761f14bca Initial load
duke
parents:
diff changeset
    42
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    43
    <!-- Project build properties. -->
8
474761f14bca Initial load
duke
parents:
diff changeset
    44
    <property file="build.properties"/>
474761f14bca Initial load
duke
parents:
diff changeset
    45
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    46
    <property name="jaxws.src.dir" value="src/share/jaxws_classes"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    47
    <property name="jaf.src.dir" value="src/share/jaf_classes"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    48
    <path id="src.dir.id">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    49
      <pathelement path="${jaxws.src.dir}"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    50
      <pathelement path="${jaf.src.dir}"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    51
    </path>
8
474761f14bca Initial load
duke
parents:
diff changeset
    52
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    53
    <!-- Initialization of directories needed for build. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    54
    <target name="init">
8
474761f14bca Initial load
duke
parents:
diff changeset
    55
        <mkdir dir="${build.dir}"/>
474761f14bca Initial load
duke
parents:
diff changeset
    56
        <mkdir dir="${build.classes.dir}"/>
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    57
        <mkdir dir="${dist.dir}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    58
        <mkdir dir="${dist.lib.dir}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    59
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    60
    
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    61
    <!-- Sanity checks and settings -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    62
    <target name="sanity"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    63
	    depends="-javac-jar-exists"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    64
            description="Display settings of configuration values">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    65
        <echo message="${sanity.info}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    66
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    67
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    68
     <!-- Check for bootstrap javac.jar file, warn if missing. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    69
    <condition property="javac.jar.exists">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    70
        <available file="${javac.jar}" type="file"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    71
    </condition>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    72
    <target name="-javac-jar-exists"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    73
            unless="javac.jar.exists">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    74
        <echo message="WARNING: Cannot find ${javac.jar}"/>
8
474761f14bca Initial load
duke
parents:
diff changeset
    75
    </target>
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    76
    
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    77
    <!-- Create src.zip. -->
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    78
    <target name="-dist-src-zip" depends="init">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    79
        <zip file="${dist.src.zip}" basedir="${jaxws.src.dir}"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    80
        <zip file="${dist.src.zip}" basedir="${jaf.src.dir}" update="true"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    81
    </target>
8
474761f14bca Initial load
duke
parents:
diff changeset
    82
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    83
    <!-- Creation of distribution files to jdk build process. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    84
    <target name="dist"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    85
	    depends="init, build, -dist-classes-jar, -dist-src-zip"
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    86
            description="Create all built distribution files.">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    87
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    88
    <target name="-dist-classes-jar-uptodate"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
    89
	    depends="init">
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    90
        <condition property="dist.classes.jar.uptodate">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    91
            <and>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    92
                <available file="${dist.classes.jar}" type="file"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    93
                <uptodate targetfile="${dist.classes.jar}">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    94
                    <srcfiles dir="${build.classes.dir}" includes="**"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    95
                </uptodate>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    96
            </and>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    97
        </condition>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    98
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
    99
    <target name="-dist-classes-jar"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   100
	    depends="init, -dist-classes-jar-uptodate"
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   101
            unless="dist.classes.jar.uptodate">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   102
        <delete file="${dist.classes.jar}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   103
        <jar file="${dist.classes.jar}" basedir="${build.classes.dir}"/>
8
474761f14bca Initial load
duke
parents:
diff changeset
   104
    </target>
474761f14bca Initial load
duke
parents:
diff changeset
   105
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   106
    <!-- Special build area setup. -->
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   107
    <target name="-build-setup" depends="init">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   108
        <mkdir dir="${build.classes.dir}"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   109
        <copy todir="${build.classes.dir}">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   110
            <fileset dir="${jaxws.src.dir}"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   111
                includes="**/*.xsd, **/*.default, **/*.properties"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   112
                excludes="**/*.java, **/*.package.html"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   113
        </copy>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   114
        <replaceregexp match="#(.*)$" replace="#" flags="gm">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   115
            <fileset dir="${build.classes.dir}" includes="**/*.properties"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   116
        </replaceregexp>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   117
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   118
        <mkdir dir="${build.classes.dir}/META-INF/services"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   119
        <copy todir="${build.classes.dir}/META-INF"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   120
            file="${jaf.src.dir}/META-INF/mailcap.default"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   121
        <copy todir="${build.classes.dir}/META-INF"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   122
            file="${jaf.src.dir}/META-INF/mimetypes.default"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   123
        <copy todir="${build.classes.dir}/META-INF/services"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   124
            file="${jaxws.src.dir}/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.ws.wscompile.Plugin"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   125
        <copy todir="${build.classes.dir}/META-INF/services"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   126
            file="${jaxws.src.dir}/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   127
        <mkdir dir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   128
        <copy todir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime">
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   129
            <fileset dir="${jaxws.src.dir}/com/sun/tools/internal/xjc/runtime"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   130
                includes="**/*.java"
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   131
                excludes="**/*.package.html"/>
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   132
        </copy>
8
474761f14bca Initial load
duke
parents:
diff changeset
   133
    </target>
474761f14bca Initial load
duke
parents:
diff changeset
   134
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   135
    <!-- Build (compilation) of sources to class files. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   136
    <target name="build"
5836
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
   137
	    depends="compile, -build-setup">
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
   138
    </target>
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
   139
    <target name="compile"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   140
	    depends="init">
5836
0ca88d5cdd40 6955292: Workaround ant 1.7.1 package-info.java issue in ant scripts
ohair
parents: 5516
diff changeset
   141
        <mkdir dir="${build.classes.dir}"/>
4298
05940e71b36b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4137
diff changeset
   142
        <javac 
05940e71b36b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4137
diff changeset
   143
	     includeAntRuntime="false" 
05940e71b36b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4137
diff changeset
   144
	     classpath="${build.classes.dir}:${tools.jar}"
05940e71b36b 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
ohair
parents: 4137
diff changeset
   145
	     fork="true"
8
474761f14bca Initial load
duke
parents:
diff changeset
   146
             destdir="${build.classes.dir}"
474761f14bca Initial load
duke
parents:
diff changeset
   147
             memoryInitialSize="${javac.memoryInitialSize}"
474761f14bca Initial load
duke
parents:
diff changeset
   148
             memoryMaximumSize="${javac.memoryMaximumSize}"
2971
170fb87a3dd1 6827026: Change javac source and target default to 7
jjg
parents: 2678
diff changeset
   149
             source="${javac.source}"
2839
668ff342c026 6829575: 100028: Debug information is incomplete or missing
aph
parents: 8
diff changeset
   150
	     debug="${javac.debug}"
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   151
             target="${javac.target}">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   152
            <compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   153
            <compilerarg line="${javac.version.opt} ${javac.lint.opts} ${javac.no.jdk.warnings}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   154
            <src refid="src.dir.id"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   155
        </javac>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   156
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   157
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   158
    <!-- Test. (FIXME: Need to know how to run tests.) -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   159
    <target name="test"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   160
	    depends="init, dist">
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   161
        <echo message="FIXME: How do you run the tests"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   162
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   163
    
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   164
    <!-- Populate source area if needed. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   165
    <target name="source"
12009
4abb694f273a 7150322: Stop using drop source bundles in jaxws
ohair
parents: 11307
diff changeset
   166
            depends="init"
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   167
            description="Populate all source file directories">
8
474761f14bca Initial load
duke
parents:
diff changeset
   168
    </target>
474761f14bca Initial load
duke
parents:
diff changeset
   169
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   170
    <!-- Clean up compiled files. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   171
    <target name="clean"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   172
            description="Delete all generated files">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   173
        <delete dir="${build.dir}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   174
        <delete dir="${dist.dir}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   175
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   176
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   177
    <!-- Clean up compiled files and all imported source files. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   178
    <target name="clobber"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   179
	    depends="clean"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   180
            description="Delete all generated files, including imported sources">
8
474761f14bca Initial load
duke
parents:
diff changeset
   181
    </target>
474761f14bca Initial load
duke
parents:
diff changeset
   182
3885
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   183
    <target name="-banner">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   184
        <echo message="+---------------------------------------+"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   185
        <echo message="+ Starting ant project ${ant.project.name} +"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   186
        <echo message="+---------------------------------------+"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   187
    </target>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   188
   
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   189
    <!-- Do everything but test. -->
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   190
    <target name="all"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   191
	    depends="-banner, sanity, dist"
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   192
            description="Build everything.">
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   193
        <echo message="+---------------------------------------+"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   194
        <echo message="+ Finishing ant project ${ant.project.name}"/>
90241d0c87b6 6856630: Restructure jaxp/jaxws repositories
ohair
parents: 3297
diff changeset
   195
        <echo message="+---------------------------------------+"/>
8
474761f14bca Initial load
duke
parents:
diff changeset
   196
    </target>
474761f14bca Initial load
duke
parents:
diff changeset
   197
474761f14bca Initial load
duke
parents:
diff changeset
   198
</project>