| Summary: | template in facet extesion point requires deprecated preset element | ||
|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Lee Wang-soo <hivemind02> |
| Component: | Faceted Project Framework | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | RESOLVED WONTFIX | QA Contact: | Konstantin Komissarchik <konstantin> |
| Severity: | trivial | ||
| Priority: | P3 | CC: | ccc |
| Version: | 3.2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
There doesn't appear to be a way to fix this. This hits the limitation of PDE's exsd format not being a full xsd. The preset element that a template expects isn't the top-level preset element that has been deprecated, but there isn't a way to differentiate them in an exsd. Resolving this as WONTFIX as the whole template mechanism has been fading from use for several years now and will eventually be deprecated. |
Build Identifier: M20100909-0800 'template' element in extension-point schema 'org.eclipse.wst.common.project.facet.core.facets' requests 'preset' element. But, 'preset' element is deprecated. Here is schema: <element name="template"> <annotation> <documentation> Declares a template. A template is simply a combination of fixed facets and an optional preset. Templates are used as a guide when creation projects. </documentation> </annotation> <complexType> <sequence> <element ref="label"/> <element ref="fixed" minOccurs="0" maxOccurs="unbounded"/> <element ref="preset"/> </sequence> <attribute name="id" type="string" use="required"> <annotation> <documentation> The template id. </documentation> </annotation> </attribute> </complexType> </element> <element name="preset"> <annotation> <appInfo> <meta.element deprecated="true"/> </appInfo> <documentation> Declares a preset. A preset represents a common configuration of facets and their versions that a user might want to utilize on several projects. Presets can be supplied via this extension point or created by the user. </documentation> </annotation> <complexType> <sequence> <element ref="label"/> <element ref="description" minOccurs="0" maxOccurs="1"/> </sequence> <attribute name="id" type="string" use="required"> <annotation> <documentation> The preset id. </documentation> </annotation> </attribute> </complexType> </element> Reproducible: Always