Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-dev] org.eclipse.wst.validation.validator ext point support for facets


This is regards to enhancement https://bugs.eclipse.org/bugs/show_bug.cgi?id=118448 for WTP 1.5.

The support for the org.eclipse.wst.validation.validator ext point recognizing facets filters has been added. The J2EE validators (ejb, ear, war,app client and connector validators ) have been migrated to use facets filters. Any validators extending the validator ext point can define natures (one or more) or facets (one or more) filters or both. Here is sample of the facet element that the ejb validator defines.

<facet
    facetId="jst.ejb">
</facet>

Here are the different scenarios on how these filters work.

1. If just the nature(s) filter is defined then the validator enables on the projects that has that nature

2. If both nature(s) and facet(s) filters are defined then the validator is enabled on projects with those nature(s) and facet(s) only

3. If just facet(s) filters are defined then the validator is enabled on projects with only that facets ignoring any natures present on the project.

4. If neither nature or facet filters are defined then the validator is free for any project and is enabled on any project.


Please free to update any comments you have on this enhancement to the 118448  defect.

Thanks,

Regards, Vijay
_____________________________
Vijay Bhadriraju
Rational Tools, J2EE Tooling
Ph: (919) 486-1898, T/L: 526-1898
Internet: vbhadrir@xxxxxxxxxx

_____________________________

Back to the top