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