| Enablement option on validators [message #209177] |
Wed, 27 February 2008 19:48 |
Cameron Bateman Messages: 480 Registered: July 2009 |
Senior Member |
|
|
What is the purpose of the "enablement" element on the
org.eclipse.wst.validation.validator extension? I was under the
impression that doing something like this:
<enablement>
<and>
<test property="org.eclipse.wst.common.project.facet.core.projectFacet "
value="jst.java"/>
<test property="org.eclipse.wst.common.project.facet.core.projectFacet "
value="jst.appclient"/>
</and>
</enablement>
Would stop a validator from being called on any of it's target files
unless the containing project has jst.java and jst.appclient facets.
However, it doesn't seem to have this effect on any WTP validator I can
find.
--Cam
|
|
|
Powered by
FUDForum. Page generated in 0.11388 seconds