|Questions related to org.eclipse.wst.common.project.facet.core.facets extension point [message #682223]
||Fri, 10 June 2011 16:38
Registered: June 2011
I was recently using the org.eclipse.wst.common.project.facet.core.facets extension point in Eclipse Helios. I noticed that I can add a "preset" element as a child element of the "extension point" element. I can also add a "preset" element as a child element of a "template" element of this extension point.
According to the documentation of the extension point, the "preset" element child of the "extension point" element is deprecated, but when I try to use the "preset" element inside the "template" element it shows deprecated warnings too, but it does not says anything about it in the documentation. My question is, are both ways of using the "preset" element deprecated?.
If so, what would be appropriate way to be able to specify a set of fixed project facets and a set of project facet versions in a plugin.xml file? Currently, I am using a facet template to specify a set of fixed project facets, which also points (using the preset element) to a preset that specifies a set of project facet with their versions.
The preset is defined using the org.eclipse.wst.common.project.facet.core.presets extension point.
Powered by FUDForum
. Page generated in 0.03154 seconds