Bug 394739 - Remove org.eclipse.core.runtime.compatibility* bundles
Summary: Remove org.eclipse.core.runtime.compatibility* bundles
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.2   Edit
Hardware: All All
: P3 blocker (vote)
Target Milestone: 4.6 M3   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 474820 (view as bug list)
Depends on: 441848 445484 459775 462201 464802 467667 473947 474796 478667
Blocks: 468000 478605 478771 479233 483950 507886
  Show dependency tree
 
Reported: 2012-11-21 03:00 EST by Krzysztof Daniel CLA
Modified: 2016-11-21 10:37 EST (History)
19 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Daniel CLA 2012-11-21 03:00:31 EST
Since I remember, they have been always in Eclipse. It looks like they have been introduced to support Eclipse 2.0 model, and has been marked as @deprecated in 2004 (actually TODO: @deprecated was replaced with @deprecated at that time).

If it happens there is someone that uses those plugins, they should either migrate to 3.x style or include those bundles into their features.
Comment 1 Lars Vogel CLA 2012-11-21 03:26:07 EST
+1 Cleanup work is good
Comment 2 Dani Megert CLA 2012-11-27 03:13:32 EST
AFAIK, at least PDE is still using this.
Comment 3 John Arthorne CLA 2012-11-27 12:04:32 EST
Yes we already decided to remove this API (see bug 370248) we currently have a policy of giving two years advance notice of removals so this can be done in 2014. Meanwhile it is not doing much harm and has little/no effect if you are not using it.

I will keep this bug open to track the actual removal.
Comment 4 Lars Vogel CLA 2014-02-06 09:20:14 EST
Two years are over, can we remove them for Luna?

https://git.eclipse.org/r/21622
Comment 5 David Williams CLA 2014-02-06 10:25:43 EST
I'm all for removing it (them?) 

