2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
|
|
3 |
<!--
|
|
4 |
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
|
|
5 |
|
|
6 |
Redistribution and use in source and binary forms, with or without
|
|
7 |
modification, are permitted provided that the following conditions
|
|
8 |
are met:
|
|
9 |
|
|
10 |
- Redistributions of source code must retain the above copyright
|
|
11 |
notice, this list of conditions and the following disclaimer.
|
|
12 |
|
|
13 |
- Redistributions in binary form must reproduce the above copyright
|
|
14 |
notice, this list of conditions and the following disclaimer in the
|
|
15 |
documentation and/or other materials provided with the distribution.
|
|
16 |
|
|
17 |
- Neither the name of Sun Microsystems nor the names of its
|
|
18 |
contributors may be used to endorse or promote products derived
|
|
19 |
from this software without specific prior written permission.
|
|
20 |
|
|
21 |
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
22 |
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
23 |
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
24 |
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
25 |
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
26 |
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
27 |
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
28 |
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
29 |
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
30 |
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
31 |
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
32 |
-->
|
|
33 |
|
|
34 |
<project xmlns="http://www.netbeans.org/ns/project/1">
|
|
35 |
<type>org.netbeans.modules.ant.freeform</type>
|
|
36 |
<configuration>
|
|
37 |
<general-data xmlns="http://www.netbeans.org/ns/freeform-project/1">
|
|
38 |
<name>jmx-scandir</name>
|
|
39 |
<properties>
|
|
40 |
<property-file>user.build.properties</property-file>
|
|
41 |
<property-file>build.properties</property-file>
|
|
42 |
<property name="nbjdk.bootclasspath">${nbjdk.home}/jre/lib/rt.jar</property>
|
|
43 |
</properties>
|
|
44 |
<folders>
|
|
45 |
<source-folder>
|
|
46 |
<label>JDK Demo</label>
|
|
47 |
<location>${main.dir}</location>
|
|
48 |
</source-folder>
|
|
49 |
<source-folder>
|
|
50 |
<label>Sources</label>
|
|
51 |
<type>java</type>
|
|
52 |
<location>${src.dir}</location>
|
|
53 |
</source-folder>
|
|
54 |
<source-folder>
|
|
55 |
<label>test</label>
|
|
56 |
<type>java</type>
|
|
57 |
<location>test</location>
|
|
58 |
</source-folder>
|
|
59 |
</folders>
|
|
60 |
<ide-actions>
|
|
61 |
<action name="build">
|
|
62 |
<target>jar</target>
|
|
63 |
</action>
|
|
64 |
<action name="clean">
|
|
65 |
<target>clean</target>
|
|
66 |
</action>
|
|
67 |
<action name="rebuild">
|
|
68 |
<target>clean</target>
|
|
69 |
<target>jar</target>
|
|
70 |
</action>
|
|
71 |
<action name="run">
|
|
72 |
<target>run</target>
|
|
73 |
</action>
|
|
74 |
<action name="ReadMe">
|
|
75 |
<script>nbproject/netbeans-targets.xml</script>
|
|
76 |
<target>show-info</target>
|
|
77 |
</action>
|
|
78 |
<action name="javadoc">
|
|
79 |
<script>nbproject/netbeans-targets.xml</script>
|
|
80 |
<target>show-javadoc</target>
|
|
81 |
</action>
|
|
82 |
<action name="debug">
|
|
83 |
<script>nbproject/netbeans-targets.xml</script>
|
|
84 |
<target>debug</target>
|
|
85 |
</action>
|
|
86 |
<action name="compile.single">
|
|
87 |
<script>nbproject/file-targets.xml</script>
|
|
88 |
<target>compile-selected</target>
|
|
89 |
<context>
|
|
90 |
<property>includes</property>
|
|
91 |
<folder>${src.dir}</folder>
|
|
92 |
<pattern>\.java$</pattern>
|
|
93 |
<format>relative-path</format>
|
|
94 |
<arity>
|
|
95 |
<separated-files>,</separated-files>
|
|
96 |
</arity>
|
|
97 |
</context>
|
|
98 |
</action>
|
|
99 |
<action name="run.single">
|
|
100 |
<target>run</target>
|
|
101 |
<context>
|
|
102 |
<property>main.class</property>
|
|
103 |
<folder>${src.dir}</folder>
|
|
104 |
<pattern>\.java$</pattern>
|
|
105 |
<format>java-name</format>
|
|
106 |
<arity>
|
|
107 |
<one-file-only/>
|
|
108 |
</arity>
|
|
109 |
</context>
|
|
110 |
</action>
|
|
111 |
<action name="debug.single">
|
|
112 |
<script>nbproject/netbeans-targets.xml</script>
|
|
113 |
<target>debug</target>
|
|
114 |
<context>
|
|
115 |
<property>main.class</property>
|
|
116 |
<folder>${src.dir}</folder>
|
|
117 |
<pattern>\.java$</pattern>
|
|
118 |
<format>java-name</format>
|
|
119 |
<arity>
|
|
120 |
<one-file-only/>
|
|
121 |
</arity>
|
|
122 |
</context>
|
|
123 |
</action>
|
|
124 |
<action name="debug.fix">
|
|
125 |
<script>nbproject/netbeans-targets.xml</script>
|
|
126 |
<target>debug-fix</target>
|
|
127 |
<context>
|
|
128 |
<property>class</property>
|
|
129 |
<folder>${src.dir}</folder>
|
|
130 |
<pattern>\.java$</pattern>
|
|
131 |
<format>relative-path-noext</format>
|
|
132 |
<arity>
|
|
133 |
<one-file-only/>
|
|
134 |
</arity>
|
|
135 |
</context>
|
|
136 |
</action>
|
|
137 |
<action name="test">
|
|
138 |
<target>test</target>
|
|
139 |
</action>
|
|
140 |
</ide-actions>
|
|
141 |
<export>
|
|
142 |
<type>folder</type>
|
|
143 |
<location>${classes.dir}</location>
|
|
144 |
<build-target>jar</build-target>
|
|
145 |
</export>
|
|
146 |
<export>
|
|
147 |
<type>jar</type>
|
|
148 |
<location>${jar}</location>
|
|
149 |
<build-target>jar</build-target>
|
|
150 |
</export>
|
|
151 |
<export>
|
|
152 |
<type>folder</type>
|
|
153 |
<location>${build.test.classes.dir}</location>
|
|
154 |
<build-target>jar</build-target>
|
|
155 |
</export>
|
|
156 |
<view>
|
|
157 |
<items>
|
|
158 |
<source-folder style="packages">
|
|
159 |
<label>Sources</label>
|
|
160 |
<location>${src.dir}</location>
|
|
161 |
</source-folder>
|
|
162 |
<source-folder style="packages">
|
|
163 |
<label>test</label>
|
|
164 |
<location>test</location>
|
|
165 |
</source-folder>
|
|
166 |
<source-file>
|
|
167 |
<location>${main.dir}/index.html</location>
|
|
168 |
</source-file>
|
|
169 |
</items>
|
|
170 |
<context-menu>
|
|
171 |
<ide-action name="ReadMe"/>
|
|
172 |
<ide-action name="build"/>
|
|
173 |
<ide-action name="clean"/>
|
|
174 |
<ide-action name="rebuild"/>
|
|
175 |
<ide-action name="javadoc"/>
|
|
176 |
<ide-action name="debug"/>
|
|
177 |
<!-- ide-action name="test"/ -->
|
|
178 |
<separator/>
|
|
179 |
<action>
|
|
180 |
<label>Run Agent</label>
|
|
181 |
<target>run-agent</target>
|
|
182 |
</action>
|
|
183 |
<action>
|
|
184 |
<label>Run Client</label>
|
|
185 |
<target>run-client</target>
|
|
186 |
</action>
|
|
187 |
</context-menu>
|
|
188 |
</view>
|
|
189 |
<subprojects/>
|
|
190 |
</general-data>
|
|
191 |
<java-data xmlns="http://www.netbeans.org/ns/freeform-project-java/2">
|
|
192 |
<compilation-unit>
|
|
193 |
<package-root>${src.dir}</package-root>
|
|
194 |
<classpath mode="compile">${cp}</classpath>
|
|
195 |
<classpath mode="execute">${run.cp}</classpath>
|
|
196 |
<classpath mode="boot">${nbjdk.bootclasspath}</classpath>
|
|
197 |
<built-to>${classes.dir}</built-to>
|
|
198 |
<built-to>${jar}</built-to>
|
|
199 |
<javadoc-built-to>${javadoc.dir}</javadoc-built-to>
|
|
200 |
<source-level>1.5</source-level>
|
|
201 |
</compilation-unit>
|
|
202 |
<compilation-unit>
|
|
203 |
<package-root>test</package-root>
|
|
204 |
<unit-tests/>
|
|
205 |
<built-to>${build.test.classes.dir}</built-to>
|
|
206 |
<source-level>1.5</source-level>
|
|
207 |
</compilation-unit>
|
|
208 |
</java-data>
|
|
209 |
</configuration>
|
|
210 |
</project>
|