[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [Wtp-wst-dev] question about setting the runtime to support certain project fac et
|
Hi Amy,
That all looks ok to me, so unless someone
else notices anything you'll need to debug through the code or open a bugzilla
(against wst.common) to track this. I did hear an odd report today from
someone who had problems when the <supported> element contained more
than one <facet>, but that seems like a long shot since we're doing
that within WTP.
Thanks,
Tim deBoer
WebSphere Tools - IBM Canada Ltd.
deboer@xxxxxxxxxx
Amy Wong <Amy.w@xxxxxxxxxxxx>
Sent by: wtp-wst-dev-bounces@xxxxxxxxxxx
10/01/2007 02:54 AM
Please respond to
"Web Standard Tools developer discussions." <wtp-wst-dev@xxxxxxxxxxx> |
|
To
| wtp-wst-dev@xxxxxxxxxxx
|
cc
|
|
Subject
| [Wtp-wst-dev] question about setting
the runtime to support certain project
fac et |
|
Hi,
I am creating a new plug-in that contains
a new server runtime.
How would I make the new server runtime support certain project facet?
I have defined these extension in the plugin.xml:
<extension
point="org.eclipse.wst.common.project.facet.core.runtimes">
<runtime-component-type
id="new.server"/>
<runtime-component-version
type="new.server"
version="8.1"/>
<adapter>
<runtime-component
id="new.server"/>
<factory
class="org.eclipse.jst.server.core.internal.RuntimeClasspathProvider$Factory"/>
<type
class="org.eclipse.jst.common.project.facet.core.IClasspathProvider"/>
</adapter>
<supported>
<runtime-component
id="new.server"
version="8.1"/>
<facet
id="jst.web"
version="2.3,2.4"/>
<facet
id="jst.ejb"
version="1.2,
1.3, 1.4, 2.2, 2.3, 2.4"/>
<facet
id="jst.ear"
version="1.2,
1.3, 1.4, 2.2, 2.3, 2.4"/>
<facet
id="jst.utility"
version="1.0"/>
</supported>
</extension>
<extension
point="org.eclipse.jst.server.core.runtimeFacetMappings">
<runtimeFacetMapping
runtimeTypeId="new.runtime.81"
runtime-component="new.server"
version="8.1"/>
</extension>
But I still run into the
problem: "Runtime New Server does not support project facet Dynamic
Web Module 2.4"
Am I missing anything in the plugin.xml?
Cheers,
Amy _______________________________________________
wtp-wst-dev mailing list
wtp-wst-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-wst-dev