Community
Participate
Working Groups
I just installed Eclipse 3.6 for the first time and tried adding a Trac repository. I installed the Trac connector, but it doesn't show up as an option when adding a new Task List repository. -- Configuration Details -- Product: Eclipse 1.3.0.20100617-0520 (org.eclipse.epp.package.java.product) Installed Features: org.eclipse.mylyn_feature 3.4.0.v20100608-0100-e3x
Can you check if the eclipse installation is writeable to the user running Eclipse? I was able to reproduce this by installing the Trac connector into a shared installation. The install appeared to be successful and the Trac connector is shown in under About > Installation Details but it is not loaded (the feature was installed into ~/.eclipse/org.eclipse.platform_3.5.0_172093924/features/).
The eclipse installation (at /usr/local/eclipse-3.6/) is not writable to the user running Eclipse. Does it have to be writable? If so, shouldn't the user be told that after the failed installation?
I would expect this to work without making the directory writeable to the user. I am moving this to p2 since the problem appears to be reproducible with any feature that is installed into a shared Java EPP package.
I can reproduce this behaviour with other packages, in that case I tried it with the RCP/RAP package. Then I downloaded a plain SDK and started it read-only. In that case the SDK doesn't allow installation at all. Why does the SDK behave in a different way here? I couldn't see any substantial or suspicious differences in the .ini files.
Okay, I found the difference... it can be reproduced with both, the Classic/SDK *and* with the EPP packages. There are multiple ways of installing software into your running Eclipse and they seem to be inconsistent. If you want to reproduce it with the Classic/SDK, start with a writeable install of the SDK, install Mylyn or the MPC, shut down Eclipse, make it read-only and start again. 1 - The p2 UI: Help > Install New Software... 2 - The Marketplace Client MPC 3 - Mylyn: > Add Task Repository > Install More Connectors... 4 - Modeling EPP Packages: Install additional Modeling components 5 - Maybe more that I don't know of... :) If someone starts a read-only Eclipse, the result is as follows 1 - Doesn't show any p2 repositories, therefore it is not possible to install anything out of the box 2 - I didn't check, but I assume it is possible to install things that will never appear after a restart 3 - That is probably the scenario that is described here: Installation possible but the change is being ignored after a restart. 4 - The same as 2, 3 To make it even worse, there is not a single exception from p2 written to the log.
Before submitting the bug, I tried installing it from the Marketplace. When I first went in there, it showed up as installed, so I close Eclipse, removed all of the eclipse data from my home directory and workspace and then went back into the marketplace and installed it. It still had the same issue as installing it from "Install More Connectors..."
Is this a duplicate of bug 287246?
*** Bug 377346 has been marked as a duplicate of this bug. ***
I think this has been fixed in the past, and if not the ongoing work on p2 to fix shared install definitely will.