project.xml revision 1637:fd3fdaff0257
1<?xml version="1.0" encoding="UTF-8"?> 2<!-- 3 Copyright (c) 2007, 2009, 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, 2009, 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-folder style="packages"> 243 <label>Source files</label> 244 <location>${root}/src/share/classes</location> 245 </source-folder> 246 <source-file> 247 <label>README</label> 248 <location>README</location> 249 </source-file> 250 </items> 251 <context-menu> 252 <!-- 253 Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. 254 255 Redistribution and use in source and binary forms, with or without 256 modification, are permitted provided that the following conditions 257 are met: 258 259 - Redistributions of source code must retain the above copyright 260 notice, this list of conditions and the following disclaimer. 261 262 - Redistributions in binary form must reproduce the above copyright 263 notice, this list of conditions and the following disclaimer in the 264 documentation and/or other materials provided with the distribution. 265 266 - Neither the name of Oracle nor the names of its 267 contributors may be used to endorse or promote products derived 268 from this software without specific prior written permission. 269 270 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 271 IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 272 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 273 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 274 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 275 EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 276 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 277 PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 278 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 279 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 280 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 281--> 282 <!-- 283 This file defines the actions that will appear on the project's context 284 menu, in the Projects viewer. 285 It is normally included as an entity into a project's project.xml file. 286 287 For information on these actions, see 288 - NetBeans: Setting Up Projects 289 at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html 290 - NetBeans: Advanced Freeform Project Configuration 291 at http://www.netbeans.org/kb/41/freeform-config.html 292--> 293 <ide-action name="select-tool"/> 294 <separator/> 295 <ide-action name="build"/> 296 <ide-action name="rebuild"/> 297 <ide-action name="clean"/> 298 <ide-action name="javadoc"/> 299 <separator/> 300 <ide-action name="run"/> 301 <ide-action name="debug"/> 302 <separator/> 303 <ide-action name="test"/> 304 </context-menu> 305 </view> 306 <subprojects/> 307 </general-data> 308 <java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2"> 309 <compilation-unit> 310 <package-root>${root}/src/share/classes</package-root> 311 <built-to>${root}/build/classes</built-to> 312 <source-level>1.5</source-level> 313 </compilation-unit> 314 </java-data> 315 </configuration> 316</project> 317