Installing an Eclipse plugin via oomph 1/ doesn't work and 2/ breaks Eclipse installation #94
Replies: 3 comments 3 replies
-
I try this too: No warning about the bundle pool being broken: Asks me if I trust stuff from there: It wants me to trust their certificate: And after a restart it's installed: It really looks like your shared bundle pool was corrupted. 😱 But I'm not sure how that could have happened. An overly aggressive windows virus scanner deleting the jars? There's not much you can do to recover from that other than starting from scratch. 😭 |
Beta Was this translation helpful? Give feedback.
-
I mean using in I come with new findings: 1/ I tried the above setup w/ Eclipse 2024-06 (w/o using However, during this installation (which was successful), I got the message: It's similar to the first picture in my first post, but now w/ more entries. Where does Eclipse store such information? These directories are directories where I performed various tests. 2/ I tried to redo the steps w/ the older Eclipse = 2023-12. I got a similar message to the one above. But additionally, the installer would hang: So again, why in the world is trying Eclipse to look in those directories? 3/ I searched my home dir, I found that these things seem to come from: ~/.eclipse/org.eclipse.oomph.p2/agents.info`: I saw that if I remove I removed all the lines except the last one. The result is that during the install I didn't get any more the error w/ "no repository found ...". However, again, a lot (all?) the plugins reinstalled: And after restart, the install was corrupt. Until here, I'd say that this buggy feature of "reinstalling all the plugins of eclipse" happen only in 2023-12, and not in 2024-06 (or -09 cf. your screenshots). 4/ I tried on Windows, using 2023-12 as well. I got the "no repository found ..." error also: And the behaviour "reinstalling all the plugins of eclipse", happened as well. So I'd say that if you use the package jee 2023-12, you'll see the issue as well. 4.1 I'd speculate that during the install process, although I have Eclipse 2023-12, an I request "please install plugin Enhanced Java Decompiler", the program also updates Eclipse by using plugins from Eclipse 2024-06: So this update of Eclipse: |
Beta Was this translation helpful? Give feedback.
-
In the Install/Update preferences for Available update sites do you have lots of sites listed? This list tends to grow and will be used by the p2 task. Note too in the home folder both a .p2 and a .eclipse folder are created. The former will contain the shared pool by default. In my pictures you can see that I too set user.home system property in the eclipse.ini so I can test in a clean new environment each time I need to do that. If you run the installer with the arguments
It will behave as if that is the user home and will add that -Duser.home to the installation. That’s how I do my testing. In advanced mode the installer can install older versions of Eclipse. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to install the plugin Enhanced Class Decompiler in Eclipse via oomph.
The file
.../.eclipse/org.eclipse.oomph.setup/setups/user.setup
looks like this:I edited it by performing drag and drop from the
Repository Explorer
:Results
1/ During the installation I observe this error message that doesn't seem to block the install process:
2/ The installation takes a lot of time. It seems to download/install a lot (the majority?) of plugins that already exist in Eclipse.
3/ After finishing install/restart, Eclipse seems to be corrupt. Probably because of the plugins that were replaced during 2/:
Thanks in advance 🙂.
Cristian
Beta Was this translation helpful? Give feedback.
All reactions