Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [riena-dev] tips on x-internal and x-friends

Thanks, Elias and Scott!

Tschüß,
Stefan

Scott Lewis wrote:
Hi Elias,

For everyone's info there are some new proposals for provisional API
handling conventions (these aren't for test code as in the cases Elias
discusses below, but are just for your reference):

https://bugs.eclipse.org/bugs/show_bug.cgi?id=261874
http://wiki.eclipse.org/Provisional_API_Guidelines_Update_Proposal

Scott


Elias Volanakis wrote:
  
Two quick tips:

- please don't mixing x-internal with x-friends - x-internal takes
precedence and x-friends is ignored

- x-friends implies x-internal; meaning that the non-friends will get
the "discouraged access" warning

As a rule of the thumb, if you tests your code, you probably want to
use x-friends instead of x-internal

This has the details but in a less clear language:
http://help.eclipse.org/ganymede/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/bundle_manifest.html

I'm chaning a couple of MANIFEST.MFs to reduce the number of
"discouraged access" warnings in the test bundle
(org.eclipse.riena.tests). After all the tests are supposed to test
all the internal stuf ;-)

Greetings,
Elias.
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev

    
_______________________________________________
riena-dev mailing list
riena-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/riena-dev
  


Back to the top