1.1 --- a/make/build.xml Thu Sep 17 13:46:52 2009 -0700 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,131 +0,0 @@ 1.4 -<?xml version="1.0"?> 1.5 -<!-- 1.6 - Copyright 2007-2009 Sun Microsystems, Inc. All Rights Reserved. 1.7 - DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 - 1.9 - This code is free software; you can redistribute it and/or modify it 1.10 - under the terms of the GNU General Public License version 2 only, as 1.11 - published by the Free Software Foundation. Sun designates this 1.12 - particular file as subject to the "Classpath" exception as provided 1.13 - by Sun in the LICENSE file that accompanied this code. 1.14 - 1.15 - This code is distributed in the hope that it will be useful, but WITHOUT 1.16 - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1.17 - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1.18 - version 2 for more details (a copy is included in the LICENSE file that 1.19 - accompanied this code). 1.20 - 1.21 - You should have received a copy of the GNU General Public License version 1.22 - 2 along with this work; if not, write to the Free Software Foundation, 1.23 - Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1.24 - 1.25 - Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 1.26 - CA 95054 USA or visit www.sun.com if you need additional information or 1.27 - have any questions. 1.28 ---> 1.29 - 1.30 -<!-- 1.31 - This is the main build file for the jaxws workspace. 1.32 - --> 1.33 - 1.34 -<project name="jaxws" default="all" basedir="."> 1.35 - 1.36 - <!-- Convenient shorthands for standard locations within the workspace. --> 1.37 - <property file="build.properties"/> 1.38 - <property name="topdir" value=".."/> 1.39 - <property name="build.dir" location="${topdir}/build"/> 1.40 - <property name="build.classes.dir" location="${build.dir}/classes"/> 1.41 - <property name="build.gensrc.dir" location="${build.dir}/gensrc"/> 1.42 - <property name="build.toolclasses.dir" location="${build.dir}/toolclasses"/> 1.43 - <property name="dist.dir" location="${topdir}/dist"/> 1.44 - <property name="dist.lib.dir" location="${dist.dir}/lib"/> 1.45 - <property name="make.dir" location="${topdir}/make"/> 1.46 - <property name="make.tools.dir" location="${make.dir}/tools"/> 1.47 - <property name="src.dir" location="${topdir}/src"/> 1.48 - <property name="src.classes.dir" location="${src.dir}/share/classes"/> 1.49 - <property environment="env"/> 1.50 - 1.51 - <target name="build" depends="banner, build-classes, build-tools, build-binaries"> 1.52 - <mkdir dir="${dist.lib.dir}"/> 1.53 - <jar file="${dist.lib.dir}/classes.jar" basedir="${build.classes.dir}"/> 1.54 - <zip file="${dist.lib.dir}/src.zip" basedir="${src.classes.dir}"/> 1.55 - </target> 1.56 - 1.57 - <!-- Debug information --> 1.58 - <target name="sanity" 1.59 - description="display settings of configuration values"> 1.60 - <echo level="info">ant.home = ${ant.home}</echo> 1.61 - <echo level="info">java.home = ${env.JAVA_HOME}</echo> 1.62 - <echo level="info">bootstrap.dir = ${bootstrap.dir}</echo> 1.63 - </target> 1.64 - 1.65 - <target name="build-tools" depends="-defs-pstrip"> 1.66 - <mkdir dir="${build.dir}"/> 1.67 - <mkdir dir="${build.classes.dir}"/> 1.68 - <pstrip srcdir="${src.classes.dir}" 1.69 - destdir="${build.classes.dir}" 1.70 - includes="**/*.properties"/> 1.71 - </target> 1.72 - 1.73 - <target name="build-binaries"> 1.74 - <mkdir dir="${build.dir}"/> 1.75 - <mkdir dir="${build.classes.dir}"/> 1.76 - <copy todir="${build.classes.dir}"> 1.77 - <fileset dir="${src.classes.dir}" 1.78 - includes="**/*.xsd, **/*.default" 1.79 - excludes="**/*.java, **/*.package.html, **/*.properties"/> 1.80 - </copy> 1.81 - <mkdir dir="${build.classes.dir}/META-INF/services"/> 1.82 - <copy todir="${build.classes.dir}/META-INF/services" 1.83 - file="${src.classes.dir}/com/sun/tools/etc/META-INF/services/com.sun.mirror.apt.AnnotationProcessorFactory"/> 1.84 - <copy todir="${build.classes.dir}/META-INF/services" 1.85 - file="${src.classes.dir}/com/sun/tools/etc/META-INF/services/com.sun.tools.internal.xjc.Plugin"/> 1.86 - <!-- copy jaxb sources files required for jaxb tool time --> 1.87 - <mkdir dir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime"/> 1.88 - <copy todir="${build.classes.dir}/com/sun/tools/internal/xjc/runtime"> 1.89 - <fileset dir="${src.classes.dir}/com/sun/tools/internal/xjc/runtime" 1.90 - includes="**/*.java" 1.91 - excludes="**/*.package.html"/> 1.92 - </copy> 1.93 - </target> 1.94 - 1.95 - <target name="-defs-pstrip"> 1.96 - <mkdir dir="${build.toolclasses.dir}"/> 1.97 - <javac srcdir="${make.tools.dir}/StripProperties" 1.98 - destdir="${build.toolclasses.dir}/" 1.99 - classpath="${ant.home}/lib/ant.jar"/> 1.100 - <taskdef name="pstrip" 1.101 - classname="StripPropertiesTask" 1.102 - classpath="${build.toolclasses.dir}/"/> 1.103 - </target> 1.104 - 1.105 - <target name="build-classes" depends="sanity"> 1.106 - <mkdir dir="${build.dir}"/> 1.107 - <mkdir dir="${build.classes.dir}"/> 1.108 - <javac fork="true" 1.109 - srcdir="${src.classes.dir}" 1.110 - destdir="${build.classes.dir}" 1.111 - memoryInitialSize="${javac.memoryInitialSize}" 1.112 - memoryMaximumSize="${javac.memoryMaximumSize}" 1.113 - source="${javac.source}" 1.114 - debug="${javac.debug}" 1.115 - target="${javac.target}" 1.116 - excludes="com/sun/tools/internal/txw2/**"> 1.117 - <compilerarg value="-J-Xbootclasspath/p:${bootstrap.dir}/lib/javac.jar"/> 1.118 - <compilerarg line="${javac.version.opt}"/> 1.119 - <compilerarg line="${javac.no.jdk.warnings}"/> 1.120 - </javac> 1.121 - </target> 1.122 - 1.123 - <target name="clean" description="Delete all generated files"> 1.124 - <delete dir="${build.dir}"/> 1.125 - <delete dir="${dist.dir}"/> 1.126 - </target> 1.127 - 1.128 - <target name="banner"> 1.129 - <echo>+---------------------------------------+</echo> 1.130 - <echo>+ Building JAX-WS Component +</echo> 1.131 - <echo>+---------------------------------------+</echo> 1.132 - </target> 1.133 - 1.134 -</project>