ide-targets.xml revision 818:26a5fdb90de2
1214082Sdim<?xml version="1.0" encoding="UTF-8"?> 2214082Sdim<!-- 3214082Sdim Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. 4214082Sdim DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5214082Sdim 6214082Sdim This code is free software; you can redistribute it and/or modify it 7214082Sdim under the terms of the GNU General Public License version 2 only, as 8214082Sdim published by the Free Software Foundation. 9214082Sdim 10214082Sdim This code is distributed in the hope that it will be useful, but WITHOUT 11214082Sdim ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12214082Sdim FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13214082Sdim version 2 for more details (a copy is included in the LICENSE file that 14214082Sdim accompanied this code). 15214082Sdim 16214082Sdim You should have received a copy of the GNU General Public License version 17214082Sdim 2 along with this work; if not, write to the Free Software Foundation, 18214082Sdim Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19214082Sdim 20214082Sdim Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21214082Sdim or visit www.oracle.com if you need additional information or have any 22214082Sdim questions. 23214082Sdim--> 24214082Sdim 25214082Sdim<project basedir="../.." name="nashorn-IDE"> 26214082Sdim <import file="../build.xml"/> 27214082Sdim <!-- TODO: edit the following target according to your needs --> 28214082Sdim <!-- (more info: http://www.netbeans.org/kb/articles/freeform-config.html#debugj2se) --> 29214082Sdim <target depends="jar" description="Run the shell with a sample script" name="debug-nb"> 30214082Sdim <nbjpdastart addressproperty="jpda.address" name="nashorn" transport="dt_socket"> 31214082Sdim <classpath path="${run.test.classpath}"/> 32214082Sdim </nbjpdastart> 33214082Sdim <java classname="jdk.nashorn.tools.Shell" classpath="${run.test.classpath}" dir="samples" fork="true"> 34214082Sdim <jvmarg line="-Dnashorn.optimistic"/> 35214082Sdim <jvmarg line="${ext.class.path}"/> 36 <jvmarg line="${run.test.jvmargs}"/> 37 <arg value="../make/str.js"/> 38 <jvmarg value="-Xdebug"/> 39 <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/> 40 </java> 41 </target> 42</project> 43