Bug 546317 - Eclipse ignores plugins in dropins folder on Linux
Summary: Eclipse ignores plugins in dropins folder on Linux
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.11   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-04-11 01:22 EDT by David M. Karr CLA
Modified: 2019-10-03 10:52 EDT (History)
3 users (show)

See Also:


Attachments
First plugin jar put in dropins folder (782.77 KB, application/octet-stream)
2019-04-11 14:04 EDT, David M. Karr CLA
no flags Details
Second plugin jar added to dropins folder (2.79 KB, application/octet-stream)
2019-04-11 14:05 EDT, David M. Karr CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David M. Karr CLA 2019-04-11 01:22:39 EDT
I have Eclipse 2019-03 installed on both my Win7 laptop and a Linux VM running on the laptop. In both installations, I put two plugin jars that I built from a project on the Win7 laptop (if it matters, from https://github.com/MulgaSoft/e4macs ), into the "dropins" folder. When I start up both instances, everything seems ok, until I realize that the Linux instance did not load the plugins in the dropins folder. There's no obvious error about this in the log.  The plugins load perfectly fine in the Win7 instance. I installed the very same jars into both.
Comment 1 Dani Megert CLA 2019-04-11 10:12:40 EDT
Tom, is this Equinox runtime or p2?
Comment 2 Thomas Watson CLA 2019-04-11 11:03:09 EDT
(In reply to Dani Megert from comment #1)
> Tom, is this Equinox runtime or p2?

I assume p2 because the framework does not install bundles from dropins.
Comment 3 Alexander Kurtakov CLA 2019-04-11 11:15:15 EDT
Would you please either provide link to the bundles or attache them so we verify there aren't platform filters in them first.
Comment 4 David M. Karr CLA 2019-04-11 14:03:47 EDT
I assume that's directed at me?  I'll attach the two jars I put into the dropins folder.
Comment 5 David M. Karr CLA 2019-04-11 14:04:47 EDT
Created attachment 278242 [details]
First plugin jar put in dropins folder
Comment 6 David M. Karr CLA 2019-04-11 14:05:17 EDT
Created attachment 278243 [details]
Second plugin jar added to dropins folder
Comment 7 David M. Karr CLA 2019-04-11 14:07:19 EDT
Also note that I was able to work around this problem by simply adding the parent directory as a local update site.

Curiously, when I first tried this, it chugged for a very long time trying to load that update site.  I eventually cancelled it.  I then tried copying the directory tree from the shared folder on the laptop I was referencing it from, onto the VM itself, and referencing that as the update site.  It still took quite a while to load, but after I left it and came back later, it had finally loaded.
Comment 8 Alexander Kurtakov CLA 2019-04-11 14:30:55 EDT
OK, I just tried it and it worked for me. So let's check other possibilities:
* you have put the files in a supported directory structure as described here https://help.eclipse.org/2019-03/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fp2_dropins_format.html
* your files are readable for the user under which eclipse is started (I have seen issues when smb/ssh copies are done with different accounts).
If both are fine I'm out of ideas as it works just fine for me.
Comment 9 Alexander Kurtakov CLA 2019-10-03 10:52:33 EDT
No reply in months. Resolving. Please reopen if it still happens to you and you have the time to help us find the issue.