How to remove fixed project facet using API? [message #690976] |
Thu, 30 June 2011 09:49  |
Eclipse User |
|
|
|
Hi all,
I want to use some api to remove a facet from a facetedproject. For example, I want to remove 'test.core' facet from a 'facetedproject', I use
Facetedproject.uninstallProjectFacet(facet, Idatamodel, monitor) to remove the facet. It's partly ok.
in .setting folder of the project, org.eclipse.wst.common.project.facet.core.xml
before uninstall
<fixed facet="test.core"/>
<installed facet="test.core" version="1.0"/>
after uninstall
<fixed facet="test.core"/>
I have removed the facet, but the fixed facet is not removed.
I want to remove it, is there any api for this purpose?
Thanks a lot!
Grid
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05676 seconds