Tue, 15 Sep 2015 16:17:33 +0530
8055917: jdk.nashorn.internal.codegen.CompilationPhase$N should be renamed to proper classes
Reviewed-by: attila, hannesw, mhaupt
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}" |
sundar@418 | 45 | includeantruntime="false" fork="true"> |
sundar@418 | 46 | <compilerarg value="-J-Djava.ext.dirs="/> |
jlaskey@3 | 47 | <compilerarg value="-Xlint:unchecked"/> |
jlaskey@3 | 48 | <compilerarg value="-Xlint:deprecation"/> |
jlaskey@3 | 49 | <compilerarg value="-XDignore.symbol.file"/> |
jlaskey@3 | 50 | </javac> |
jlaskey@3 | 51 | </target> |
jlaskey@3 | 52 | |
jlaskey@3 | 53 | <target name="jar" depends="compile" description="Creates nasgen.jar"> |
jlaskey@3 | 54 | <jar jarfile="${dist.jar}" basedir="${build.classes.dir}" manifest="${meta.inf.dir}/MANIFEST.MF"/> |
jlaskey@3 | 55 | </target> |
jlaskey@3 | 56 | |
jlaskey@3 | 57 | <target name="dist" depends="jar"/> |
jlaskey@3 | 58 | |
jlaskey@3 | 59 | <target name="all" depends="dist" |
jlaskey@3 | 60 | description="Builds sources and generates nasgen.jar"/> |
jlaskey@3 | 61 | </project> |