<?xml version="1.0" encoding="UTF-8"?> | |
<?eclipse version="3.4"?> | |
<plugin> | |
<extension | |
point="org.eclipse.wst.common.project.facet.core.facets"> | |
<project-facet | |
id="osgi.bundle"> | |
<label> | |
%osgi.bundle.facet.label | |
</label> | |
<description> | |
%osgi.bundle.facet.description | |
</description> | |
</project-facet> | |
<project-facet-version | |
facet="osgi.bundle" | |
version="4.2"> | |
<action | |
id="osgi.bundle.install" | |
type="install"> | |
<delegate | |
class="org.eclipse.libra.facet.OSGiBundleFacetInstallDelegate"> | |
</delegate> | |
<config-factory | |
class="org.eclipse.libra.facet.OSGiBundleFacetInstallConfigFactory"> | |
</config-factory> | |
</action> | |
<action | |
id="osgi.bundle.uninstall" | |
type="uninstall"> | |
<delegate | |
class="org.eclipse.libra.facet.OSGiBundleFacetUninstallDelegate"> | |
</delegate> | |
<config-factory | |
class="org.eclipse.libra.facet.OSGiBundleFacetUninstallConfigFactory"> | |
</config-factory> | |
</action> | |
</project-facet-version> | |
<event-handler | |
facet="jpt.jpa" | |
type="POST_INSTALL"> | |
<delegate | |
class="org.eclipse.libra.facet.OSGiBundleFacetEventHandler"> | |
</delegate> | |
</event-handler> | |
<event-handler | |
facet="jpt.jpa" | |
type="POST_VERSION_CHANGE"> | |
<delegate | |
class="org.eclipse.libra.facet.OSGiBundleFacetEventHandler"> | |
</delegate> | |
</event-handler> | |
</extension> | |
<extension | |
point="org.eclipse.wst.common.project.facet.core.presets"> | |
<static-preset | |
id="osgi.java.bundle.preset"> | |
<label> | |
%osgi.java.bundle.preset.label | |
</label> | |
<description> | |
%osgi.java.bundle.preset.description | |
</description> | |
<facet | |
id="java" | |
version="1.5"> | |
</facet> | |
<facet | |
id="osgi.bundle" | |
version="4.2"> | |
</facet> | |
</static-preset> | |
<static-preset | |
id="osgi.web.bundle.preset"> | |
<label> | |
%osgi.web.bundle.preset.label | |
</label> | |
<description> | |
%osgi.web.bundle.preset.description | |
</description> | |
<facet | |
id="java" | |
version="1.5"> | |
</facet> | |
<facet | |
id="jst.web" | |
version="2.5"> | |
</facet> | |
<facet | |
id="osgi.bundle" | |
version="4.2"> | |
</facet> | |
</static-preset> | |
<static-preset | |
id="osgi.persistent.bundle.preset"> | |
<label> | |
%osgi.persistent.bundle.preset.label | |
</label> | |
<description> | |
%osgi.persistent.bundle.preset.description | |
</description> | |
<facet | |
id="java" | |
version="1.5"> | |
</facet> | |
<facet | |
id="jst.utility" | |
version="1.0"> | |
</facet> | |
<facet | |
id="jpt.jpa" | |
version="1.0"> | |
</facet> | |
<facet | |
id="osgi.bundle" | |
version="4.2"> | |
</facet> | |
</static-preset> | |
</extension> | |
<extension | |
point="org.eclipse.wst.common.project.facet.core.runtimes"> | |
<supported> | |
<runtime-component | |
any="true"> | |
</runtime-component> | |
<facet | |
id="osgi.bundle"> | |
</facet> | |
</supported> | |
</extension> | |
</plugin> |