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

Kevin,

 

You can only control which version is selected by default for a given runtime if you are pre-selecting (checking) the facet when the runtime is selected. Let me know if this is your usecase and I will provide more details.

 

We will mostly like need to support “unsupported” tag or some other flavor of a more powerful wildcard mechanism in the future. Go ahead and open an enhancement request for this.

 

Thanks,

 

- Konstantin

 

 


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Kevin Bauer
Sent: Thursday, December 08, 2005 6:07 AM
To: General discussion of project-wide or architectural issues.
Subject: RE: [wtp-dev] Facet targeted at a specific runtime

 


Konstantin,

Is there anyway to set which version is the default facet version for a specific runtime?  

Do you see supporting a scenario like this in a future version, perhaps through an unsupported tag or other mechanism?  Should I open a defect/feature request for this?



RAD Developers,

Do we have a list of all the runtime IDs that will be supported for RAD V7.

Thanks,

Kevin Bauer


"Konstantin Komissarchik" <kosta@xxxxxxx>
Sent by: wtp-dev-bounces@xxxxxxxxxxx

12/08/2005 08:57 AM

Please respond to
"General discussion of project-wide or architectural issues."

To

"General discussion of project-wide or architectural issues." <wtp-dev@xxxxxxxxxxx>

cc

 

Subject

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
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev


Back to the top