Fri, 23 Jan 2009 11:23:10 -0800
6795365: NetBeans projects in langtools repository are not NB6.5-friendly
Reviewed-by: mcimadamore
jjg@201 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
jjg@201 | 2 | <!-- |
jjg@201 | 3 | Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved. |
jjg@201 | 4 | |
jjg@201 | 5 | Redistribution and use in source and binary forms, with or without |
jjg@201 | 6 | modification, are permitted provided that the following conditions |
jjg@201 | 7 | are met: |
jjg@201 | 8 | |
jjg@201 | 9 | - Redistributions of source code must retain the above copyright |
jjg@201 | 10 | notice, this list of conditions and the following disclaimer. |
jjg@201 | 11 | |
jjg@201 | 12 | - Redistributions in binary form must reproduce the above copyright |
jjg@201 | 13 | notice, this list of conditions and the following disclaimer in the |
jjg@201 | 14 | documentation and/or other materials provided with the distribution. |
jjg@201 | 15 | |
jjg@201 | 16 | - Neither the name of Sun Microsystems nor the names of its |
jjg@201 | 17 | contributors may be used to endorse or promote products derived |
jjg@201 | 18 | from this software without specific prior written permission. |
jjg@201 | 19 | |
jjg@201 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS |
jjg@201 | 21 | IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
jjg@201 | 22 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
jjg@201 | 23 | PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR |
jjg@201 | 24 | CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, |
jjg@201 | 25 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, |
jjg@201 | 26 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
jjg@201 | 27 | PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
jjg@201 | 28 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING |
jjg@201 | 29 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
jjg@201 | 30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
jjg@201 | 31 | --> |
jjg@201 | 32 | |
jjg@201 | 33 | <!-- |
jjg@201 | 34 | This file defines the standard actions accepted by langtools projects. |
jjg@201 | 35 | It is normally included as an entity into a project's project.xml file. |
jjg@201 | 36 | |
jjg@201 | 37 | For information on these actions, see |
jjg@201 | 38 | - NetBeans: Setting Up Projects |
jjg@201 | 39 | at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html |
jjg@201 | 40 | - NetBeans: Advanced Freeform Project Configuration |
jjg@201 | 41 | at http://www.netbeans.org/kb/41/freeform-config.html |
jjg@201 | 42 | --> |
jjg@201 | 43 | |
jjg@201 | 44 | <action name="build"> |
jjg@201 | 45 | <target>build</target> |
jjg@201 | 46 | </action> |
jjg@201 | 47 | |
jjg@201 | 48 | <action name="clean"> |
jjg@201 | 49 | <target>clean</target> |
jjg@201 | 50 | </action> |
jjg@201 | 51 | |
jjg@201 | 52 | <action name="rebuild"> |
jjg@201 | 53 | <target>clean</target> |
jjg@201 | 54 | <target>build</target> |
jjg@201 | 55 | </action> |
jjg@201 | 56 | |
jjg@201 | 57 | <action name="compile.single"> |
jjg@201 | 58 | <target>compile-single</target> |
jjg@201 | 59 | <property name="srcdir">${root}/src/share/classes</property> |
jjg@201 | 60 | <context> |
jjg@201 | 61 | <property>includes</property> |
jjg@201 | 62 | <folder>${root}/src/share/classes</folder> |
jjg@201 | 63 | <pattern>\.java$</pattern> |
jjg@201 | 64 | <format>relative-path</format> |
jjg@201 | 65 | <arity> |
jjg@201 | 66 | <separated-files>,</separated-files> |
jjg@201 | 67 | </arity> |
jjg@201 | 68 | </context> |
jjg@201 | 69 | </action> |
jjg@201 | 70 | |
jjg@201 | 71 | <action name="run"> |
jjg@201 | 72 | <target>run</target> |
jjg@201 | 73 | </action> |
jjg@201 | 74 | |
jjg@201 | 75 | <action name="run.single"> |
jjg@201 | 76 | <target>run-single</target> |
jjg@201 | 77 | <context> |
jjg@201 | 78 | <property>run.classname</property> |
jjg@201 | 79 | <folder>${root}/src/share/classes</folder> |
jjg@201 | 80 | <pattern>\.java$</pattern> |
jjg@201 | 81 | <format>java-name</format> |
jjg@201 | 82 | <arity> |
jjg@201 | 83 | <one-file-only/> |
jjg@201 | 84 | </arity> |
jjg@201 | 85 | </context> |
jjg@201 | 86 | </action> |
jjg@201 | 87 | |
jjg@201 | 88 | <!-- |
jjg@201 | 89 | Note: NetBeans does not appear to support context menu items |
jjg@201 | 90 | on shell scripts :-( |
jjg@201 | 91 | --> |
jjg@201 | 92 | |
jjg@201 | 93 | <action name="run.single"> |
jjg@201 | 94 | <target>jtreg</target> |
jjg@201 | 95 | <context> |
jjg@201 | 96 | <property>jtreg.tests</property> |
jjg@201 | 97 | <folder>${root}/test</folder> |
jjg@201 | 98 | <pattern>\.(java|sh)$</pattern> |
jjg@201 | 99 | <format>relative-path</format> |
jjg@201 | 100 | <arity> |
jjg@201 | 101 | <separated-files>,</separated-files> |
jjg@201 | 102 | </arity> |
jjg@201 | 103 | </context> |
jjg@201 | 104 | </action> |
jjg@201 | 105 | |
jjg@201 | 106 | <action name="test"> |
jjg@201 | 107 | <target>jtreg</target> |
jjg@201 | 108 | </action> |
jjg@201 | 109 | |
jjg@201 | 110 | <action name="debug"> |
jjg@201 | 111 | <target>debug</target> |
jjg@201 | 112 | </action> |
jjg@201 | 113 | |
jjg@201 | 114 | <action name="debug.single"> |
jjg@201 | 115 | <target>debug-single</target> |
jjg@201 | 116 | <context> |
jjg@201 | 117 | <property>debug.classname</property> |
jjg@201 | 118 | <folder>${root}/src/share/classes</folder> |
jjg@201 | 119 | <pattern>\.java$</pattern> |
jjg@201 | 120 | <format>java-name</format> |
jjg@201 | 121 | <arity> |
jjg@201 | 122 | <one-file-only/> |
jjg@201 | 123 | </arity> |
jjg@201 | 124 | </context> |
jjg@201 | 125 | </action> |
jjg@201 | 126 | |
jjg@201 | 127 | <!-- |
jjg@201 | 128 | Note: NetBeans does not appear to support context menu items |
jjg@201 | 129 | on shell scripts :-( |
jjg@201 | 130 | --> |
jjg@201 | 131 | |
jjg@201 | 132 | <action name="debug.single"> |
jjg@201 | 133 | <target>debug-jtreg</target> |
jjg@201 | 134 | <context> |
jjg@201 | 135 | <property>jtreg.tests</property> |
jjg@201 | 136 | <folder>${root}/test</folder> |
jjg@201 | 137 | <pattern>\.(java|sh)$</pattern> |
jjg@201 | 138 | <format>relative-path</format> |
jjg@201 | 139 | <arity> |
jjg@201 | 140 | <one-file-only/> |
jjg@201 | 141 | </arity> |
jjg@201 | 142 | </context> |
jjg@201 | 143 | </action> |
jjg@201 | 144 | |
jjg@201 | 145 | <action name="debug.fix"> |
jjg@201 | 146 | <target>debug-fix</target> |
jjg@201 | 147 | <property name="srcdir">${root}/src/share/classes</property> |
jjg@201 | 148 | <context> |
jjg@201 | 149 | <property>class</property> |
jjg@201 | 150 | <folder>${root}/src/share/classes</folder> |
jjg@201 | 151 | <pattern>\.java$</pattern> |
jjg@201 | 152 | <format>relative-path-noext</format> |
jjg@201 | 153 | <arity> |
jjg@201 | 154 | <one-file-only/> |
jjg@201 | 155 | </arity> |
jjg@201 | 156 | </context> |
jjg@201 | 157 | </action> |
jjg@201 | 158 | |
jjg@201 | 159 | <action name="javadoc"> |
jjg@201 | 160 | <target>javadoc</target> |
jjg@201 | 161 | </action> |
jjg@201 | 162 | |
jjg@201 | 163 | <action name="select-tool"> |
jjg@201 | 164 | <target>select-tool</target> |
jjg@201 | 165 | </action> |
jjg@201 | 166 | |
jjg@201 | 167 | <action name="test-select-tool-1"> |
jjg@201 | 168 | <target>test-select-tool-1</target> |
jjg@201 | 169 | </action> |
jjg@201 | 170 | |
jjg@201 | 171 | <action name="test-select-tool-2"> |
jjg@201 | 172 | <target>test-select-tool-2</target> |
jjg@201 | 173 | </action> |