project.xml revision 1704:891b88acf47a
1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 4 5 Redistribution and use in source and binary forms, with or without 6 modification, are permitted provided that the following conditions 7 are met: 8 9 - Redistributions of source code must retain the above copyright 10 notice, this list of conditions and the following disclaimer. 11 12 - Redistributions in binary form must reproduce the above copyright 13 notice, this list of conditions and the following disclaimer in the 14 documentation and/or other materials provided with the distribution. 15 16 - Neither the name of Oracle nor the names of its 17 contributors may be used to endorse or promote products derived 18 from this software without specific prior written permission. 19 20 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 21 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 22 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 24 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 25 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 26 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 27 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 28 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31--> 32<project xmlns="http://www.netbeans.org/ns/project/1"> 33 <type>org.netbeans.modules.ant.freeform</type> 34 <configuration> 35 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/1"> 36 <name>langtools</name> 37 </general-data> 38 <general-data xmlns="http://www.netbeans.org/ns/freeform-project/2"> 39 <!-- Do not use Project Properties customizer when editing this file manually. --> 40 <name>langtools</name> 41 <properties> 42 <property name="root">../../..</property> 43 </properties> 44 <folders> 45 <source-folder> 46 <label>langtools</label> 47 <location>${root}</location> 48 </source-folder> 49 <source-folder> 50 <label>Test files</label> 51 <type>tests</type> 52 <location>${root}/test</location> 53 </source-folder> 54 <source-folder> 55 <label>Build files</label> 56 <type>build</type> 57 <location>${root}/make</location> 58 </source-folder> 59 <source-folder> 60 <label>Source files</label> 61 <type>java</type> 62 <location>${root}/src/share/classes</location> 63 </source-folder> 64 <build-file> 65 <location>${root}/build/classes</location> 66 </build-file> 67 </folders> 68 <ide-actions> 69 <!-- 70 Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 71 72 Redistribution and use in source and binary forms, with or without 73 modification, are permitted provided that the following conditions 74 are met: 75 76 - Redistributions of source code must retain the above copyright 77 notice, this list of conditions and the following disclaimer. 78 79 - Redistributions in binary form must reproduce the above copyright 80 notice, this list of conditions and the following disclaimer in the 81 documentation and/or other materials provided with the distribution. 82 83 - Neither the name of Oracle nor the names of its 84 contributors may be used to endorse or promote products derived 85 from this software without specific prior written permission. 86 87 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 88 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 89 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 90 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 91 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 92 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 93 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 94 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 95 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 96 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 97 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 98--> 99 <!-- 100 This file defines the standard actions accepted by langtools projects. 101 It is normally included as an entity into a project's project.xml file. 102 103 For information on these actions, see 104 - NetBeans: Setting Up Projects 105 at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html 106 - NetBeans: Advanced Freeform Project Configuration 107 at http://www.netbeans.org/kb/41/freeform-config.html 108--> 109 <action name="build"> 110 <target>build</target> 111 </action> 112 <action name="clean"> 113 <target>clean</target> 114 </action> 115 <action name="rebuild"> 116 <target>clean</target> 117 <target>build</target> 118 </action> 119 <action name="compile.single"> 120 <target>compile-single</target> 121 <property name="srcdir">${root}/src/share/classes</property> 122 <context> 123 <property>includes</property> 124 <folder>${root}/src/share/classes</folder> 125 <pattern>\.java$</pattern> 126 <format>relative-path</format> 127 <arity> 128 <separated-files>,</separated-files> 129 </arity> 130 </context> 131 </action> 132 <action name="run"> 133 <target>run</target> 134 </action> 135 <action name="run.single"> 136 <target>run-single</target> 137 <context> 138 <property>run.classname</property> 139 <folder>${root}/src/share/classes</folder> 140 <pattern>\.java$</pattern> 141 <format>java-name</format> 142 <arity> 143 <one-file-only/> 144 </arity> 145 </context> 146 </action> 147 <!-- 148 Note: NetBeans does not appear to support context menu items 149 on shell scripts :-( 150--> 151 <action name="run.single"> 152 <target>jtreg</target> 153 <context> 154 <property>jtreg.tests</property> 155 <folder>${root}/test</folder> 156 <pattern>\.(java|sh)$</pattern> 157 <format>relative-path</format> 158 <arity> 159 <separated-files>,</separated-files> 160 </arity> 161 </context> 162 </action> 163 <action name="test"> 164 <target>jtreg</target> 165 </action> 166 <action name="debug"> 167 <target>debug</target> 168 </action> 169 <action name="debug.single"> 170 <target>debug-single</target> 171 <context> 172 <property>debug.classname</property> 173 <folder>${root}/src/share/classes</folder> 174 <pattern>\.java$</pattern> 175 <format>java-name</format> 176 <arity> 177 <one-file-only/> 178 </arity> 179 </context> 180 </action> 181 <!-- 182 Note: NetBeans does not appear to support context menu items 183 on shell scripts :-( 184--> 185 <action name="debug.single"> 186 <target>debug-jtreg</target> 187 <context> 188 <property>jtreg.tests</property> 189 <folder>${root}/test</folder> 190 <pattern>\.(java|sh)$</pattern> 191 <format>relative-path</format> 192 <arity> 193 <one-file-only/> 194 </arity> 195 </context> 196 </action> 197 <action name="debug.fix"> 198 <target>debug-fix</target> 199 <property name="srcdir">${root}/src/share/classes</property> 200 <context> 201 <property>class</property> 202 <folder>${root}/src/share/classes</folder> 203 <pattern>\.java$</pattern> 204 <format>relative-path-noext</format> 205 <arity> 206 <one-file-only/> 207 </arity> 208 </context> 209 </action> 210 <action name="javadoc"> 211 <target>javadoc</target> 212 </action> 213 <action name="select-tool"> 214 <target>select-tool</target> 215 </action> 216 <action name="test-select-tool-1"> 217 <target>test-select-tool-1</target> 218 </action> 219 <action name="test-select-tool-2"> 220 <target>test-select-tool-2</target> 221 </action> 222 </ide-actions> 223 <export> 224 <type>folder</type> 225 <location>${root}/build/classes</location> 226 <build-target>build</build-target> 227 </export> 228 <view> 229 <items> 230 <source-folder style="tree"> 231 <label>Source files</label> 232 <location>${root}/src/share/classes</location> 233 </source-folder> 234 <source-folder style="tree"> 235 <label>Test files</label> 236 <location>${root}/test</location> 237 </source-folder> 238 <source-folder style="tree"> 239 <label>Build files</label> 240 <location>${root}/make</location> 241 </source-folder> 242 <source-file> 243 <label>README</label> 244 <location>README</location> 245 </source-file> 246 </items> 247 <context-menu> 248 <!-- 249 Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 250 251 Redistribution and use in source and binary forms, with or without 252 modification, are permitted provided that the following conditions 253 are met: 254 255 - Redistributions of source code must retain the above copyright 256 notice, this list of conditions and the following disclaimer. 257 258 - Redistributions in binary form must reproduce the above copyright 259 notice, this list of conditions and the following disclaimer in the 260 documentation and/or other materials provided with the distribution. 261 262 - Neither the name of Oracle nor the names of its 263 contributors may be used to endorse or promote products derived 264 from this software without specific prior written permission. 265 266 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 267 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 268 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 269 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 270 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 271 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 272 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 273 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 274 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 275 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 276 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 277--> 278 <!-- 279 This file defines the actions that will appear on the project's context 280 menu, in the Projects viewer. 281 It is normally included as an entity into a project's project.xml file. 282 283 For information on these actions, see 284 - NetBeans: Setting Up Projects 285 at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html 286 - NetBeans: Advanced Freeform Project Configuration 287 at http://www.netbeans.org/kb/41/freeform-config.html 288--> 289 <ide-action name="select-tool"/> 290 <separator/> 291 <ide-action name="build"/> 292 <ide-action name="rebuild"/> 293 <ide-action name="clean"/> 294 <ide-action name="javadoc"/> 295 <separator/> 296 <ide-action name="run"/> 297 <ide-action name="debug"/> 298 <separator/> 299 <ide-action name="test"/> 300 </context-menu> 301 </view> 302 <subprojects/> 303 </general-data> 304 <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/3"> 305 <compilation-unit> 306 <package-root>${root}/src/share/classes</package-root> 307 <built-to>${root}/build/classes</built-to> 308 <source-level>1.7</source-level> 309 </compilation-unit> 310 </java-data> 311 </configuration> 312</project> 313