Path: blob/aarch64-shenandoah-jdk8u272-b10/nashorn/buildtools/nasgen/build.xml
32282 views
<?xml version="1.0" encoding="UTF-8"?>1<!--2Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.3DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.45This code is free software; you can redistribute it and/or modify it6under the terms of the GNU General Public License version 2 only, as7published by the Free Software Foundation.89This code is distributed in the hope that it will be useful, but WITHOUT10ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or11FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License12version 2 for more details (a copy is included in the LICENSE file that13accompanied this code).1415You should have received a copy of the GNU General Public License version162 along with this work; if not, write to the Free Software Foundation,17Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.1819Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA20or visit www.oracle.com if you need additional information or have any21questions.22-->23<project name="nasgen" default="all" basedir=".">24<target name="init">25<loadproperties srcFile="project.properties"/>26</target>2728<target name="prepare" depends="init">29<mkdir dir="${build.classes.dir}"/>30<mkdir dir="${dist.dir}"/>31<mkdir dir="${dist.dir}/lib"/>32</target>3334<target name="clean" depends="init">35<delete dir="${build.dir}"/>36<delete dir="${dist.dir}"/>37</target>3839<target name="compile" depends="prepare" description="Compiles the nasgen sources">40<javac srcdir="${src.dir}"41destdir="${build.classes.dir}"42classpath="${javac.classpath}"43debug="${javac.debug}"44includeantruntime="false" fork="true">45<compilerarg value="-J-Djava.ext.dirs="/>46<compilerarg value="-Xlint:unchecked"/>47<compilerarg value="-Xlint:deprecation"/>48<compilerarg value="-XDignore.symbol.file"/>49</javac>50</target>5152<target name="jar" depends="compile" description="Creates nasgen.jar">53<jar jarfile="${dist.jar}" basedir="${build.classes.dir}" manifest="${meta.inf.dir}/MANIFEST.MF"/>54</target>5556<target name="dist" depends="jar"/>5758<target name="all" depends="dist"59description="Builds sources and generates nasgen.jar"/>60</project>616263