make/netbeans/langtools/nbproject/standard-ide-actions.ent

changeset 201
e3930187199c
child 229
03bcd66bd8e7
equal deleted inserted replaced
200:e6dafbf35355 201:e3930187199c
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright 2007-2008 Sun Microsystems, Inc. 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 Sun Microsystems 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
33 <!--
34 This file defines the standard actions accepted by langtools projects.
35 It is normally included as an entity into a project's project.xml file.
36
37 For information on these actions, see
38 - NetBeans: Setting Up Projects
39 at http://www.netbeans.org/kb/55/using-netbeans/project_setup.html
40 - NetBeans: Advanced Freeform Project Configuration
41 at http://www.netbeans.org/kb/41/freeform-config.html
42 -->
43
44 <action name="build">
45 <target>build</target>
46 </action>
47
48 <action name="clean">
49 <target>clean</target>
50 </action>
51
52 <action name="rebuild">
53 <target>clean</target>
54 <target>build</target>
55 </action>
56
57 <action name="compile.single">
58 <target>compile-single</target>
59 <property name="srcdir">${root}/src/share/classes</property>
60 <context>
61 <property>includes</property>
62 <folder>${root}/src/share/classes</folder>
63 <pattern>\.java$</pattern>
64 <format>relative-path</format>
65 <arity>
66 <separated-files>,</separated-files>
67 </arity>
68 </context>
69 </action>
70
71 <action name="run">
72 <target>run</target>
73 </action>
74
75 <action name="run.single">
76 <target>run-single</target>
77 <context>
78 <property>run.classname</property>
79 <folder>${root}/src/share/classes</folder>
80 <pattern>\.java$</pattern>
81 <format>java-name</format>
82 <arity>
83 <one-file-only/>
84 </arity>
85 </context>
86 </action>
87
88 <!--
89 Note: NetBeans does not appear to support context menu items
90 on shell scripts :-(
91 -->
92
93 <action name="run.single">
94 <target>jtreg</target>
95 <context>
96 <property>jtreg.tests</property>
97 <folder>${root}/test</folder>
98 <pattern>\.(java|sh)$</pattern>
99 <format>relative-path</format>
100 <arity>
101 <separated-files>,</separated-files>
102 </arity>
103 </context>
104 </action>
105
106 <action name="test">
107 <target>jtreg</target>
108 </action>
109
110 <action name="debug">
111 <target>debug</target>
112 </action>
113
114 <action name="debug.single">
115 <target>debug-single</target>
116 <context>
117 <property>debug.classname</property>
118 <folder>${root}/src/share/classes</folder>
119 <pattern>\.java$</pattern>
120 <format>java-name</format>
121 <arity>
122 <one-file-only/>
123 </arity>
124 </context>
125 </action>
126
127 <!--
128 Note: NetBeans does not appear to support context menu items
129 on shell scripts :-(
130 -->
131
132 <action name="debug.single">
133 <target>debug-jtreg</target>
134 <context>
135 <property>jtreg.tests</property>
136 <folder>${root}/test</folder>
137 <pattern>\.(java|sh)$</pattern>
138 <format>relative-path</format>
139 <arity>
140 <one-file-only/>
141 </arity>
142 </context>
143 </action>
144
145 <action name="debug.fix">
146 <target>debug-fix</target>
147 <property name="srcdir">${root}/src/share/classes</property>
148 <context>
149 <property>class</property>
150 <folder>${root}/src/share/classes</folder>
151 <pattern>\.java$</pattern>
152 <format>relative-path-noext</format>
153 <arity>
154 <one-file-only/>
155 </arity>
156 </context>
157 </action>
158
159 <action name="javadoc">
160 <target>javadoc</target>
161 </action>
162
163 <action name="select-tool">
164 <target>select-tool</target>
165 </action>
166
167 <action name="test-select-tool-1">
168 <target>test-select-tool-1</target>
169 </action>
170
171 <action name="test-select-tool-2">
172 <target>test-select-tool-2</target>
173 </action>

mercurial