cnfree / Eclipse-Class-Decompiler

Eclipse Class Decompiler integrates JD, Jad, FernFlower, CFR, Procyon seamlessly with Eclipse and allows Java developers to debug class files without source code directly
http://www.cpupk.com/decompiler
304 stars 91 forks source link

Cannot install new version 2.9.1. #18

Open susmateusz opened 7 years ago

susmateusz commented 7 years ago

During installation of new version 2.9.1. an error occurrs, that the repository containing bundles from version 3.0.0 cannot be found. As far I know the version 3.0.0 was released earlier and I have been prompting for update for a week, and the update could be successfully installed. Now I tried to update another instance of Eclipse IDE and it failed. I noticed that update site has changed, maybe this is the reason of problems. I tried also to remove old version at first, and then install the new one, but it didn't changed anything. Error log thrown during attempt of installation of version 2.9.1:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.cfr,3.0.0.f20170609
No repository found containing: org.eclipse.update.feature,org.sf.feeling.decompiler.cfr,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.cfr.source,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.jad,3.0.0.f20170609
No repository found containing: org.eclipse.update.feature,org.sf.feeling.decompiler.jad,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.jad.source,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.jd.source,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.procyon,3.0.0.f20170609
No repository found containing: org.eclipse.update.feature,org.sf.feeling.decompiler.procyon,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.procyon.source,3.0.0.f20170609
No repository found containing: osgi.bundle,org.sf.feeling.decompiler.source,3.0.0.f20170609
No repository found containing: org.eclipse.update.feature,org.sf.feeling.decompiler.source,3.0.0.f20170609

I noticed also warning:

Server returned lastModified <= 0 for http://raw.githubusercontent.com/cnfree/eclipse/master/decompiler/update/content.jar.

Details of my installation:

eclipse.buildId=4.5.2.M20160212-1500
java.version=1.8.0_112
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
cnfree commented 7 years ago

Please download the offline build and install it.

https://github.com/cnfree/Eclipse-Class-Decompiler/releases/tag/v2.9.1

cnfree commented 7 years ago

update

Or open the update preference page, select the decompiler update site, then click reload button.

Then select the eclipse menu: Help->Check for Updates.

susmateusz commented 7 years ago

Reloading the decompiler update site does not help. The only way to update is to remove old version of plugin and install the new one using the offline build, thanks for help.

I have a question about the way of checking for updates and you may know something that could help me. The dialog, that shows on start of eclipse looks like below. I maintain shared instance of Eclipse IDE for c.a. 50 programmers and everybody gets this message too, despite the fact that the automatic updates are disabled. I periodically release a new, updated version, but I would like to have control of the updates. Why this dialog is shown and is there any way of temporary disabling it? I tried to reload and deactivate update site using "Eclipse > Preferences > Available Software Sites" but without success.

eclipse_class_decompiler

cnfree commented 7 years ago

The eclipse marketplace team told me that the plugin update is not a proper usage. So I degraded the 3.0 version to 2.9.1, and removed the force update code.

The new version plugin 2.9.1, you can set check update at the preference page, and the update dialog also has a checkbox to ignore update.

update

Thanks for your feedback.