annotate buildtools/nasgen/build.xml @ 1583:1b47169055e2

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