Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Can I declare constraints for the same project-facet-version in different plugins?
Can I declare constraints for the same project-facet-version in different plugins? [message #502581] Tue, 08 December 2009 21:35
Jim Zhang is currently offline Jim Zhang
Messages: 6
Registered: July 2009
Junior Member
I have a facet that requires jst.web or wst.web. Currently I specify
the constraints with an <or> operand in the extension. Now my product
is undergoing an install optimization that ends up creating layers. As
a result users can pick a minimal install that does not have any jst
plugins. All works fine except that in the .log file I'm getting a
warning message about "jst.web" facet not being defined.

What's the best way to avoid the warning? It's not causing any problems
but if there's a way to declare the same constraints from separate
plugins, one inside the wst layer (requiring wst.web) and another inside
the jst layer (requiring jst.web) then I'd like to explore it.

I inspected the source code "FacetsProjectFrameworkImpl.java" it seems a
facetversion object can have only one <constraint> element associated to it.

Any suggestions?
Previous Topic:JSP editor problem
Next Topic:JSP editor problem
Goto Forum:
  


Current Time: Wed Oct 22 06:35:48 GMT 2014

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

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