Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 ZhangFriend
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: Fri Sep 20 13:55:38 GMT 2024

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

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

Back to the top