It appears for some reason that the facet version is not detected correctly for library providers.
I have the following extension points in open source Galileo (All they do is enable different sets of JSF downloadable libs to appear (for JSF 1.1 and 1.2)):
<!-- JSF 1.2 downloadable library provider -->
<extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries">
<import-definitions path="jsf-1.2-downloadable-libraries.xml">
<enablement>
<with variable="requestingProjectFacet">
<test property="org.eclipse.wst.common.project.facet.core.projectFacet" value="jst.jsf:1.2" forcePluginActivation="true"/>
</with>
</enablement>
</import-definitions>
</extension>
<!-- JSF 1.1 downloadable library provider -->
<extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries">
<import-definitions path="jsf-1.1-downloadable-libraries.xml">
<enablement>
<with variable="requestingProjectFacet">
<test property="org.eclipse.wst.common.project.facet.core.projectFacet" value="jst.jsf:1.1" forcePluginActivation="true"/>
</with>
</enablement>
</import-definitions>
</extension>
Now, on running this, only the JSF 1.1 libs show up (in the downloadable libs window) regardless of whether JSF 1.1 or JSF 1.2 is selected. (The JSF 1.2 version is clearly not detected correctly)
Any pointers on what could be going wrong here?