| Problem with facet categories? [message #208414] |
Mon, 11 February 2008 09:56  |
|
Originally posted by: david_whiteman.us.ibm.com
Hello again,
I'm trying to follow the steps in this article to create categories for
facets:
http://www.eclipse.org/articles/Article-BuildingProjectFacet s/tutorial.html
I discovered that the <category> child element of <project-facet> has
been replaced by <member category="MYID"/>. I also declared a category
with an id of "MYID" as part of the core.facets extension point. As
soon as I do all this, my facet no longer appears in the UI. I comment
out the <member> element and it appears again. Is there a bug in 3.0M4
here, has the usage changed since this article was written, or did I
make a mistake here?
Thanks in advance,
David
|
|
|
|
| Re: Problem with facet categories? [message #208445 is a reply to message #208428] |
Mon, 11 February 2008 10:41   |
|
Originally posted by: david_whiteman.us.ibm.com
Konstantin Komissarchik wrote:
> Take a look at your log. Any usage problems will be reported there.
>
> - Konstantin
Thanks, Konstantin. I checked the log, and there were no usage problems
reported related to categories. Here is what I have:
<extension point="org.eclipse.wst.common.project.facet.core.facets">
<category id="org.eclipse.cosmos.me.dmtoolkit.category">
<label>Foo</label>
<description>Foo bar.</description>
</category>
<project-facet id="org.eclipse.cosmos.me.dmtoolkit.facet">
<label>Bar</label>
<description>This is a description</description>
<member category="org.eclipse.cosmos.me.dmtoolkit.category"/>
</project-facet>
...
</extension>
As soon as I remove <member>, the facet shows up. Do I need to do
anything else to enable a category?
Thanks,
David
|
|
|
|
Powered by
FUDForum. Page generated in 0.01735 seconds