Community
Participate
Working Groups
From bug 232787 comment 14: Reexporting bundles gives troubles with versioning, and is not really in line with OSGi strategies. We should remove the visibility:="reexport" statement from org.eclipse.tm.discovery.edit/Manifest.mf Committers please vote +1 here on the bug if you agree or -1 and explain if you disagree. I'm +1 for it. Javier I'd particularly like your vote as the initial committer of the bundle.
Note that we'll need to rev up tm.discovery.edit from 2.0.100 to 3.0.0 if we make the change since it's a breaking change. Consequently, the discovery feature will also need to go from 2.0.100 to 3.0.0 But I truly cannot see what sense it should make to reexport the EMF stuff that's totally alien to the project.
+1. In general re-exporting should probably be something we don't want to do.
+1
+1. If we can, better avoid "weak" dependencies by re-exporting. Might be not always applicable, but at least a good goal to go for.
Created attachment 101350 [details] Patch fixing the Discovery reexport Attached patch fixes the Discovery Reexport. Note that I've also cleaned up the deprecated "Eclipse-LazyStart:false" entry in the Manifest, and had to rev up the discovery.model.edit version to 3.0 because taking away the reexport is a breaking change. Patch is committed.
Patch committed: [233068][api][breaking] Get rid of EMF reexport in org.eclipse.tm.discovery.model.edit
Created attachment 101352 [details] Patch fixing the FTP reexport A similar problem is in rse.services.files.ftp, which reexports Apache Commons Net. Attached patch gets rid of the reexport.
2nd patch committed: [233068][api][breaking] Get rid of Commons.Net reexport in org.eclipse.rse.services.files.ftp Bug is fixed. DaveD, Rado, Javier -- can any of you place an official bugzilla +1 on a Review flag, thanks.
Summary of API Changes: ----------------------- * Commons.net and EMF are no longer reexported by the rse.services.ftp and tm.discovery.model.edit bundles, respectively. Migration Notes: Clients who see build problem due to missing references from org.apache.commons.net or EMF, need to edit their MANIFEST.MF file and add the relevant Require-bundle: markup there.