|Can I declare constraints for the same project-facet-version in different plugins? [message #502581]
||Tue, 08 December 2009 21:35
| Jim Zhang
Registered: July 2009
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.
Powered by FUDForum
. Page generated in 0.24880 seconds