Facets and plugin [message #64489] |
Wed, 10 June 2009 05:08 |
Eclipse User |
|
|
|
Hi,
i have a problem with a popupmenu in a selfdeveloped plugin.
On the popupmenu i have a 'visibility' attribute like this:
<visibility>
<objectState
value="com.ibm.etools.portal.tools.PortletProjectNature"
name="projectNature"/>
</visibility>
In RAD6, when creating a new IBM Struts portlet, it creates it with the
above nature in the .project file. No problem there.
When creating a new portlet in RAD7.5(Eclipse 3.4.1) it doesn't create the
portlet portlet with that nature. I noticed that it puts these things in
the .settings library in the org.eclipse.wst.common.project.facet.core.xml
file.
Now my problem is that i can't figure out how to access these informations
about which facets the project has installed.
the file mentioned above contains:
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<runtime name="wps.base.v61"/>
<fixed facet="jst.web"/>
<fixed facet="jst.java"/>
<installed facet="ibmportlet.base" version="1.0"/>
<installed facet="jst.java" version="1.4"/>
<installed facet="jst.web" version="2.4"/>
<installed facet="com.ibm.websphere.coexistence.web" version="6.1"/>
<installed facet="com.ibm.websphere.extended.web" version="6.1"/>
<installed facet="ibmportlet.struts" version="6.0"/>
</faceted-project>
Any ideas?
|
|
|
Powered by
FUDForum. Page generated in 0.25611 seconds