project.xml revision 1150:776eec21a34f
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. 5 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. 9 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). 15 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. 19 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 xmlns="http://www.netbeans.org/ns/project/1"> 25 <type>org.netbeans.modules.ant.freeform</type> 26 <configuration> 27 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> 28 <name>nashorn</name> 29 </general-data> 30 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2"> 31 <!-- Do not use Project Properties customizer when editing this file manually. --> 32 <name>nashorn</name> 33 <properties/> 34 <folders> 35 <source-folder> 36 <label>nashorn</label> 37 <location>.</location> 38 <encoding>UTF-8</encoding> 39 </source-folder> 40 <source-folder> 41 <label>../test/src</label> 42 <location>../test/src</location> 43 </source-folder> 44 <source-folder> 45 <label>../buildtools/nasgen/src</label> 46 <location>../buildtools/nasgen/src</location> 47 </source-folder> 48 <source-folder> 49 <label>../src/jdk.scripting.nashorn/share/classes</label> 50 <location>../src/jdk.scripting.nashorn/share/classes</location> 51 </source-folder> 52 <source-folder> 53 <label>../test/src</label> 54 <type>java</type> 55 <location>../test/src</location> 56 <encoding>UTF-8</encoding> 57 </source-folder> 58 <source-folder> 59 <label>../buildtools/nasgen/src</label> 60 <type>java</type> 61 <location>../buildtools/nasgen/src</location> 62 <encoding>UTF-8</encoding> 63 </source-folder> 64 <source-folder> 65 <label>../src/jdk.scripting.nashorn/share/classes</label> 66 <type>java</type> 67 <location>../src/jdk.scripting.nashorn/share/classes</location> 68 <encoding>UTF-8</encoding> 69 </source-folder> 70 </folders> 71 <ide-actions> 72 <action name="build"> 73 <script>nbproject/nbjdk.xml</script> 74 <target>jar</target> 75 </action> 76 <action name="clean"> 77 <script>nbproject/nbjdk.xml</script> 78 <target>clean</target> 79 </action> 80 <action name="javadoc"> 81 <script>nbproject/nbjdk.xml</script> 82 <target>javadoc</target> 83 </action> 84 <action name="test"> 85 <script>nbproject/nbjdk.xml</script> 86 <target>test</target> 87 </action> 88 <action name="rebuild"> 89 <script>nbproject/nbjdk.xml</script> 90 <target>clean</target> 91 <target>jar</target> 92 </action> 93 <action name="run"> 94 <script>nbproject/nbjdk.xml</script> 95 <target>run</target> 96 </action> 97 <action name="debug"> 98 <script>nbproject/nbjdk.xml</script> 99 <target>debug-nb</target> 100 </action> 101 <action name="run.single"> 102 <script>build.xml</script> 103 <target>test</target> 104 <context> 105 <property>test.class</property> 106 <folder>../test/src</folder> 107 <pattern>\.java$</pattern> 108 <format>relative-path-noext</format> 109 <arity> 110 <one-file-only/> 111 </arity> 112 </context> 113 </action> 114 <action name="debug.single"> 115 <script>nbproject/ide-file-targets.xml</script> 116 <target>debug-selected-file-in-src</target> 117 <context> 118 <property>test.class</property> 119 <folder>../test/src</folder> 120 <pattern>\.java$</pattern> 121 <format>relative-path-noext</format> 122 <arity> 123 <one-file-only/> 124 </arity> 125 </context> 126 </action> 127 </ide-actions> 128 <view> 129 <items> 130 <source-folder style="packages"> 131 <label>../test/src</label> 132 <location>../test/src</location> 133 </source-folder> 134 <source-folder style="packages"> 135 <label>../buildtools/nasgen/src</label> 136 <location>../buildtools/nasgen/src</location> 137 </source-folder> 138 <source-folder style="packages"> 139 <label>../src/jdk.scripting.nashorn/share/classes</label> 140 <location>../src/jdk.scripting.nashorn/share/classes</location> 141 </source-folder> 142 <source-file> 143 <location>build.xml</location> 144 </source-file> 145 </items> 146 <context-menu> 147 <ide-action name="build"/> 148 <ide-action name="rebuild"/> 149 <ide-action name="clean"/> 150 <ide-action name="javadoc"/> 151 <ide-action name="run"/> 152 <ide-action name="test"/> 153 <ide-action name="debug"/> 154 </context-menu> 155 </view> 156 <subprojects/> 157 </general-data> 158 <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/3"> 159 <compilation-unit> 160 <package-root>../test/src</package-root> 161 <unit-tests/> 162 <classpath mode="compile">../test/lib/testng.jar:../build/classes:../src/jdk.scripting.nashorn/share/classes</classpath> 163 <source-level>1.7</source-level> 164 </compilation-unit> 165 <compilation-unit> 166 <package-root>../buildtools/nasgen/src</package-root> 167 <classpath mode="compile">../build/classes:../src</classpath> 168 <source-level>1.7</source-level> 169 </compilation-unit> 170 <compilation-unit> 171 <package-root>../src/jdk.scripting.nashorn/share/classes</package-root> 172 <source-level>1.7</source-level> 173 </compilation-unit> 174 </java-data> 175 </configuration> 176</project> 177