Skip to main content

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

Gary,
 
You have mentioned a good point. The validation framework needs to enable support for enabling validators based on facet types in addtion to natures i.e either a nature can be defined or just a facet can be defined to both can be defined in the org.eclipse.wst.validation.validator  extension point implmentation to enable validators on a project.
 
Please open feature request for WTP 1.5 release as it cannot be contained in for WTP 1.0
 
Thanks
 
 Regards, Vijay
____________________________
Vijay Bhadriraju
Rational Tools, J2EE Tooling
Ph: (919) 486-1898, T/L: 526-1898
Internet: vbhadrir@xxxxxxxxxx
 
 
Tuesday, November 29, 2005 11:46 AM
To: wtp-dev@xxxxxxxxxxx
cc:
From: Gary Johnston/Raleigh/IBM@IBMUS
Subject: [wtp-dev] org.eclipse.wst.validation.validator support for facets?



Are there any plans for the subject ext. pt. to support facets?  Currently, I can specify a <projectNature id="some nature id"/> such that my contributed validator is invoked only if the project in question has the specified nature.  But some tooling that extends WTP stuff is moving to facets, rather than natures, to indicate the presence of, say, some particular runtime support or functionality in the target project.  So it would be nice if this extension point let me specify a facet, rather than a nature.  As it is now, the best I can do is to specify a projectNature id="org.eclipse.wst.common.modulecore.ModuleCoreNature" (because the nature that I used to use is going away and becoming a facet instead).  But that means that my plug-in gets activated, and my validator invoked, on projects it doesn't care about.

- Gary


Gary Johnston
Team Lead, Web Application Diagramming, Struts Tools, Web Application Sketching
Rational Application/Web Developer

IBM Rational Software
IBM Software Group
Research Triangle Park, NC


Back to the top