Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the LICENSE file that accompanied this code. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details (a copy is included in the LICENSE file that You should have received a copy of the GNU General Public License version 2 along with this work; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA or visit www.oracle.com if you need additional information or have any <
project name="jaxws" default="all" basedir=".">
<!-- For 'ant -p' or 'ant -projecthelp' --> <!-- Project build properties. --> <!-- See if drop sources were included. --> <!-- Get shared targets. --> <!-- Initialization of directories needed for build. --> <!-- Sanity checks and settings --> depends="-javac-jar-exists" description="Display settings of configuration values">
<!-- Check for bootstrap javac.jar file, warn if missing. --> <
target name="-javac-jar-exists" <
echo message="WARNING: Cannot find ${javac.jar}"/>
<!-- Creation of distribution files to jdk build process. --> depends="init, -init-src-dirs, build, -dist-classes-jar, -dist-src-zip" description="Create all built distribution files.">
<
target name="-dist-classes-jar-uptodate" depends="init, -init-src-dirs">
<
target name="-dist-classes-jar" depends="init, -init-src-dirs, -dist-classes-jar-uptodate" <
target name="-build-prep" depends="init, -init-src-dirs, -drop-build-prep">
<!-- Build (compilation) of sources to class files. --> depends="init, -init-src-dirs, -build-prep">
includeAntRuntime="false" <
compilerarg value="-J-Xbootclasspath/p:${javac.jar}"/>
<!-- Test. (FIXME: Need to know how to run tests.) --> depends="init, -init-src-dirs, dist">
<
echo message="FIXME: How do you run the tests"/>
<!-- Populate source area if needed. --> depends="init, -init-src-dirs" description="Populate all source file directories">
<!-- Populate drop_included area. --> <
target name="drop_included" description="Populate all source file directories">
<
antcall target="source"/>
<!-- Clean up compiled files. --> description="Delete all generated files">
<!-- Clean up compiled files and all imported source files. --> description="Delete all generated files, including imported sources">
<
echo message="+---------------------------------------+"/>
<
echo message="+---------------------------------------+"/>
<!-- Do everything but test. --> depends="-banner, sanity, dist" description="Build everything.">
<
echo message="+---------------------------------------+"/>
<
echo message="+---------------------------------------+"/>