Path: blob/aarch64-shenandoah-jdk8u272-b10/nashorn/make/nbproject/ide-targets.xml
32281 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-->2324<project basedir="../.." name="nashorn-IDE">25<import file="../build.xml"/>26<!-- TODO: edit the following target according to your needs -->27<!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#debugj2se) -->28<target depends="jar" description="Run the shell with a sample script" name="debug-nb">29<nbjpdastart addressproperty="jpda.address" name="nashorn" transport="dt_socket">30<classpath path="${run.test.classpath}"/>31</nbjpdastart>32<java classname="jdk.nashorn.tools.Shell" classpath="${run.test.classpath}" dir="samples" fork="true">33<jvmarg line="-Dnashorn.optimistic"/>34<jvmarg line="${ext.class.path}"/>35<jvmarg line="${run.test.jvmargs}"/>36<arg value="../samples/test.js"/>37<jvmarg value="-Xdebug"/>38<jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>39</java>40</target>41</project>424344