[Adopter] Another project facets question [message #223748] |
Wed, 12 November 2008 17:33 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Our plugin defines several custom facets. Up until recently, they all
showed up in the "Modify Faceted Project" UI. However, now one of those
facets is not listed there. I've inspected the relevant parts of
plugin.xml (see below) and can't see why the one is not being listed.
Any ideas?
Eric
[the facet that does not show up in the UI is
org.skyway.integration.java.spring.webfacet.deploy]
<extension point="org.eclipse.wst.common.project.facet.core.facets">
<project-facet id="org.skyway.integration.java.spring.webfacet">
<label>Skyway Spring Web Generation Facet</label>
<description>Skyway Spring Web Generation Facet</description>
<default-version version="1.1.0"></default-version>
</project-facet>
<project-facet id="org.skyway.integration.java.spring.webfacet.deploy">
<label>Skyway Spring Web Deployment Facet</label>
<description>Skyway Spring Web Deployment Facet</description>
<default-version version="1.0"></default-version>
</project-facet>
<project-facet-version
facet="org.skyway.integration.java.spring.webfacet.deploy" version="1.0">
<constraint>
<and>
<requires group="skyway-generators"></requires>
<conflicts group="modules"></conflicts>
</and>
</constraint>
<group-member id="modules"></group-member>
<action type="uninstall">
<delegate
class=" org.skyway.deploy.spring.web.SpringWebDeployFacetUninstallDe legate "></delegate>
<config-factory
class=" org.skyway.deploy.spring.web.SpringWebGenerationActionConfig Factory "></config-factory>
</action>
<action type="install">
<delegate
class=" org.skyway.deploy.spring.web.SpringWebDeployFacetInstallDele gate "></delegate>
<config-factory
class=" org.skyway.deploy.spring.web.SpringWebGenerationActionConfig Factory "></config-factory>
</action>
</project-facet-version>
<project-facet-version
facet="org.skyway.integration.java.spring.webfacet" version="1.1.0">
<action type="install">
<delegate
class=" org.skyway.deploy.spring.web.SpringWebGenerationFacetInstall Delegate "></delegate>
<config-factory
class=" org.skyway.deploy.spring.web.SpringWebGenerationActionConfig Factory "></config-factory>
</action>
<action type="uninstall">
<delegate
class=" org.skyway.deploy.spring.web.SpringWebGenerationFacetUninsta llDelegate "></delegate>
<config-factory
class=" org.skyway.deploy.spring.web.SpringWebGenerationActionConfig Factory "></config-factory>
</action>
<constraint>
<and>
<requires facet="org.skyway.core.modeling.facet" soft="false"
version="1.0"></requires>
<conflicts group="skyway-generators"></conflicts>
</and>
</constraint>
<group-member id="skyway-generators"></group-member>
</project-facet-version>
</extension>
<extension point="org.eclipse.wst.common.project.facet.core.runtimes">
<supported>
<facet id="org.skyway.integration.java.spring.webfacet"
version="*"></facet>
<runtime-component any="true"></runtime-component>
<facet id="org.skyway.core.modeling.facet" version="*"></facet>
<facet id="org.skyway.integration.java.spring.webfacet.deploy"
version="*"></facet>
</supported>
</extension>
|
|
|
|
Re: [Adopter] Another project facets question [message #223826 is a reply to message #223757] |
Thu, 13 November 2008 19:13 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 11/12/2008 5:21 PM, Konstantin Komissarchik wrote:
> What does the project configuration look like in this context? What
> facets are already installed? What facets are fixed?
> Looking at your declaration, the webfacet.deploy facet specifies
> <conflicts group="modules"/> constraint. This is the group that all WTP
> module facets belong. So if you are starting with say a project created
> using WTP's Dynamic Web Project wizard, then your facet conflicts with
> an already installed fixed facet, so it will not be shown.
I'm just trying to create a new WTP "Dynamic Web Project" and our deploy
facet does not show up as an option.
I think the problem lies in my ignorance of the constraints - is there a
good document that decribes that (other than the extension point
description generated from the schema)?
Thanks,
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 3.85512 seconds