Menu

#713 "Perl Auto Builder" doesn't work anymore with Eclipse 2020-09

v0.7.x
closed-fixed
nobody
None
5
2020-09-26
2020-09-17
tschoening
No

I'm using EPIC 0.7.7 and upgraded to Eclipse 2020-09 some minutes ago and ran into the following errors:

Errors occurred during the build.
Errors running builder 'Perl Auto Builder' on project 'de.am_soft.sm_mtg.backend.cmds'.
'org.eclipse.core.runtime.jobs.IJobManager org.eclipse.core.runtime.Platform.getJobManager()'

Searching on that topic a bit, that method seems to have been deprecated for years and now most likely simply removed:

diff --git a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
index 7c10e9c50..1b8c85d8e 100644
--- a/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
+++ b/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java
@@ -832,6 +832,7 @@ public final class Platform {
     * @return the platform's job manager
     * @since 3.0
     * @deprecated The method {@link Job#getJobManager()} should be used instead.
+    * @noreference This method is planned for removal. See bug#528192 for details.
     */
    @Deprecated
    public static IJobManager getJobManager() {

https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=68168b31d2f74e46f130e7c787d3b4353d432eb0

While EPIC still seems to work when editing individual files, an error-dialog is always occuring telling about the above error. Disabling the auto builder in the project settings doesn't help. So it seems that 2020-03 is the last Eclipse somewhat usable with EPIC.

Discussion

  • Jan Ploski

    Jan Ploski - 2020-09-26
    • status: open --> closed-fixed
     
  • Jan Ploski

    Jan Ploski - 2020-09-26

    Fixed in EPIC testing 0.7.8.

     

Log in to post a comment.