gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 1 | <?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 |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 8 | build="false" |
| 9 | class="org.eclipse.wst.validation.tests.TestValidator" |
| 10 | manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 11 | <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 |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 24 | build="false" |
| 25 | class="org.eclipse.wst.validation.tests.TestValidator2" |
| 26 | manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 27 | <include> |
| 28 | <rules> |
| 29 | <fileext |
| 30 | ext="jsp"> |
| 31 | </fileext> |
gkarasiu | 587a4df | 2008-05-14 14:17:32 +0000 | [diff] [blame] | 32 | <file name="somefile.txt" type="file"/> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 33 | <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 |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 76 | build="false" |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 77 | class="org.eclipse.wst.validation.tests.TestValidator3" |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 78 | manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 79 | <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 | |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 92 | <extension point="org.eclipse.wst.validation.validatorV2" id="Test4" name="%Test4.Validator.Name"> |
| 93 | <validator build="false" |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 94 | class="org.eclipse.wst.validation.tests.TestValidator4" |
| 95 | manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 96 | <include> |
| 97 | <rules> |
| 98 | <fileext |
| 99 | ext="test4"> |
| 100 | </fileext> |
| 101 | </rules> |
| 102 | </include> |
| 103 | </validator> |
| 104 | </extension> |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 105 | |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 106 | <extension id="Test5" name="%Test5.Validator.Name" point="org.eclipse.wst.validation.validatorV2"> |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 107 | <validator build="false" class="org.eclipse.wst.validation.tests.TestValidator5" manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 108 | <include> |
| 109 | <rules> |
| 110 | <fileext |
| 111 | ext="test5"> |
| 112 | </fileext> |
| 113 | </rules> |
| 114 | </include> |
| 115 | </validator> |
| 116 | </extension> |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 117 | |
| 118 | <extension point="org.eclipse.wst.validation.validatorDelegates"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 119 | <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 |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 130 | build="false" |
| 131 | class="org.eclipse.wst.validation.tests.TestValidator6" |
| 132 | manual="false"> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 133 | <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> |
gkarasiu | bffbb95 | 2008-03-18 15:36:59 +0000 | [diff] [blame] | 152 | <extension |
| 153 | point="org.eclipse.wst.validation.validatorV2" |
| 154 | id="Test7" name="%Test7.Validator.Name"> |
| 155 | <validator |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 156 | build="false" |
| 157 | class="org.eclipse.wst.validation.tests.TestValidator7" |
| 158 | manual="false"> |
gkarasiu | bffbb95 | 2008-03-18 15:36:59 +0000 | [diff] [blame] | 159 | <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" |
gkarasiu | 587a4df | 2008-05-14 14:17:32 +0000 | [diff] [blame] | 171 | 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" |
gkarasiu | bffbb95 | 2008-03-18 15:36:59 +0000 | [diff] [blame] | 187 | id="T1A" name="T1A Validator"> |
| 188 | <validator |
gkarasiu | 73f52e5 | 2008-03-20 10:55:39 +0000 | [diff] [blame] | 189 | build="false" |
| 190 | class="org.eclipse.wst.validation.tests.T1AValidator" |
| 191 | manual="false"> |
gkarasiu | bffbb95 | 2008-03-18 15:36:59 +0000 | [diff] [blame] | 192 | <include> |
| 193 | <rules> |
| 194 | <fileext |
| 195 | ext="test1"> |
| 196 | </fileext> |
| 197 | </rules> |
| 198 | </include> |
gkarasiu | fa1092b | 2008-04-20 17:19:19 +0000 | [diff] [blame] | 199 | <group |
| 200 | id="org.eclipse.wst.common.tests.validation.t1group"> |
| 201 | </group> |
gkarasiu | bffbb95 | 2008-03-18 15:36:59 +0000 | [diff] [blame] | 202 | </validator> |
| 203 | </extension> |
gkarasiu | a40be32 | 2008-03-28 13:35:06 +0000 | [diff] [blame] | 204 | |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 205 | <extension point="org.eclipse.wst.validation.validatorV2" id="T1B" name="T1B Validator"> |
| 206 | <validator build="false" class="org.eclipse.wst.validation.tests.T1B" |
gkarasiu | a40be32 | 2008-03-28 13:35:06 +0000 | [diff] [blame] | 207 | 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 | |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 218 | <extension point="org.eclipse.wst.validation.validatorV2" id="T1C" name="T1C"> |
| 219 | <validator build="false" class="org.eclipse.wst.validation.tests.T1C" manual="false"> |
gkarasiu | 641abc4 | 2008-04-16 13:13:28 +0000 | [diff] [blame] | 220 | <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> |
gkarasiu | fa1092b | 2008-04-20 17:19:19 +0000 | [diff] [blame] | 236 | <group |
| 237 | id="org.eclipse.wst.common.tests.validation.t1group"> |
| 238 | </group> |
gkarasiu | 641abc4 | 2008-04-16 13:13:28 +0000 | [diff] [blame] | 239 | </validator> |
| 240 | </extension> |
| 241 | |
gkarasiu | ad20c76 | 2009-01-27 09:25:36 +0000 | [diff] [blame] | 242 | <extension id="t2a" name="T2A" point="org.eclipse.wst.validation.validator"> |
gkarasiu | f3bd6d3 | 2008-03-26 17:59:22 +0000 | [diff] [blame] | 243 | <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" |
gkarasiu | 72375cf | 2008-03-26 18:15:50 +0000 | [diff] [blame] | 263 | enabled="true"> |
gkarasiu | f3bd6d3 | 2008-03-26 17:59:22 +0000 | [diff] [blame] | 264 | </run> |
| 265 | </validator> |
| 266 | </extension> |
gkarasiu | a40be32 | 2008-03-28 13:35:06 +0000 | [diff] [blame] | 267 | <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> |
gkarasiu | fa1092b | 2008-04-20 17:19:19 +0000 | [diff] [blame] | 278 | <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> |
gkarasiu | 6661e75 | 2008-10-14 17:18:45 +0000 | [diff] [blame] | 287 | <extension id="exclude1" point="org.eclipse.wst.validation.exclude"> |
gkarasiu | 390ceef | 2008-04-21 19:52:40 +0000 | [diff] [blame] | 288 | <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> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 299 | |
gkarasiu | a3fd43c | 2008-10-01 23:14:49 +0000 | [diff] [blame] | 300 | <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> |
gkarasiu | 97ceefe | 2010-02-17 17:48:59 +0000 | [diff] [blame] | 305 | <facet id="java" version="1.5"/> |
gkarasiu | a3fd43c | 2008-10-01 23:14:49 +0000 | [diff] [blame] | 306 | </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> |
gkarasiu | 97ceefe | 2010-02-17 17:48:59 +0000 | [diff] [blame] | 316 | <facet id="java" version="1.6"/> |
gkarasiu | a3fd43c | 2008-10-01 23:14:49 +0000 | [diff] [blame] | 317 | </rules> |
| 318 | </include> |
| 319 | </validator> |
| 320 | </extension> |
| 321 | |
gkarasiu | 22efa02 | 2008-10-07 21:02:13 +0000 | [diff] [blame] | 322 | <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> |
gkarasiu | 6661e75 | 2008-10-14 17:18:45 +0000 | [diff] [blame] | 341 | |
| 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 | |
gkarasiu | d500211 | 2008-12-10 22:05:15 +0000 | [diff] [blame] | 362 | <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> |
gkarasiu | 6661e75 | 2008-10-14 17:18:45 +0000 | [diff] [blame] | 371 | |
gkarasiu | 40f6846 | 2009-01-21 17:28:08 +0000 | [diff] [blame] | 372 | <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> |
rsanchez | 5c4172d | 2012-02-09 03:34:17 +0000 | [diff] [blame] | 381 | |
| 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> |
gkarasiu | 87bf645 | 2008-03-10 15:31:49 +0000 | [diff] [blame] | 401 | </plugin> |