|
|
|
Re: 3.2 Migration Question [message #171541 is a reply to message #171501] |
Fri, 16 June 2006 21:21 |
|
Lenora wrote:
> I am migrating my plugin from eclipse 3.1.2 to 3.2. My current versions
> are:
> Eclipse Platform
> Version: 3.2.0.v20060525a-_OZ2g6CPhlzUdGe
> Build id: I20060526-0010
>
> Web Standard Tools
> Version: 1.5.0.v200605221430-U-z2nUPIcqVPbf1
> Build id: 200605310507
>
> I use the org.eclipse.wst.common.project.facet.core.facets extension
> point, but receive the following errors:
> Element 'facet' is not legal as a child of element 'preset'.
> Element 'fixed' is not legal as a child of element 'template'.
>
> The schema does not appear to have changed and I see no reference to
> this in the Migration Guide I managed to dig up. What am I missing?
>
> Here is the snippet from plugin.xml
> <preset id="abc">
> <label>%abcPRESET</label>
> <facet id="jst.java" version="5.0"/> <facet
> id="jst.web" version="2.3"/>
> <facet id="myID" version="1.0"/>
> <facet id="com.ibm.websphere.coexistence.web" version="6.1"/>
> <facet id="com.ibm.websphere.extended.web" version="6.1"/>
> </preset> <template id="def">
> <label>%defTEMPLATE</label>
> <fixed facet="jst.java"/> <fixed
> facet="jst.utility"/>
> <fixed facet="myID"/>
> </template>
Reading the reference for the
org.eclipse.wst.common.project.facet.core.facets extension, it
declares that "preset" may only have one child "facet" element and
that "template" elements may only have one "fixed" child element.
The warnings sound valid to me.
--
- Nitin
_
Nitin Dahyabhai
Eclipse Web Tools Platform
|
|
|
Powered by
FUDForum. Page generated in 0.03819 seconds