annotate make/nashorn/buildtools/nasgen/build.xml @ 60081:40865a85217a

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