Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Dropins Folder?
Dropins Folder? [message #116635] Thu, 28 August 2008 13:11 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

is there any documentation on how to use watched directories as the
"dropins" folder?

I found only the getting started at
http://wiki.eclipse.org/Equinox_p2_Getting_Started

Unfortunately the dropins folder does not work as expected: I threw
there some plain plugins into it and they were not started. I moved them
to the original "plugins" folder and everything was fine.

Do I miss something? Do I have to activate the plugins somehow via the
P2 ui?

Hauke
Re: Dropins Folder? [message #116640 is a reply to message #116635] Thu, 28 August 2008 13:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: j-h.diederich.fh-wolfenbuettel.de

Remember that you need a plugins and a features directory, just like under
the eclipse root directory.
Re: Dropins Folder? [message #117129 is a reply to message #116640] Fri, 05 September 2008 06:10 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Jan-Hendrik Diederich wrote:
> Remember that you need a plugins and a features directory, just like
> under the eclipse root directory.

I tried every thinkable subfolder combination in the dropins directory
with no success. No error messages about the plugin. It's like it's
never found at all.

No error except this very general one:
"org.eclipse.equinox.p2.engine: An error occurred while collecting items
to be installed. No artifact repository available."

Maybe this is a problem of p2?

Hauke
Re: Dropins Folder? [message #117898 is a reply to message #117129] Thu, 25 September 2008 08:43 Go to previous messageGo to next message
Neil Brennan is currently offline Neil BrennanFriend
Messages: 14
Registered: July 2009
Junior Member
On Fri, 05 Sep 2008 08:10:31 +0200, Hauke Fuhrmann wrote:

> Jan-Hendrik Diederich wrote:
>> Remember that you need a plugins and a features directory, just like
>> under the eclipse root directory.
>
> I tried every thinkable subfolder combination in the dropins directory
> with no success. No error messages about the plugin. It's like it's
> never found at all.
>
> No error except this very general one: "org.eclipse.equinox.p2.engine:
> An error occurred while collecting items to be installed. No artifact
> repository available."
>
> Maybe this is a problem of p2?
>
> Hauke

Hi. I'm running Ganymede 3.4.0 on Mac OS X 10.5.5 and have exactly the
same problem.

Nothing that I put in the dropins folder does anything at all. Also,
trying to directly place items into the features and plugins directories
doesn't seem to work any more.

There doesn't appear to be any logging of this stuff at all. I can't
even tell if the dropins folder is being examined or not.

I'm trying to install Teneo:
http://www.eclipse.org/modeling/emf/downloads/?project=teneo

And am currently totally stuck.

Can anyone help?

Regards,

Neil Brennan
Re: Dropins Folder? [message #117912 is a reply to message #117898] Thu, 25 September 2008 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

Neil Brennan schrieb:
> On Fri, 05 Sep 2008 08:10:31 +0200, Hauke Fuhrmann wrote:
>
>> Jan-Hendrik Diederich wrote:
>>> Remember that you need a plugins and a features directory, just like
>>> under the eclipse root directory.
>> I tried every thinkable subfolder combination in the dropins directory
>> with no success. No error messages about the plugin. It's like it's
>> never found at all.
>>
>> No error except this very general one: "org.eclipse.equinox.p2.engine:
>> An error occurred while collecting items to be installed. No artifact
>> repository available."
>>
>> Maybe this is a problem of p2?
>>
>> Hauke
>
> Hi. I'm running Ganymede 3.4.0 on Mac OS X 10.5.5 and have exactly the
> same problem.
>
> Nothing that I put in the dropins folder does anything at all. Also,
> trying to directly place items into the features and plugins directories
> doesn't seem to work any more.
>
> There doesn't appear to be any logging of this stuff at all. I can't
> even tell if the dropins folder is being examined or not.
>
> I'm trying to install Teneo:
> http://www.eclipse.org/modeling/emf/downloads/?project=teneo
>
> And am currently totally stuck.
>
> Can anyone help?
>
> Regards,
>
> Neil Brennan
I have no problems with dropins folder
Ganymede 3.4.0, OSX 10.5.5

/eclipseinstallationfolder
.../eclipse
...../dropins
......./swtdesigner
........./eclipse
.........../features
.........../plugins
......./drools
........./eclipse
.........../features
and so on

and because I'm having two eclipse installations*
* modeling with emf, uml, oaw ...
* rcp, equinox, osgi ...

I not only have the dropins folder from inside eclipse,
I also have a shared dropins folder where I place plugins using in both
eclipse installations

the only thing you have to do is to place thgis in eclipse.ini:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/Volum es/xyz/e34shared_dropin

e34shared_dropin itself has the same structure as the 'normal' dropins
described above

hope it helps

ekke
Re: Dropins Folder? [message #117939 is a reply to message #117912] Thu, 25 September 2008 11:01 Go to previous messageGo to next message
Neil Brennan is currently offline Neil BrennanFriend
Messages: 14
Registered: July 2009
Junior Member
On Thu, 25 Sep 2008 11:08:48 +0200, ekke wrote:

> Neil Brennan schrieb:
>> On Fri, 05 Sep 2008 08:10:31 +0200, Hauke Fuhrmann wrote:
>>
>>> Jan-Hendrik Diederich wrote:
>>>> Remember that you need a plugins and a features directory, just like
>>>> under the eclipse root directory.
>>> I tried every thinkable subfolder combination in the dropins directory
>>> with no success. No error messages about the plugin. It's like it's
>>> never found at all.
>>>
>>> No error except this very general one: "org.eclipse.equinox.p2.engine:
>>> An error occurred while collecting items to be installed. No artifact
>>> repository available."
>>>
>>> Maybe this is a problem of p2?
>>>
>>> Hauke
>>
>> Hi. I'm running Ganymede 3.4.0 on Mac OS X 10.5.5 and have exactly the
>> same problem.
>>
>> Nothing that I put in the dropins folder does anything at all. Also,
>> trying to directly place items into the features and plugins
>> directories doesn't seem to work any more.
>>
>> There doesn't appear to be any logging of this stuff at all. I can't
>> even tell if the dropins folder is being examined or not.
>>
>> I'm trying to install Teneo:
>> http://www.eclipse.org/modeling/emf/downloads/?project=teneo
>>
>> And am currently totally stuck.
>>
>> Can anyone help?
>>
>> Regards,
>>
>> Neil Brennan
> I have no problems with dropins folder Ganymede 3.4.0, OSX 10.5.5
>
> /eclipseinstallationfolder
> ../eclipse
> ..../dropins
> ....../swtdesigner
> ......../eclipse
> ........../features
> ........../plugins
> ....../drools
> ......../eclipse
> ........../features
> and so on
>
> and because I'm having two eclipse installations* * modeling with emf,
> uml, oaw ...
> * rcp, equinox, osgi ...
>
> I not only have the dropins folder from inside eclipse, I also have a
> shared dropins folder where I place plugins using in both eclipse
> installations
>
> the only thing you have to do is to place thgis in eclipse.ini:
>
> -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/Volum es/xyz/
e34shared_dropin
>
> e34shared_dropin itself has the same structure as the 'normal' dropins
> described above
>
> hope it helps
>
> ekke

Hi Ekke,

I read your blog and have tried your solution. I tried creating my own
separate dropins area, and it doesn't work for me on Mac.

The most annoying thing about this is that there is NO logging of any kind
as far as I can see. It's very hard to believe that anyone thinks this is
good work.

I'm starting to suspect that this whole edifice was built on Windows,
eventually ported to Linux and never checked again.

Regards,

Neil
Re: Dropins Folder? [message #117952 is a reply to message #117939] Thu, 25 September 2008 11:44 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ekkehard.gentz-software.de

Neil Brennan schrieb:
> On Thu, 25 Sep 2008 11:08:48 +0200, ekke wrote:
>
>> Neil Brennan schrieb:
>>> On Fri, 05 Sep 2008 08:10:31 +0200, Hauke Fuhrmann wrote:
>>>
>>>> Jan-Hendrik Diederich wrote:
>>>>> Remember that you need a plugins and a features directory, just like
>>>>> under the eclipse root directory.
>>>> I tried every thinkable subfolder combination in the dropins directory
>>>> with no success. No error messages about the plugin. It's like it's
>>>> never found at all.
>>>>
>>>> No error except this very general one: "org.eclipse.equinox.p2.engine:
>>>> An error occurred while collecting items to be installed. No artifact
>>>> repository available."
>>>>
>>>> Maybe this is a problem of p2?
>>>>
>>>> Hauke
>>> Hi. I'm running Ganymede 3.4.0 on Mac OS X 10.5.5 and have exactly the
>>> same problem.
>>>
>>> Nothing that I put in the dropins folder does anything at all. Also,
>>> trying to directly place items into the features and plugins
>>> directories doesn't seem to work any more.
>>>
>>> There doesn't appear to be any logging of this stuff at all. I can't
>>> even tell if the dropins folder is being examined or not.
>>>
>>> I'm trying to install Teneo:
>>> http://www.eclipse.org/modeling/emf/downloads/?project=teneo
>>>
>>> And am currently totally stuck.
>>>
>>> Can anyone help?
>>>
>>> Regards,
>>>
>>> Neil Brennan
>> I have no problems with dropins folder Ganymede 3.4.0, OSX 10.5.5
>>
>> /eclipseinstallationfolder
>> ../eclipse
>> ..../dropins
>> ....../swtdesigner
>> ......../eclipse
>> ........../features
>> ........../plugins
>> ....../drools
>> ......../eclipse
>> ........../features
>> and so on
>>
>> and because I'm having two eclipse installations* * modeling with emf,
>> uml, oaw ...
>> * rcp, equinox, osgi ...
>>
>> I not only have the dropins folder from inside eclipse, I also have a
>> shared dropins folder where I place plugins using in both eclipse
>> installations
>>
>> the only thing you have to do is to place thgis in eclipse.ini:
>>
>> -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/Volum es/xyz/
> e34shared_dropin
>> e34shared_dropin itself has the same structure as the 'normal' dropins
>> described above
>>
>> hope it helps
>>
>> ekke
>
> Hi Ekke,
>
> I read your blog and have tried your solution. I tried creating my own
> separate dropins area, and it doesn't work for me on Mac.
>
> The most annoying thing about this is that there is NO logging of any kind
> as far as I can see.

About Eclipse - configuration details should log something like:

/configuration/org.eclipse.equinox.p2.artifact.repository
/repositories/file\:....../url=file\:/<yourPath2Eclipse/eclipse/dropins/ <yourFolderInsideDropins>/



It's very hard to believe that anyone thinks this is
> good work.
>
> I'm starting to suspect that this whole edifice was built on Windows,
> eventually ported to Linux and never checked again.

thats not reality - many of the eclipse comitters are using OSX


did you restart with -clean ??

I have many different eclipse installations on OSX (MacPro and
MacBookPro) and always use dropins folder without problem

one time I confused P2 after wrong input in dropins folder,
I deleted all from dropins, started -clean and did my work again
and all was well

ekke
Re: Dropins Folder? [message #121498 is a reply to message #116640] Tue, 25 November 2008 08:51 Go to previous messageGo to next message
Marcus Better is currently offline Marcus BetterFriend
Messages: 18
Registered: July 2009
Junior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I also have huge problems with the dropins folder. Using Eclipse 3.4.0 on Linux x86_64. Anything I throw in the dropins folder seems to be completely ignored, even after restarting with -clean.

Jan-Hendrik Diederich wrote:
> Remember that you need a plugins and a features directory, just like under
> the eclipse root directory.

That seems to contradict the Getting Started document [1]:
"The simplest layout is to just drop plug-ins in either jar or directory format directly into the dropins folder:"

I tried dropping both the plugin jar and a directory into eclipse/dropins. No results. "ss" in the OSGi console does not show anything about my plugin, and there is no trace of it in the PDE Error log or the Eclipse log file.

However the plugin is mentioned in a content.xml file under configuration/org.eclipse.osgi/bundles/258/...

How can I turn on some logging to see what p2 is doing?

Cheers,

Marcus

[1] http://wiki.eclipse.org/Equinox_p2_Getting_Started
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkkrvJIACgkQXjXn6TzcAQm/KACgotBfJkfAaRyGaMHS9brV W8NL
PNsAoNYTwgy8kmJY5GfzsjiT0/YFlAkA
=v310
-----END PGP SIGNATURE-----
Re: Dropins Folder? [message #121522 is a reply to message #121498] Tue, 25 November 2008 16:19 Go to previous messageGo to next message
Marcus Better is currently offline Marcus BetterFriend
Messages: 18
Registered: July 2009
Junior Member
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Marcus Better wrote:
> I also have huge problems with the dropins folder. Using Eclipse 3.4.0 on
> Linux x86_64. Anything I throw in the dropins folder seems to be
> completely ignored, even after restarting with -clean.

....but it seems to work on a colleague's computer with Windows. Perhaps a bug in the Linux version?

Cheers,

Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkksJZIACgkQXjXn6TzcAQkpAQCghw/gpMhQNun+XEUZ1Xh7 8pkp
DRcAn3yZq6VpvaX4/VFBUtJPH8wkQ8cZ
=26So
-----END PGP SIGNATURE-----
Re: Dropins Folder? [message #916158 is a reply to message #121522] Tue, 18 September 2012 16:20 Go to previous messageGo to next message
David Rees is currently offline David ReesFriend
Messages: 47
Registered: September 2012
Member
I have posted the steps to troubleshoot/log p2 dropins loading on stackoverflow. I don't have enough posts to share the direct link, but search for eclipse-doesnt-load-plugins-in-the-dropins-folder.
Re: Dropins Folder? [message #931747 is a reply to message #916158] Wed, 03 October 2012 13:38 Go to previous messageGo to next message
David Rees is currently offline David ReesFriend
Messages: 47
Registered: September 2012
Member
Here is the direct link to the stackoverflow question and answer - http://stackoverflow.com/a/12480978/255961
Re: Dropins Folder? [message #1002344 is a reply to message #116635] Fri, 18 January 2013 12:33 Go to previous message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
Registered: October 2012
Location: Bangalore
Senior Member

You can use a "shared dropins directory" to avoid the copy altogether.

Modify tour eclipse.ini for both installation:

-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/<myPath>/mySharedDropins

Previous Topic:Reusing plugins folder for multiple RCP applications
Next Topic:how to subset operating systems using FeaturesAndBundlesPublisher
Goto Forum:
  


Current Time: Tue Apr 16 22:34:31 GMT 2024

Powered by FUDForum. Page generated in 1.69730 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top