Gerry,
No, that would not be necessary. There is
a “wildcard” facility that handles this case. You would include
something like this in the plugin.xml of the plugin that defines the JSF facet:
<extension point="org.eclipse.wst.common.project.facet.core.runtimes">
<supported>
<runtime-component any="true"/>
<facet id="jsf" version="1.0"/>
</supported>
</extension>
If you do this in combination with
declaring the dependency on the web facet, then you have made a facet that is
supported by any runtime that supports the web facet.
- Konstantin
From:
wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Gerry Kessler
Sent: Wednesday, October 26, 2005
4:40 PM
To: wtp-dev@xxxxxxxxxxx
Subject: [wtp-dev] Project Facet
Question
For WTP JSF Tooling Project, we intend to
create a facet that depends only on the Web facet. If the server
supports servlets, we should be able to support JSF. However, in
order to use this, will every server adapter explicitly need to support a JSF
facet type in order for the the wizard finish to be available?