Skip to main content
Jump to: navigation, search

Difference between revisions of "Export-Package"

 
Line 3: Line 3:
 
* Newly added internal packages should not use x-internal exports unless there are very good reasons
 
* Newly added internal packages should not use x-internal exports unless there are very good reasons
 
* For existing packages the x-internal export can be removed with PMC approval
 
* For existing packages the x-internal export can be removed with PMC approval
 +
* Using x-friends is OK and should always be preferred over x-internals. The use of x-friends is an indication of tightly coupled bundles because its use is for when one bundle needs "approved" access to the internals of another bundle.
  
 
[[Category:API]]
 
[[Category:API]]

Latest revision as of 09:38, 15 January 2020

The Eclipse top-level project uses the following convention for the Export-Package manifest attribute:

  • Newly added internal packages should not use x-internal exports unless there are very good reasons
  • For existing packages the x-internal export can be removed with PMC approval
  • Using x-friends is OK and should always be preferred over x-internals. The use of x-friends is an indication of tightly coupled bundles because its use is for when one bundle needs "approved" access to the internals of another bundle.

Back to the top