blob: c2c6cadc3c956701e6f6c783c5429e0977e2bcd6 [file] [log] [blame]
gkarasiu87bf6452008-03-10 15:31:49 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.2"?>
3<plugin>
4 <extension
5 point="org.eclipse.wst.validation.validatorV2"
6 id="Test1" name="%Test1.Validator.Name">
7 <validator
gkarasiu73f52e52008-03-20 10:55:39 +00008 build="false"
9 class="org.eclipse.wst.validation.tests.TestValidator"
10 manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +000011 <include>
12 <rules>
13 <fileext
14 ext="test1">
15 </fileext>
16 </rules>
17 </include>
18 </validator>
19 </extension>
20 <extension
21 point="org.eclipse.wst.validation.validatorV2"
22 id="Test2" name="%Test2.Validator.Name">
23 <validator
gkarasiu73f52e52008-03-20 10:55:39 +000024 build="false"
25 class="org.eclipse.wst.validation.tests.TestValidator2"
26 manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +000027 <include>
28 <rules>
29 <fileext
30 ext="jsp">
31 </fileext>
gkarasiu587a4df2008-05-14 14:17:32 +000032 <file name="somefile.txt" type="file"/>
gkarasiu87bf6452008-03-10 15:31:49 +000033 <fileext
34 ext="jspx">
35 </fileext>
36 <fileext
37 ext="java">
38 </fileext>
39 <fileext
40 ext="test2">
41 </fileext>
42 </rules>
43 </include>
44 <include>
45 <rules>
46 <projectNature id="org.eclipse.sample" />
47 <facet id="com.ibm.vf.test.facet2"/>
48 </rules>
49 </include>
50 <include>
51 <rules>
52 <contentType
53 id="com.ibm.vf.test.contentType2">
54 </contentType>
55 </rules>
56 </include>
57 <exclude>
58 <rules>
59 <facet
60 id="org.eclipse.wst.wid.facet">
61 </facet>
62 </rules>
63 </exclude>
64 <messageCategory id="bad" label="%Message.bad" severity="error"/>
65 <messageCategory id="sortof" label="%Message.sortof" severity="warning"/>
66 <messageCategory id="nice" label="%Message.nice" severity="ignore"/>
67 <messageCategory id="long" label="%Message.long" severity="ignore"/>
68
69 </validator>
70 </extension>
71
72 <extension
73 point="org.eclipse.wst.validation.validatorV2"
74 id="Test3" name="%Test3.Validator.Name">
75 <validator
gkarasiu73f52e52008-03-20 10:55:39 +000076 build="false"
gkarasiu87bf6452008-03-10 15:31:49 +000077 class="org.eclipse.wst.validation.tests.TestValidator3"
gkarasiu73f52e52008-03-20 10:55:39 +000078 manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +000079 <include>
80 <rules>
81 <fileext
82 ext="html">
83 </fileext>
84 <fileext
85 ext="htm">
86 </fileext>
87 </rules>
88 </include>
89 </validator>
90 </extension>
91
gkarasiuad20c762009-01-27 09:25:36 +000092 <extension point="org.eclipse.wst.validation.validatorV2" id="Test4" name="%Test4.Validator.Name">
93 <validator build="false"
gkarasiu73f52e52008-03-20 10:55:39 +000094 class="org.eclipse.wst.validation.tests.TestValidator4"
95 manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +000096 <include>
97 <rules>
98 <fileext
99 ext="test4">
100 </fileext>
101 </rules>
102 </include>
103 </validator>
104 </extension>
gkarasiuad20c762009-01-27 09:25:36 +0000105
gkarasiu87bf6452008-03-10 15:31:49 +0000106 <extension id="Test5" name="%Test5.Validator.Name" point="org.eclipse.wst.validation.validatorV2">
gkarasiuad20c762009-01-27 09:25:36 +0000107 <validator build="false" class="org.eclipse.wst.validation.tests.TestValidator5" manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +0000108 <include>
109 <rules>
110 <fileext
111 ext="test5">
112 </fileext>
113 </rules>
114 </include>
115 </validator>
116 </extension>
gkarasiuad20c762009-01-27 09:25:36 +0000117
118 <extension point="org.eclipse.wst.validation.validatorDelegates">
gkarasiu87bf6452008-03-10 15:31:49 +0000119 <delegate
120 class="org.eclipse.wst.validation.tests.TestValidator5D"
121 name="%Test5D.Validator.Name"
122 target="org.eclipse.wst.validation.tests.TestValidator5">
123 </delegate>
124 </extension>
125 <extension
126 id="Test6"
127 name="%Test6.Validator.Name"
128 point="org.eclipse.wst.validation.validatorV2">
129 <validator
gkarasiu73f52e52008-03-20 10:55:39 +0000130 build="false"
131 class="org.eclipse.wst.validation.tests.TestValidator6"
132 manual="false">
gkarasiu87bf6452008-03-10 15:31:49 +0000133 <include>
134 <rules>
135 <contentType id="org.eclipse.core.runtime.xml"></contentType>
136 <contentType id="org.eclipse.wst.xml.core.xmlsource"></contentType>
137 <contentType id="org.eclipse.wst.xml.core.xslsource"></contentType>
138 <contentType id="org.eclipse.jst.jsp.core.tldsource"></contentType>
139 </rules>
140 </include>
141 <exclude>
142 <rules>
143 <file
144 caseSensitive="true"
145 name=".project"
146 type="file">
147 </file>
148 </rules>
149 </exclude>
150 </validator>
151 </extension>
gkarasiubffbb952008-03-18 15:36:59 +0000152 <extension
153 point="org.eclipse.wst.validation.validatorV2"
154 id="Test7" name="%Test7.Validator.Name">
155 <validator
gkarasiu73f52e52008-03-20 10:55:39 +0000156 build="false"
157 class="org.eclipse.wst.validation.tests.TestValidator7"
158 manual="false">
gkarasiubffbb952008-03-18 15:36:59 +0000159 <include>
160 <rules>
161 <fileext
162 ext="test1">
163 </fileext>
164 </rules>
165 </include>
166 </validator>
167 </extension>
168
169 <extension
170 point="org.eclipse.wst.validation.validatorV2"
gkarasiu587a4df2008-05-14 14:17:32 +0000171 id="Test8" name="Test8">
172 <validator
173 build="false"
174 class="org.eclipse.wst.validation.tests.TestValidator8"
175 manual="false">
176 <include>
177 <rules>
178 <file name="file.specific" type="file"/>
179 <file name="source/full.specific" type="full"/>
180 </rules>
181 </include>
182 </validator>
183 </extension>
184
185 <extension
186 point="org.eclipse.wst.validation.validatorV2"
gkarasiubffbb952008-03-18 15:36:59 +0000187 id="T1A" name="T1A Validator">
188 <validator
gkarasiu73f52e52008-03-20 10:55:39 +0000189 build="false"
190 class="org.eclipse.wst.validation.tests.T1AValidator"
191 manual="false">
gkarasiubffbb952008-03-18 15:36:59 +0000192 <include>
193 <rules>
194 <fileext
195 ext="test1">
196 </fileext>
197 </rules>
198 </include>
gkarasiufa1092b2008-04-20 17:19:19 +0000199 <group
200 id="org.eclipse.wst.common.tests.validation.t1group">
201 </group>
gkarasiubffbb952008-03-18 15:36:59 +0000202 </validator>
203 </extension>
gkarasiua40be322008-03-28 13:35:06 +0000204
gkarasiuad20c762009-01-27 09:25:36 +0000205 <extension point="org.eclipse.wst.validation.validatorV2" id="T1B" name="T1B Validator">
206 <validator build="false" class="org.eclipse.wst.validation.tests.T1B"
gkarasiua40be322008-03-28 13:35:06 +0000207 markerId="org.eclipse.wst.common.tests.validation.t1bmarker">
208 <include>
209 <rules>
210 <fileext
211 ext="t1b">
212 </fileext>
213 </rules>
214 </include>
215 </validator>
216 </extension>
217
gkarasiuad20c762009-01-27 09:25:36 +0000218 <extension point="org.eclipse.wst.validation.validatorV2" id="T1C" name="T1C">
219 <validator build="false" class="org.eclipse.wst.validation.tests.T1C" manual="false">
gkarasiu641abc42008-04-16 13:13:28 +0000220 <include>
221 <rules>
222 <fileext
223 ext="t1c">
224 </fileext>
225 </rules>
226 </include>
227 <exclude>
228 <rules>
229 <file
230 caseSensitive="false"
231 name="ignore"
232 type="folder">
233 </file>
234 </rules>
235 </exclude>
gkarasiufa1092b2008-04-20 17:19:19 +0000236 <group
237 id="org.eclipse.wst.common.tests.validation.t1group">
238 </group>
gkarasiu641abc42008-04-16 13:13:28 +0000239 </validator>
240 </extension>
241
gkarasiuad20c762009-01-27 09:25:36 +0000242 <extension id="t2a" name="T2A" point="org.eclipse.wst.validation.validator">
gkarasiuf3bd6d32008-03-26 17:59:22 +0000243 <validator>
244 <helper
245 class="org.eclipse.wst.validation.tests.T2AHelper">
246 </helper>
247 <run
248 class="org.eclipse.wst.validation.tests.T2A"
249 enabled="false">
250 </run>
251 </validator>
252 </extension>
253 <extension
254 id="t2b"
255 name="T2B"
256 point="org.eclipse.wst.validation.validator">
257 <validator>
258 <helper
259 class="org.eclipse.wst.validation.tests.T2AHelper">
260 </helper>
261 <run
262 class="org.eclipse.wst.validation.tests.T2B"
gkarasiu72375cf2008-03-26 18:15:50 +0000263 enabled="true">
gkarasiuf3bd6d32008-03-26 17:59:22 +0000264 </run>
265 </validator>
266 </extension>
gkarasiua40be322008-03-28 13:35:06 +0000267 <extension
268 id="t1bmarker"
269 name="T1B Message"
270 point="org.eclipse.core.resources.markers">
271 <super
272 type="org.eclipse.core.resources.problemmarker">
273 </super>
274 <persistent
275 value="true">
276 </persistent>
277 </extension>
gkarasiufa1092b2008-04-20 17:19:19 +0000278 <extension
279 point="org.eclipse.wst.validation.validatorGroup">
280 <group
281 id="t1group">
282 <listener
283 class="org.eclipse.wst.validation.tests.T1Group">
284 </listener>
285 </group>
286 </extension>
gkarasiu6661e752008-10-14 17:18:45 +0000287 <extension id="exclude1" point="org.eclipse.wst.validation.exclude">
gkarasiu390ceef2008-04-21 19:52:40 +0000288 <validator
289 id="org.eclipse.wst.common.tests.validation.T1A">
290 <exclude>
291 <rules>
292 <projectNature
293 id="org.eclipse.jst.j2ee.ModuleCoreNature">
294 </projectNature>
295 </rules>
296 </exclude>
297 </validator>
298 </extension>
gkarasiu87bf6452008-03-10 15:31:49 +0000299
gkarasiua3fd43c2008-10-01 23:14:49 +0000300 <extension point="org.eclipse.wst.validation.validatorV2" id="T4A" name="T4A">
301 <validator build="false" class="org.eclipse.wst.validation.tests.T4A" manual="false">
302 <include>
303 <rules>
304 <fileext ext="test1"></fileext>
gkarasiu97ceefe2010-02-17 17:48:59 +0000305 <facet id="java" version="1.5"/>
gkarasiua3fd43c2008-10-01 23:14:49 +0000306 </rules>
307 </include>
308 </validator>
309 </extension>
310
311 <extension point="org.eclipse.wst.validation.validatorV2" id="T4B" name="T4B">
312 <validator build="false" class="org.eclipse.wst.validation.tests.T4B" manual="false">
313 <include>
314 <rules>
315 <fileext ext="test1"></fileext>
gkarasiu97ceefe2010-02-17 17:48:59 +0000316 <facet id="java" version="1.6"/>
gkarasiua3fd43c2008-10-01 23:14:49 +0000317 </rules>
318 </include>
319 </validator>
320 </extension>
321
gkarasiu22efa022008-10-07 21:02:13 +0000322 <extension point="org.eclipse.wst.validation.validatorV2" id="T5A" name="T5A">
323 <validator build="false" class="org.eclipse.wst.validation.tests.T5A" manual="false">
324 <include>
325 <rules>
326 <pattern regex=".*/second/third/.*"></pattern>
327 </rules>
328 </include>
329 </validator>
330 </extension>
331
332 <extension point="org.eclipse.wst.validation.validatorV2" id="T5B" name="T5B">
333 <validator build="false" class="org.eclipse.wst.validation.tests.T5B" manual="false">
334 <include>
335 <rules>
336 <pattern regex=".*/secondx/third/.*"></pattern>
337 </rules>
338 </include>
339 </validator>
340 </extension>
gkarasiu6661e752008-10-14 17:18:45 +0000341
342 <extension point="org.eclipse.wst.validation.validatorV2" id="T5C" name="T5C">
343 <validator build="false" class="org.eclipse.wst.validation.tests.T5C" manual="false">
344 <include>
345 <rules>
346 <fileext ext="test1"></fileext>
347 </rules>
348 </include>
349 </validator>
350 </extension>
351
352 <extension id="exclude2" point="org.eclipse.wst.validation.exclude">
353 <validator id="org.eclipse.wst.common.tests.validation.T5C">
354 <exclude>
355 <rules>
356 <pattern regex=".*/second/third/.*"></pattern>
357 </rules>
358 </exclude>
359 </validator>
360 </extension>
361
gkarasiud5002112008-12-10 22:05:15 +0000362 <extension point="org.eclipse.wst.validation.validatorV2" id="T6A" name="T6A">
363 <validator build="false" class="org.eclipse.wst.validation.tests.T6A">
364 <include>
365 <rules>
366 <fileext ext="t6a"></fileext>
367 </rules>
368 </include>
369 </validator>
370 </extension>
gkarasiu6661e752008-10-14 17:18:45 +0000371
gkarasiu40f68462009-01-21 17:28:08 +0000372 <extension point="org.eclipse.wst.validation.validatorV2" id="T7A" name="T7A">
373 <validator build="false" class="org.eclipse.wst.validation.tests.T7A">
374 <include>
375 <rules>
376 <fileext ext="t7a"></fileext>
377 </rules>
378 </include>
379 </validator>
380 </extension>
rsanchez5c4172d2012-02-09 03:34:17 +0000381
382 <!-- New Test Validator to test exclude/include target runtime rule -->
383 <extension
384 id="TargetRuntimeValidator"
385 name="J2EE Test"
386 point="org.eclipse.wst.validation.validatorV2">
387 <validator
388 class="org.eclipse.wst.validation.tests.TestValidator">
389 <include>
390 <rules>
391 <facet id="java" version="1.5"/>
392 </rules>
393 </include>
394 <exclude>
395 <rules>
396 <targetRuntime id="JBoss v5.0"/>
397 </rules>
398 </exclude>
399 </validator>
400 </extension>
gkarasiu87bf6452008-03-10 15:31:49 +0000401</plugin>