make/nbproject/ide-file-targets.xml

Wed, 12 Feb 2014 11:16:35 -0800

author
asaha
date
Wed, 12 Feb 2014 11:16:35 -0800
changeset 806
7e11bf43f4a2
parent 7
5a1b0714df0e
child 870
ba5b790ed0f5
permissions
-rw-r--r--

Added tag jdk8u11-b00 for changeset d88b60cdc8f3

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3  Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     4  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     6  This code is free software; you can redistribute it and/or modify it
     7  under the terms of the GNU General Public License version 2 only, as
     8  published by the Free Software Foundation.
    10  This code is distributed in the hope that it will be useful, but WITHOUT
    11  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    12  FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    13  version 2 for more details (a copy is included in the LICENSE file that
    14  accompanied this code).
    16  You should have received a copy of the GNU General Public License version
    17  2 along with this work; if not, write to the Free Software Foundation,
    18  Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    21  or visit www.oracle.com if you need additional information or have any
    22  questions.
    23 -->
    24 <project basedir=".." name="nashorn-IDE">
    25     <property file="nbproject/nbjdk.properties"/>
    26     <property location="${netbeans.user}/build.properties" name="user.properties.file"/>
    27     <property file="${user.properties.file}"/>
    28     <import file="jdk.xml"/>
    29     <import file="${basedir}/build-init.xml"/>
    30     <!-- TODO: edit the following target according to your needs -->
    31     <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
    32     <target depends="-jdk-init, init" name="debug-selected-file-in-src">
    33         <fail unless="debug.class">Must set property 'debug.class'</fail>
    34         <ant antfile="build.xml" inheritall="false" target="jar"/>
    35         <nbjpdastart addressproperty="jpda.address" name="nashorn" transport="dt_socket">
    36             <classpath path="${run.test.classpath}"/>
    37         </nbjpdastart>
    38         <java classname="${debug.class}" fork="false">
    39             <classpath path="${run.test.classpath}"/>
    40             <jvmarg line="${boot.class.path}"/>
    41             <jvmarg value="-Xdebug"/>
    42             <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
    43             <jvmarg line="${run.test.jvmargs}"/>
    44             <arg value="${debug.class}"/>
    45         </java>
    46     </target>
    47     <!-- TODO: edit the following target according to your needs -->
    48     <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#runsingle) -->
    49     <target depends="-jdk-init, init" name="run-selected-file-in-src">
    50         <fail unless="run.class">Must set property 'run.class'</fail>
    51         <ant antfile="build.xml" inheritall="false" target="jar"/>
    52         <java classname="${run.class}" failonerror="true" fork="false">
    53             <classpath path="${run.test.classpath}"/>
    54             <jvmarg line="${boot.class.path}"/>
    55             <jvmarg line="${run.test.jvmargs}"/>
    56             <arg value="${run.class}"/>
    57         </java>
    58     </target>
    59 </project>

mercurial