Hi,

Take a look at
http://www.eclipse.org/articles/Article-BuildingProjectFacets/tutorial.html...
 look at section "Specifying Constraints".

Hope that helps.

Eric D. Peters, P. Eng.
WebSphere Web Services Tools
IBM Canada Lab- Toronto Site, D3/RST/8200/MKM
Phone: (905)413-2139, Tie-Line: 313-2139
Internet: [email protected]



                                                                       
  From:       "Raev, Kaloyan" <[email protected]>                   
                                                                       
  To:         "General discussion of project-wide or architectural issues." 
<[email protected]>
                                                                       
  Date:       06/30/2010 12:39 PM                                      
                                                                       
  Subject:    [wtp-dev] How to declare that a runtime does not support a facet  
version?
                                                                       
  Sent by:    [email protected]                              
                                                                       





Hi,

I can declare in the facet framework that a runtime supports certain set of
facet versions. But I cannot find a way to explicitly declare that the
runtime does not support a certain facet version.

My specific problem is with the JPA 2.0 facet version. Our (SAP) runtime
does not support JPA 2.0 yet, only JPA 1.0. I need to declare that the JPA
2.0 facet version is not a valid one for the SAP runtime. Somehow, the JPA
facet is declared as generally supported and all its versions are assumed
supported by all runtimes.

My goal is to have the following call returns ?false?:

sapRuntime.supports(<jpa-2.0>);

Thanks,
Kaloyan Raev
Senior Developer
TD Core JS App Model & Dev
SAP Labs Bulgaria
136A Tzar Boris 3 blvd.
1618 Sofia, Bulgaria
T +359 2 9157-416
mailto:[email protected]
www.sap.com
Save a tree - please do not print this email unless you really need to.


 _______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to