buildtools/nasgen/build.xml

Thu, 27 Jun 2013 13:40:38 -0700

author
katleman
date
Thu, 27 Jun 2013 13:40:38 -0700
changeset 365
1bf1d6ce3042
parent 7
5a1b0714df0e
child 418
36d6b6a3fbe0
permissions
-rw-r--r--

Added tag jdk8-b96 for changeset d6bd440ac5b9

jlaskey@3 1 <?xml version="1.0" encoding="UTF-8"?>
jlaskey@3 2 <!--
jlaskey@7 3 Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
jlaskey@3 4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
jlaskey@3 5
jlaskey@3 6 This code is free software; you can redistribute it and/or modify it
jlaskey@3 7 under the terms of the GNU General Public License version 2 only, as
jlaskey@3 8 published by the Free Software Foundation.
jlaskey@3 9
jlaskey@3 10 This code is distributed in the hope that it will be useful, but WITHOUT
jlaskey@3 11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
jlaskey@3 12 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
jlaskey@3 13 version 2 for more details (a copy is included in the LICENSE file that
jlaskey@3 14 accompanied this code).
jlaskey@3 15
jlaskey@3 16 You should have received a copy of the GNU General Public License version
jlaskey@3 17 2 along with this work; if not, write to the Free Software Foundation,
jlaskey@3 18 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
jlaskey@3 19
jlaskey@3 20 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
jlaskey@3 21 or visit www.oracle.com if you need additional information or have any
jlaskey@3 22 questions.
jlaskey@3 23 -->
jlaskey@3 24 <project name="nasgen" default="all" basedir=".">
jlaskey@3 25 <target name="init">
jlaskey@3 26 <loadproperties srcFile="project.properties"/>
jlaskey@3 27 </target>
jlaskey@3 28
jlaskey@3 29 <target name="prepare" depends="init">
jlaskey@3 30 <mkdir dir="${build.classes.dir}"/>
jlaskey@3 31 <mkdir dir="${dist.dir}"/>
jlaskey@3 32 <mkdir dir="${dist.dir}/lib"/>
jlaskey@3 33 </target>
jlaskey@3 34
jlaskey@3 35 <target name="clean" depends="init">
jlaskey@3 36 <delete dir="${build.dir}"/>
jlaskey@3 37 <delete dir="${dist.dir}"/>
jlaskey@3 38 </target>
jlaskey@3 39
jlaskey@3 40 <target name="compile" depends="prepare" description="Compiles the nasgen sources">
jlaskey@3 41 <javac srcdir="${src.dir}"
jlaskey@3 42 destdir="${build.classes.dir}"
jlaskey@3 43 classpath="${javac.classpath}"
jlaskey@3 44 debug="${javac.debug}"
jlaskey@3 45 includeantruntime="false">
jlaskey@3 46 <compilerarg value="-Xlint:unchecked"/>
jlaskey@3 47 <compilerarg value="-Xlint:deprecation"/>
jlaskey@3 48 <compilerarg value="-XDignore.symbol.file"/>
jlaskey@3 49 </javac>
jlaskey@3 50 </target>
jlaskey@3 51
jlaskey@3 52 <target name="jar" depends="compile" description="Creates nasgen.jar">
jlaskey@3 53 <jar jarfile="${dist.jar}" basedir="${build.classes.dir}" manifest="${meta.inf.dir}/MANIFEST.MF"/>
jlaskey@3 54 </target>
jlaskey@3 55
jlaskey@3 56 <target name="dist" depends="jar"/>
jlaskey@3 57
jlaskey@3 58 <target name="all" depends="dist"
jlaskey@3 59 description="Builds sources and generates nasgen.jar"/>
jlaskey@3 60 </project>

mercurial