Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2010-03-16 21:27:41 +0000
committercbateman2010-03-16 21:27:41 +0000
commit86bef4a06dbf123818d156a2dd5b7510ee27455d (patch)
tree127fc7d36c37dfc45a6bda21991db5c6f4b82a83
parentc3c54f65173dcbb3cdeda495bfaac8b52a4e44a9 (diff)
downloadwebtools.jsf-86bef4a06dbf123818d156a2dd5b7510ee27455d.tar.gz
webtools.jsf-86bef4a06dbf123818d156a2dd5b7510ee27455d.tar.xz
webtools.jsf-86bef4a06dbf123818d156a2dd5b7510ee27455d.zip
[bug 305612] Partial: commit the extension to reference the JSF 2.0 downloadable library.
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.core/plugin.xml29
1 files changed, 19 insertions, 10 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/plugin.xml b/jsf/plugins/org.eclipse.jst.jsf.core/plugin.xml
index 782fc7959..228b2bae4 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.core/plugin.xml
+++ b/jsf/plugins/org.eclipse.jst.jsf.core/plugin.xml
@@ -16,19 +16,19 @@
<extension-point id="symbolContextResolverFactory" name="%extension-point.name.12" schema="schema/symbolContextResolverFactory.exsd"/>
<extension point="org.eclipse.emf.ecore.generated_package">
- <package
- uri = "http://org.eclipse.jst.jsf.core/constraints.ecore"
- class = "org.eclipse.jst.jsf.validation.internal.constraints.ConstraintsPackage"
- genModel = "model/constraints.genmodel" />
- <package
- uri = "http://org.eclipse.jsf.pagedesigner/paletteInfos.ecore"
- class = "org.eclipse.jst.jsf.tagdisplay.internal.paletteinfos.PaletteInfosPackage"
- genModel = "model/paletteInfos.genmodel" />
+ <package
+ uri = "http://org.eclipse.jst.jsf.core/constraints.ecore"
+ class = "org.eclipse.jst.jsf.validation.internal.constraints.ConstraintsPackage"
+ genModel = "model/constraints.genmodel" />
+ <package
+ uri = "http://org.eclipse.jsf.pagedesigner/paletteInfos.ecore"
+ class = "org.eclipse.jst.jsf.tagdisplay.internal.paletteinfos.PaletteInfosPackage"
+ genModel = "model/paletteInfos.genmodel" />
<package
uri = "http://org.eclipse.jst.jsf.core/componentMapping.ecore"
class = "org.eclipse.jst.jsf.designtime.internal.view.mapping.viewmapping.ComponentMappingPackage"
genModel = "model/componentMapping.genmodel" />
- </extension>
+ </extension>
<!-- JSF Project Facets -->
<extension
id="org.eclipse.jst.jsf.project.facet"
@@ -451,6 +451,16 @@
<detector class="org.eclipse.jst.jsf.core.internal.project.facet.LegacyJSFLibraryProviderDetector"/>
</extension>
+ <!-- JSF 2.0 Downloadable library provider -->
+ <extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries">
+ <import-definitions url="http://www.eclipse.org/webtools/jsf/jsf-library/jsf-2.0-downloadable-libraries.xml">
+ <enablement>
+ <with variable="requestingProjectFacet">
+ <test property="org.eclipse.wst.common.project.facet.core.projectFacet" value="jst.jsf:2.0" forcePluginActivation="true"/>
+ </with>
+ </enablement>
+ </import-definitions>
+ </extension>
<!-- JSF 1.2 Downloadable library provider -->
<extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries">
@@ -463,7 +473,6 @@
</import-definitions>
</extension>
-
<!-- JSF 1.1 Downloadable library provider -->
<extension point="org.eclipse.jst.common.project.facet.core.downloadableLibraries">
<import-definitions url="http://www.eclipse.org/webtools/jsf/jsf-library/jsf-1.1-downloadable-libraries.xml">

Back to the top