Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-dev] Facet targeted at a specific runtime

By using the <runtime-component any="true"/> wildcard you are indicating that version 1.1 is supported by all runtimes including WAS V5.1. The only way you could currently get versions 1.1 to not show up for WAS V5.1 is to explicitly list the runtimes it is supported on instead of using the wildcard.

 

- Konstantin

 


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Kevin Bauer
Sent: Thursday, December 08, 2005 4:12 AM
To: wtp-dev@xxxxxxxxxxx
Subject: [wtp-dev] Facet targeted at a specific runtime

 


I would like a version of my facet to target a specific runtime (WAS V5.1) and another version of my facet target any other version that meats the minimum J2EE level.

based on an example I did something like...

 <extension
                   point="org.eclipse.wst.common.project.facet.core.runtimes">
    <supported>
    <runtime-component id="com.ibm.ws.ast.st.runtime" version="5.1" />
            <facet id="myfacet.id" version="1.0"/>
    </supported>
    <!--Otherwise-->
    <supported>
      <runtime-component any="true"/>
      <facet id="myfacet.id" version="1.1"/>
    </supported>
 </extension>

In the new Web Project wizard I only see the 1.0 version of my facet as an option when I target the V5.1 runtime, but I also see the version 1.1 of my facet (not only shown as an option but selected by default).

Is there a way to stop facet version 1.1 from appearing as an option for this runtime?

Thanks,

Kevin Bauer
kmbauer@xxxxxxxxxx
Developer Eclipse Web Tooling
External (919)254-0265 TL 444-0265


Back to the top