Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Enablement option on validators
Enablement option on validators [message #209177] Thu, 28 February 2008 00:48
Cameron Bateman is currently offline Cameron BatemanFriend
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
Previous Topic:How do I publish a war file that's already present in my workspace project?
Next Topic:J2EE Environment
Goto Forum:
  


Current Time: Thu Dec 18 19:46:25 GMT 2014

Powered by FUDForum. Page generated in 0.02613 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software