Mon, 02 May 2016 15:06:03 -0700
Added tag jdk8u102-b06 for changeset 114e7557d33c
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="build-nasgen" default="run-nasgen" basedir=".."> |
jlaskey@3 | 25 | <description>Builds and runs nasgen.</description> |
jlaskey@3 | 26 | <import file="build.xml"/> |
jlaskey@3 | 27 | |
sundar@1061 | 28 | <target name="build-nasgen" depends="prepare"> |
jlaskey@3 | 29 | <ant inheritAll="false" dir="${basedir}/buildtools/nasgen" |
jlaskey@3 | 30 | antfile="build.xml" target="jar"/> |
jlaskey@3 | 31 | </target> |
jlaskey@3 | 32 | |
jlaskey@3 | 33 | <target name="run-nasgen" depends="build-nasgen"> |
jlaskey@3 | 34 | <java classname="${nasgen.tool}" fork="true" failonerror="true"> |
jlaskey@3 | 35 | <classpath> |
jlaskey@3 | 36 | <pathelement location="${basedir}/jcov2/lib/jcov_j2se_rt.jar"/> |
jlaskey@3 | 37 | <pathelement location="${basedir}/buildtools/nasgen/dist/nasgen.jar"/> |
jlaskey@3 | 38 | <pathelement path="${basedir}/build/classes"/> |
attila@963 | 39 | <pathelement location="${dist.dir}/nasgen.jar"/> |
attila@963 | 40 | <pathelement path="${build.dir}/classes"/> |
jlaskey@3 | 41 | </classpath> |
sundar@231 | 42 | <jvmarg value="-Djava.ext.dirs="/> |
attila@963 | 43 | <arg value="${build.dir}/classes"/> |
jlaskey@3 | 44 | <arg value="jdk.nashorn.internal.objects"/> |
attila@963 | 45 | <arg value="${build.dir}/classes"/> |
jlaskey@3 | 46 | </java> |
jlaskey@3 | 47 | </target> |
jlaskey@3 | 48 | |
jlaskey@3 | 49 | <target name="run-nasgen-eclipse"> |
jlaskey@3 | 50 | <mkdir dir="${basedir}/build/eclipse/.nasgentmp"/> |
jlaskey@3 | 51 | |
jlaskey@3 | 52 | <java classname="jdk.nashorn.internal.tools.nasgen.Main" fork="true" failonerror="true"> |
jlaskey@3 | 53 | <classpath> |
jlaskey@3 | 54 | <pathelement location="${basedir}/buildtools/nasgen/dist/nasgen.jar"/> |
jlaskey@3 | 55 | <pathelement path="${basedir}/build/eclipse"/> |
jlaskey@3 | 56 | </classpath> |
jlaskey@3 | 57 | <arg value="${basedir}/build/eclipse"/> |
jlaskey@3 | 58 | <arg value="jdk.nashorn.internal.objects"/> |
jlaskey@3 | 59 | <arg value="${basedir}/build/eclipse/.nasgentmp"/> |
jlaskey@3 | 60 | </java> |
jlaskey@3 | 61 | |
jlaskey@3 | 62 | <move todir="${basedir}/build/eclipse/jdk/nashorn/internal/objects"> |
jlaskey@3 | 63 | <fileset dir="${basedir}/build/eclipse/.nasgentmp/jdk/nashorn/internal/objects"> |
jlaskey@3 | 64 | <include name="*.class"/> |
jlaskey@3 | 65 | </fileset> |
jlaskey@3 | 66 | </move> |
jlaskey@3 | 67 | |
jlaskey@3 | 68 | <delete includeemptydirs="true"><fileset dir="${basedir}/build/eclipse/.nasgentmp" includes="**"/></delete> |
jlaskey@3 | 69 | |
jlaskey@3 | 70 | <copy todir="${basedir}/build/eclipse/jdk/nashorn/internal/objects" preservelastmodified="true"> |
jlaskey@3 | 71 | <fileset dir="${basedir}/build/eclipse/jdk/nashorn/internal/objects"> |
jlaskey@3 | 72 | <include name="**/*.class"/> |
jlaskey@3 | 73 | </fileset> |
jlaskey@3 | 74 | </copy> |
jlaskey@3 | 75 | </target> |
jlaskey@3 | 76 | |
jlaskey@3 | 77 | <target name="clean-nasgen"> |
jlaskey@3 | 78 | <ant inheritAll="false" dir="${basedir}/buildtools/nasgen" |
jlaskey@3 | 79 | antfile="build.xml" target="clean"/> |
jlaskey@3 | 80 | </target> |
jlaskey@3 | 81 | |
jlaskey@3 | 82 | </project> |