I did not see org.eclipse.core.runtime.compatibility.auth used anywhere (in pom or feature.xml files ... so it could probably just be removed from master branch ... make sure some version of it has a clean 'tag' so we can document "last used version" here. 

But, the other two, I see in many poms and feature.xmls ... so will take a coordinated effort. (The ones in p2.tests may be pre-compiled versions, used to test compatibility with previous releases, so not sure they need to be removed. 


org.eclipse.equinox.p2.tests
org.eclipse.help.webapp
org.eclipse.pde.build
org.eclipse.platform-feature
org.eclipse.test-feature

eclipse.platform.common/bundles/org.eclipse.platform.doc.isv/pom.xml:                      <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.common/bundles/org.eclipse.jdt.doc.isv/pom.xml:                      <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.common/bundles/org.eclipse.jdt.doc.user/pom.xml:                      <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.common/bundles/org.eclipse.platform.doc.user/pom.xml:                      <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.common/bundles/org.eclipse.pde.doc.user/pom.xml:                      <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility/pom.xml:  <artifactId>org.eclipse.core.runtime.compatibility</artifactId>
eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility.registry/pom.xml:  <artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>
eclipse.platform.runtime/bundles/org.eclipse.core.runtime.compatibility.auth/pom.xml:  <artifactId>org.eclipse.core.runtime.compatibility.auth</artifactId>
eclipse.platform.runtime/pom.xml:    <module>bundles/org.eclipse.core.runtime.compatibility</module>
eclipse.platform.runtime/pom.xml:    <module>bundles/org.eclipse.core.runtime.compatibility.registry</module>
rt.equinox.framework/bundles/org.eclipse.osgi.tests/pom.xml:              <artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>
Comment 6 David Williams CLA 2014-02-06 10:31:01 EST
Added Tom Watson, Ian, and Pascal to CC list ... Dani and John are already on it ... so please "weigh in" on when you think best time is to have a "coordinated removal".
Comment 7 Dani Megert CLA 2014-02-06 10:34:39 EST
(In reply to David Williams from comment #6)
> Added Tom Watson, Ian, and Pascal to CC list ... Dani and John are already
> on it ... so please "weigh in" on when you think best time is to have a
> "coordinated removal".

We are all very busy, so, I'd prefer to avoid such swirls unless it is something with a big impact, e.g. getting performance tests up and running again.
Comment 8 David Williams CLA 2014-02-06 11:06:36 EST
(In reply to Dani Megert from comment #7)
> (In reply to David Williams from comment #6)
> > Added Tom Watson, Ian, and Pascal to CC list ... Dani and John are already
> > on it ... so please "weigh in" on when you think best time is to have a
> > "coordinated removal".
> 
> We are all very busy, so, I'd prefer to avoid such swirls unless it is
> something with a big impact, e.g. getting performance tests up and running
> again.

I think there is little connection to performance tests effort ... except I will say the more "technical debt" we carry along, the harder it is to do "releng work" ... though in this case, as I said, little impact, one way or the other on that specific issue. 

Though it is always interesting to see before and after performance differences :)
Comment 9 Alexander Kurtakov CLA 2014-02-06 12:10:41 EST
If org.eclipse.core.runtime.compatibility.auth is removable without work can't it be removed and the rest left for later and interested people can look into reducing references to org.eclipse.core.runtime.compatibility for later removal?
Comment 10 Thomas Watson CLA 2014-02-06 12:19:53 EST
(In reply to David Williams from comment #5)
> rt.equinox.framework/bundles/org.eclipse.osgi.tests/pom.xml:             
> <artifactId>org.eclipse.core.runtime.compatibility.registry</artifactId>

I'm pretty sure this can be removed from the osgi.tests pom.xml.  Perhaps I should just do it and see if the tests break.  But I must say I don't understand what this part of the pom.xml is doing and I don't see similar sections in other test project pom.xml files.  It seems to be indicating the testSuite, testClass and the dependencies needed to run it?
Comment 11 Pascal Rapicault CLA 2014-02-06 19:16:48 EST
To proceed with the removal, my recommendation would be the following:
1 - remove the plugin from the build
2 - keep it in the repo and and aggregation - just in case some legacy plug-in need it
3 - add a way to track the download stat of this plugin so we know if it is ever used (though I suspect we would end up seeing "usage" because of ppl doing mirrors of repos for internal builds)
Comment 12 David Williams CLA 2014-02-06 21:18:28 EST
(In reply to Pascal Rapicault from comment #11)
> To proceed with the removal, my recommendation would be the following:
> 1 - remove the plugin from the build
> 2 - keep it in the repo and and aggregation - just in case some legacy
> plug-in need it
> 3 - add a way to track the download stat of this plugin so we know if it is
> ever used (though I suspect we would end up seeing "usage" because of ppl
> doing mirrors of repos for internal builds)

I sympathize with your goals of protecting adopter's investments, but a) this starts to sound like more of work (for me) and b) sounds counter to the concept of deprecating an API and removing it two years later. 

I think it would suffice that if someone needed it, they could get it from an old repository ... such as from Kepler. (4.3.x). 

[Granted ... I know little about its technical aspects, but assuming it's not changed at all in two years.]
Comment 13 Lars Vogel CLA 2014-02-07 04:55:46 EST
(In reply to Alexander Kurtakov from comment #9)
> If org.eclipse.core.runtime.compatibility.auth is removable without work
> can't it be removed and the rest left for later and interested people can
> look into reducing references to org.eclipse.core.runtime.compatibility for
> later removal?

Updated my Gerrit review to remove only org.eclipse.core.runtime.compatibility.auth

https://git.eclipse.org/r/#/c/21622/

For the other two plug-ins, I agree we should try to reduce their usage over time so that we finally can delete them.
Comment 14 Pascal Rapicault CLA 2014-02-07 14:30:41 EST
> I sympathize with your goals of protecting adopter's investments, but a)
> this starts to sound like more of work (for me) and b) sounds counter to the
> concept of deprecating an API and removing it two years later. 
  I'm not trying to protect the adopters as much as the users. In the end there are still a lot of plugins out there that are no longer maintained but still install properly and could have added a dependency on this.

But if it is too much work on the releng side, let's remove it purely and simply. After all this plugin does not contain much interesting content, and its content was something that was not really used anyway.
Comment 15 David Williams CLA 2014-02-09 13:48:38 EST
Now that I've successfully advocated the removal of these "compatibility" bundles ... maybe I should ask, "what are they for"? :) 

I'm assuming these are for the "Eclipse 2.x" era bundles that have to be converted to OSGi bundles "on the fly". 

If that's not the case, let me know. 

(I thought of asking for better understanding since I realized some people still partially count on the old "site.xml" update sites ... and wanted to be sure that's not what this was about ... that support is still "in", right? And, even if it wasn't, that'd be ok ... but then I would just want to be sure some specific projects were made aware of it, so they could adjust, if they haven't already). 

Thanks,
Comment 16 Lars Vogel CLA 2014-02-09 14:33:31 EST
(In reply to David Williams from comment #15)
> Now that I've successfully advocated the removal of these "compatibility"
> bundles ... maybe I should ask, "what are they for"? :) 
> 
> I'm assuming these are for the "Eclipse 2.x" era bundles that have to be
> converted to OSGi bundles "on the fly". 

IMHO this is correct. AFAIK these are to run unmodified Eclipse 2.x components on top of Eclipse 3.x / 4.x.
Comment 17 Pascal Rapicault CLA 2014-02-09 19:24:57 EST
It also includes the 2.x API that exposed the content of the plugin.xml, or the bootstrap API.
Comment 18 Thomas Watson CLA 2014-02-10 08:53:22 EST
(In reply to David Williams from comment #15)
> I'm assuming these are for the "Eclipse 2.x" era bundles that have to be
> converted to OSGi bundles "on the fly". 
> 

These particular bundles do not do any converting of OSGi bundles "on the fly".  As Pascal mentioned, they are providing old API impls from Eclipse 2.0.
Comment 19 Lars Vogel CLA 2014-02-11 10:13:44 EST
(In reply to Lars Vogel from comment #13)
> Updated my Gerrit review to remove only
> org.eclipse.core.runtime.compatibility.auth
> 
> https://git.eclipse.org/r/#/c/21622/

Any objections to delete the not used org.eclipse.core.runtime.compatibility.auth plug-in? If not I remove it within the next days.
Comment 20 Lars Vogel CLA 2014-04-01 04:10:35 EDT
org.eclipse.core.runtime.compatibility.auth deleted with https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=9c85295f0b0431a27bf4108ae28cf25fc3f7dec4
Comment 21 Matthieu Wipliez CLA 2014-04-01 10:47:59 EDT
(In reply to Pascal Rapicault from comment #14)
>   I'm not trying to protect the adopters as much as the users. In the end
> there are still a lot of plugins out there that are no longer maintained but
> still install properly and could have added a dependency on this.
> 
> But if it is too much work on the releng side, let's remove it purely and
> simply. After all this plugin does not contain much interesting content, and
> its content was something that was not really used anyway.

I find it kind of hard to believe that there are many users still using the same old unmaintained plugins, have been using them for the past 10 years, but are also using up-to-date Eclipse releases. And it's not like they are forced to update Eclipse anyway :-)

So either they are really interested in those plugins and having them work on Luna, and do something so that they or someone else update them (I don't expect that removing calls/dependencies to a deprecated API would be too hard to do, unless these plugins were doing something dirty in the first place); or they don't update to Luna; or they stop using outdated plugins.
Comment 22 Szymon Ptaszkiewicz CLA 2014-07-09 12:59:18 EDT
(In reply to Lars Vogel from comment #20)
> org.eclipse.core.runtime.compatibility.auth deleted with
> https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/
> ?id=9c85295f0b0431a27bf4108ae28cf25fc3f7dec4

This fix is not complete because there are still references to org.eclipse.core.runtime.compatibility.auth (e.g. in org.eclipse.core.runtime\META-INF\MANIFEST.MF and also in other places) so these should be removed as well before closing this bug.
Comment 23 Lars Vogel CLA 2014-07-10 02:45:47 EDT
(In reply to Szymon Ptaszkiewicz from comment #22)
> This fix is not complete because there are still references to
> org.eclipse.core.runtime.compatibility.auth (e.g. in
> org.eclipse.core.runtime\META-INF\MANIFEST.MF and also in other places) so
> these should be removed as well before closing this bug.

Removed MANIFEST.MF dependency in core.runtime with https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=ca4583e3db44b095c9c9bbb852a09cf58efd7686

> and also in other places
Let me know if you see more usages, I could not find any.

I think we can now also simplify AuthorizationHandler, I open Bug 439315 for that.
Comment 24 Szymon Ptaszkiewicz CLA 2014-07-10 11:42:33 EDT
(In reply to Lars Vogel from comment #23)
> Let me know if you see more usages, I could not find any.

You can run full text search with "org.eclipse.core.runtime.compatibility.auth" as the query against repos listed here http://download.eclipse.org/eclipse/downloads/drops4/N20140709-2000/directory.txt Then you will know if there is any remaining reference in SDK.
Comment 25 Markus Keller CLA 2014-07-14 13:13:59 EDT
And the service segment of modified bundles needs to be set to the next hundred (for bundles that have not yet been touched for Mars):
https://wiki.eclipse.org/Version_Numbering#When_to_change_the_service_segment
Releng Tools will also tell you where to update the pom.xml.
Comment 26 Lars Vogel CLA 2014-08-15 05:07:26 EDT
Remove org.eclipse.core.runtime.compatibility from org.eclipse.ui.tests with https://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=947977b7bc4ca8d6792f36a6d8253f05f4927a7b
Comment 27 Mat Booth CLA 2015-02-10 07:54:11 EST
Hi Lars,

I would like to start submitting patches towards this bug as noted on bug 419524 :-)
Comment 28 Lars Vogel CLA 2015-02-12 14:30:09 EST
(In reply to Mat Booth from comment #27)
> Hi Lars,
> 
> I would like to start submitting patches towards this bug as noted on bug
> 419524 :-)

Eagerly awaiting your deletion patches. :-)
Comment 29 Eclipse Genie CLA 2015-02-16 11:19:39 EST
New Gerrit change created: https://git.eclipse.org/r/41944
Comment 30 Mat Booth CLA 2015-02-16 11:21:08 EST
(In reply to Eclipse Genie from comment #29)
> New Gerrit change created: https://git.eclipse.org/r/41944

This is a small patch to remove usage of core.runtime.compat bundles in eclipse.platform.ui.
Comment 32 Lars Vogel CLA 2015-02-16 12:00:11 EST
(In reply to Mat Booth from comment #30)
> (In reply to Eclipse Genie from comment #29)
> > New Gerrit change created: https://git.eclipse.org/r/41944
> 
> This is a small patch to remove usage of core.runtime.compat bundles in
> eclipse.platform.ui.

Thanks Mat. Merged
Comment 33 Eclipse Genie CLA 2015-02-16 13:34:21 EST
New Gerrit change created: https://git.eclipse.org/r/41954
Comment 34 Mat Booth CLA 2015-02-16 13:35:52 EST
(In reply to Eclipse Genie from comment #33)
> New Gerrit change created: https://git.eclipse.org/r/41954

Another small patch to remove usage of core.runtime.compat bundles, but in eclipse.platform.resources this time.
Comment 36 Eclipse Genie CLA 2015-02-18 00:45:06 EST
New Gerrit change created: https://git.eclipse.org/r/42093
Comment 37 Lars Vogel CLA 2015-02-18 00:47:32 EST
I see that Andrey tried to update the bundles we are planning to remove in Bug 460048. I think we should go ahead and delete them.

https://git.eclipse.org/r/42093

Mat, can you search for remaining references and remove them? They should be optional so even if we delete the bundles this should not affect the build (in theory). (Shame that the runtime Gerrit build trigger still does not work).
Comment 38 Lars Vogel CLA 2015-02-18 04:16:34 EST
The following command does not find any more references if I run it in the eclipse.platform.releng.aggregator repo:

find . -name "*" | grep "org.eclipse.core.runtime.compatibility*"
Comment 40 Lars Vogel CLA 2015-02-18 04:17:47 EST
(In reply to Eclipse Genie from comment #39)
> Gerrit change https://git.eclipse.org/r/42093 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/
> ?id=067e83f6967052939fe599e6ff5bda3dbbfa2a63

This removes the bundles. Marking this bug as fixed. Thanks Mat for the help.
Comment 41 Alexander Kurtakov CLA 2015-02-18 04:32:53 EST
Please remove references to the bundles in eclipse.platform.runtime/pom.xml too. This way it breaks maven builds.
Comment 42 Eclipse Genie CLA 2015-02-18 04:50:49 EST
New Gerrit change created: https://git.eclipse.org/r/42103
Comment 43 Lars Vogel CLA 2015-02-18 04:56:07 EST
(In reply to Alexander Kurtakov from comment #41)
> Please remove references to the bundles in eclipse.platform.runtime/pom.xml
> too. This way it breaks maven builds.

Thanks. Looks like I have to work on my not so awesome Linux command line skills.

grep -r "org.eclipse.core.runtime.compatibility"

shows still several references.
Comment 44 Eclipse Genie CLA 2015-02-18 05:01:23 EST
New Gerrit change created: https://git.eclipse.org/r/42107

WARNING: this patchset contains 9212 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 45 Eclipse Genie CLA 2015-02-18 05:01:36 EST
Gerrit change https://git.eclipse.org/r/42107 was merged to [master].
Commit: http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=cc69be4018d62f40622df355aa9728c719c78c7b

WARNING: this patchset contains 9212 new lines of code and may require a Contribution Questionnaire (CQ) if the author is not a committer on the project. Please see:https://wiki.eclipse.org/Project_Management_Infrastructure/Creating_A_Contribution_Questionnaire
Comment 46 Lars Vogel CLA 2015-02-18 05:02:58 EST
(In reply to Lars Vogel from comment #43)
> grep -r "org.eclipse.core.runtime.compatibility"
> shows still several references.

I restored the bundles so that we can safely remove all references to them before deleting them. Sorry for the noise.
Comment 47 Eclipse Genie CLA 2015-02-18 06:32:56 EST
New Gerrit change created: https://git.eclipse.org/r/42113
Comment 48 Mat Booth CLA 2015-02-18 06:35:48 EST
(In reply to Eclipse Genie from comment #47)
> New Gerrit change created: https://git.eclipse.org/r/42113

Remove references from "eclipse.platform.team" project.
Comment 50 Eclipse Genie CLA 2015-02-20 09:12:53 EST
New Gerrit change created: https://git.eclipse.org/r/42296
Comment 51 Eclipse Genie CLA 2015-02-20 09:13:11 EST
New Gerrit change created: https://git.eclipse.org/r/42297
Comment 54 Szymon Ptaszkiewicz CLA 2015-02-21 08:19:04 EST
(In reply to Eclipse Genie from comment #35)
> Gerrit change https://git.eclipse.org/r/41954 was merged to [master].
> Commit:
> http://git.eclipse.org/c/platform/eclipse.platform.resources.git/commit/
> ?id=46af2891d781be3a29987d296edae97d13d93877

Mat, this one needs more work. The commit removed dependency on org.eclipse.core.runtime.compatibility but now the project violates the javadoc rule for IPluginRegistry and IPluginDescriptor: "This interface must only be used by plug-ins which explicitly require the org.eclipse.core.runtime.compatibility plug-in." Can you please provide a follow up patch to fix this? Thanks!
Comment 55 Eclipse Genie CLA 2015-02-22 16:17:31 EST
New Gerrit change created: https://git.eclipse.org/r/42383
Comment 56 Mat Booth CLA 2015-02-22 16:24:04 EST
(In reply to Eclipse Genie from comment #55)
> New Gerrit change created: https://git.eclipse.org/r/42383

Hi Szymon, you're absolutely right. I submitted this change to fix the tests.resources.saveparticipant plug-ins.
Comment 57 Lars Vogel CLA 2015-03-08 03:53:02 EDT
(In reply to Mat Booth from comment #56)
> Hi Szymon, you're absolutely right. I submitted this change to fix the
> tests.resources.saveparticipant plug-ins.

Please see the Szymons comments in the review and update it.
Comment 59 Eclipse Genie CLA 2015-03-19 10:34:42 EDT
New Gerrit change created: https://git.eclipse.org/r/44171
Comment 60 Sergey Prigogin CLA 2015-03-19 10:37:17 EDT
(In reply to Eclipse Genie from comment #59)
The commit reverted in observance of the M6 week. Will resubmit once M6 is out.
Comment 62 Eclipse Genie CLA 2015-03-19 10:39:09 EDT
New Gerrit change created: https://git.eclipse.org/r/44172
Comment 63 David Williams CLA 2015-03-19 12:07:02 EDT
(In reply to Sergey Prigogin from comment #60)
> (In reply to Eclipse Genie from comment #59)
> The commit reverted in observance of the M6 week. Will resubmit once M6 is
> out.

Thank you! (I was just getting ready to ask :)
Comment 65 Sergey Prigogin CLA 2015-03-21 05:13:44 EDT
(In reply to Eclipse Genie from comment #64)
Resubmitted.
Comment 66 Andrey Loskutov CLA 2015-04-06 08:15:51 EDT
(In reply to Lars Vogel from comment #46)
> (In reply to Lars Vogel from comment #43)
> > grep -r "org.eclipse.core.runtime.compatibility"
> > shows still several references.
> 
> I restored the bundles so that we can safely remove all references to them
> before deleting them. Sorry for the noise.

Lars, what is the state of the patch? What is need to be done?
Is it true that what need to be removed are the plugins below?

org.eclipse.core.runtime.compatibility
org.eclipse.core.runtime.compatibility.registry

I'm missing something? Should I create removal patch?
Comment 67 Mat Booth CLA 2015-04-07 05:16:46 EDT
(In reply to Andrey Loskutov from comment #66)
> (In reply to Lars Vogel from comment #46)
> > (In reply to Lars Vogel from comment #43)
> > > grep -r "org.eclipse.core.runtime.compatibility"
> > > shows still several references.
> > 
> > I restored the bundles so that we can safely remove all references to them
> > before deleting them. Sorry for the noise.
> 
> Lars, what is the state of the patch? What is need to be done?
> Is it true that what need to be removed are the plugins below?
> 
> org.eclipse.core.runtime.compatibility
> org.eclipse.core.runtime.compatibility.registry
> 
> I'm missing something? Should I create removal patch?

There are still some usages that need to be removed first. See, for example, bug 462201

At this point, I'd say that these can't be removed before Mars.
Comment 68 Lars Vogel CLA 2015-07-30 11:50:26 EDT
Sopot, you assigned that bug to you. What is the status here? Can you remove the bundles? The old code seems to cause NPEs, see Bug 473929.
Comment 69 Nobody - feel free to take it CLA 2015-07-30 12:11:14 EDT
(In reply to Lars Vogel from comment #68)
> Sopot, you assigned that bug to you. What is the status here? Can you remove
> the bundles? The old code seems to cause NPEs, see Bug 473929.

Yes I took this over from Mat but just started to look at it this afternoon and I'm skimming through the history of the bug.
Comment 70 Lars Vogel CLA 2015-08-11 11:10:04 EDT
Sopot, all prerequisites are resolved, I think you can go ahead and remove these bundles.
Comment 71 Lars Vogel CLA 2015-08-12 12:05:59 EDT
*** Bug 474820 has been marked as a duplicate of this bug. ***
Comment 72 Nobody - feel free to take it CLA 2015-08-25 08:11:00 EDT
(In reply to Lars Vogel from comment #70)
> Sopot, all prerequisites are resolved, I think you can go ahead and remove
> these bundles.

I'm getting a warning to bump the version of org.eclipse.core.runtime(In reply to Lars Vogel from comment #70)
> Sopot, all prerequisites are resolved, I think you can go ahead and remove
> these bundles.

I get an error which wants me to bump the major version of org.eclipse.core.runtime to 4 because of the API breakage. That in turn has some complications as platform.ui bundles have the [.., 4.0) version constraint. I'll investigate a bit further.
Comment 73 Szymon Ptaszkiewicz CLA 2015-08-25 08:19:18 EDT
(In reply to Sopot Cela from comment #72)
> I get an error which wants me to bump the major version of
> org.eclipse.core.runtime to 4 because of the API breakage. That in turn has
> some complications as platform.ui bundles have the [.., 4.0) version
> constraint. I'll investigate a bit further.

I kept getting similar problems locally for different plugins which seems to be caused by bug 449102. In general, strange things happen in your workspace when you use I20150818-0800 so I think it's better to wait for today's I-build and test on it before you commit anything.
Comment 74 Lars Vogel CLA 2015-08-25 10:37:05 EDT
(In reply to Sopot Cela from comment #72)
> I get an error which wants me to bump the major version of
> org.eclipse.core.runtime to 4 because of the API breakage. That in turn has
> some complications as platform.ui bundles have the [.., 4.0) version
> constraint. I'll investigate a bit further.

If this remains I would suggest to use an API filter for these messages. The support for these plug-ins has long been terminated.
Comment 75 Nobody - feel free to take it CLA 2015-08-26 10:52:24 EDT
Ok the new I-build doesn't seem to show the error to require the major bump.

I'll split this in two gerrits for two repos:

- platform.runtime which will delete bundles and update the poms
- platform.releng which will update the features

Patchsets incoming.
Comment 76 Eclipse Genie CLA 2015-08-26 10:53:18 EDT
New Gerrit change created: https://git.eclipse.org/r/54595
Comment 77 Eclipse Genie CLA 2015-08-26 10:53:41 EDT
New Gerrit change created: https://git.eclipse.org/r/54596
Comment 78 Lars Vogel CLA 2015-08-26 10:54:15 EDT
(In reply to Sopot Cela from comment #75)
> - platform.runtime which will delete bundles and update the poms
> - platform.releng which will update the features

Do we have to sync the release of both patches to avoid a build breakage?
Comment 79 Nobody - feel free to take it CLA 2015-08-26 10:57:50 EDT
(In reply to Lars Vogel from comment #78)
> (In reply to Sopot Cela from comment #75)
> > - platform.runtime which will delete bundles and update the poms
> > - platform.releng which will update the features
> 
> Do we have to sync the release of both patches to avoid a build breakage?

I think so, though I have no idea how to do that.
Comment 80 David Williams CLA 2015-08-26 11:43:07 EDT
(In reply to Sopot Cela from comment #79)
> (In reply to Lars Vogel from comment #78)
> > (In reply to Sopot Cela from comment #75)
> > > - platform.runtime which will delete bundles and update the poms
> > > - platform.releng which will update the features
> > 
> > Do we have to sync the release of both patches to avoid a build breakage?
> 
> I think so, though I have no idea how to do that.

Should be removed from features, first. That won't break the build.
Comment 82 David Williams CLA 2015-08-26 11:54:03 EDT
(In reply to David Williams from comment #80)
> (In reply to Sopot Cela from comment #79)
> > (In reply to Lars Vogel from comment #78)
> > > (In reply to Sopot Cela from comment #75)
> > > > - platform.runtime which will delete bundles and update the poms
> > > > - platform.releng which will update the features
> > > 
> > > Do we have to sync the release of both patches to avoid a build breakage?
> > 
> > I think so, though I have no idea how to do that.
> 
> Should be removed from features, first. That won't break the build.

Be sure you check "docs" too (if you haven't already).
Comment 83 Eclipse Genie CLA 2015-08-26 17:56:33 EDT
New Gerrit change created: https://git.eclipse.org/r/54633
Comment 84 Mat Booth CLA 2015-08-26 17:57:24 EDT
(In reply to Eclipse Genie from comment #83)
> New Gerrit change created: https://git.eclipse.org/r/54633

This change removes references to the compat bundles from the platform javadoc generation options.
Comment 86 Eclipse Genie CLA 2015-08-27 07:14:14 EDT
New Gerrit change created: https://git.eclipse.org/r/54675
Comment 89 Eclipse Genie CLA 2015-08-28 02:49:59 EDT
New Gerrit change created: https://git.eclipse.org/r/54739
Comment 91 Dani Megert CLA 2015-08-30 03:24:42 EDT
There's more fallout from those changes:

1. 2 test failures in PreferenceExportTest
http://download.eclipse.org/eclipse/downloads/drops4/N20150829-1500/testresults/html/org.eclipse.core.tests.runtime_linux.gtk.x86_64_8.0.html

There are still references to Platform.getPlugin(String) in the SDK

org.eclipse.ui.actions.CopyProjectAction.getPlugin()
org.eclipse.ui.views.bookmarkexplorer.BookmarkNavigator.getPlugin()
org.eclipse.ui.views.tasklist.TaskList.getPlugin()
org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(Object, String)
org.eclipse.ui.texteditor.WorkbenchChainedTextFontFieldEditor.startPropagate(IPreferenceStore, String)
org.eclipse.core.tests.runtime.PreferenceExportTest.tearDown()
org.eclipse.core.tests.runtime.PreferenceExportTest.testExportEmptyPreference()
org.eclipse.core.tests.runtime.PreferenceExportTest.testKeyIdentityAfterExport()
org.eclipse.ui.editors.text.TextEditorPreferencePage.TextEditorPreferencePage()

which now returns 'null' and causes lots of issues. Those things need to get fixed ASAP.


2. BuildTests.testJavadocLogs fails:
javadoc: warning - No source files for package org.eclipse.core.runtime.model
javadoc: warning - No source files for package org.eclipse.core.runtime.model
2 warnings
Comment 92 Dani Megert CLA 2015-08-30 03:35:24 EDT
(In reply to Dani Megert from comment #91)
> There's more fallout from those changes:
> There are still references to Platform.getPlugin(String) in the SDK

This is most likely also the cause for all the test failures in the ui.tests:

http://download.eclipse.org/eclipse/downloads/drops4/N20150829-1500/testresults/html/org.eclipse.ui.tests_linux.gtk.x86_64_8.0.html
Comment 93 Eclipse Genie CLA 2015-08-30 11:56:51 EDT
New Gerrit change created: https://git.eclipse.org/r/54852
Comment 95 Eclipse Genie CLA 2015-08-31 10:06:30 EDT
New Gerrit change created: https://git.eclipse.org/r/54907
Comment 96 Eclipse Genie CLA 2015-08-31 10:38:46 EDT
New Gerrit change created: https://git.eclipse.org/r/54912
Comment 101 Alexander Kurtakov CLA 2015-09-04 02:53:32 EDT
(In reply to Dani Megert from comment #100)
> There are still 9 failures:
> 
> http://download.eclipse.org/eclipse/downloads/drops4/N20150903-2000/
> testresults/html/org.eclipse.ui.tests_linux.gtk.x86_64_8.0.html

Yes, we are aware of them and working through them. Having tests run successfully only on really strict set of platforms makes us wait for the N-build to see what's left.
Comment 102 Eclipse Genie CLA 2015-09-04 03:47:51 EDT
New Gerrit change created: https://git.eclipse.org/r/55262
Comment 103 Eclipse Genie CLA 2015-09-04 06:00:19 EDT
New Gerrit change created: https://git.eclipse.org/r/55273
Comment 106 Eclipse Genie CLA 2015-09-04 23:58:00 EDT
New Gerrit change created: https://git.eclipse.org/r/55348
Comment 107 Eclipse Genie CLA 2015-09-08 10:13:16 EDT
New Gerrit change created: https://git.eclipse.org/r/55470
Comment 110 David Williams CLA 2015-09-10 12:09:45 EDT
Should the removal of these bundles be announced, such as on "cross-project list"? I've already gotten one query about it, and not sure how many other projects may "pre-req" it? What changes might other projects have to do to migrate off of it?
Comment 111 Alexander Kurtakov CLA 2015-09-10 12:16:16 EDT
It was announced with luna http://help.eclipse.org/luna/topic/org.eclipse.platform.doc.isv/porting/removals.html?cp=2_3_0#runtime that this would happen, also in the mars docs. Will talk to Sopot and have it announced on cross project for even broader audience.
Comment 112 Dani Megert CLA 2015-09-11 03:38:58 EDT
(In reply to Alexander Kurtakov from comment #111)
> Will talk to Sopot and have
> it announced on cross project for even broader audience.

+1
Comment 113 Nobody - feel free to take it CLA 2015-09-11 06:23:31 EDT
(In reply to Dani Megert from comment #112)
> (In reply to Alexander Kurtakov from comment #111)
> > Will talk to Sopot and have
> > it announced on cross project for even broader audience.
> 
> +1

Done.
Comment 114 Eclipse Genie CLA 2015-09-11 07:18:52 EDT
New Gerrit change created: https://git.eclipse.org/r/55724
Comment 116 Lars Vogel CLA 2015-10-06 17:45:14 EDT
AFAIK this can be marked as fixed.