|
Re: p2 is not picking up new versions of plugins [message #119190 is a reply to message #119151] |
Thu, 09 October 2008 18:51 |
Eclipse User |
|
|
|
Originally posted by: nospam_kowalskilee.gmail.com
Konstantin Komissarchik wrote:
> We are struggling with converting our product build system to Ganymede /
> Galileo. The biggest issue so far is that we are having trouble dealing
> with patched plugins. While in Europa a plugin with newer version was
> always picked up, this doesn't seem to be the case any more.
>
> More details...
>
> We have an ant-based build system that creates an "install" by unzipping
> various eclipse distros and then adding our product plugins. The install
> is then used for testing or packaged for distribution (as a unit).
> Sometimes we run into bugs that we have to patch, while we wait for the
> patch to make it's way into the project's codebase and then back to us,
> we make a local patched build of the plugin in question (by exporting
> from dev workspace). We then drop the plugin jar into the above
> install's plugins directory. This used to be enough. The newer plugin
> version would be picked up.
>
> That doesn't work any more as of Ganymede. The p2 system seems to be
> ignoring the new plugin. Any ideas how to get p2 to pickup the new
> plugin version? Is there a way to force p2 to refresh its metadata? One
> of the devs I work with is experimenting with hacking p2 metadata and is
> having some degree of success with that, but I don't want to go that
> route if I can help it.
>
>
My team is also struggling with p2 not picking up new plug-ins. We would
be interested in what you learn in terms of hacking the metadata.
Can the p2 team point to any documentation that describes the p2
metadata and how it is related to the plug-ins?
Thanks in advance,
Lee Anne
|
|
|
|
Re: p2 is not picking up new versions of plugins [message #119323 is a reply to message #119256] |
Fri, 10 October 2008 19:14 |
Eclipse User |
|
|
|
Originally posted by: nospam_kowalskilee.gmail.com
Hi Gladyston, thanks for the URL link.
I do know about the dropins folder, and am using it BUT p2 is not
picking up my plug-ins in the dropins folder. I would think it should,
right? :-)
That's why I'm asking for a reference to what metadata is cached and
where. If I knew that, I might be able to debug why my plug-ins in the
dropins folder are not being picked up.
Thanks,
Lee Anne
Gladyston wrote:
> Konstantin and Anne,
>
> Ganymede does not recognize plug-ins not installed (picked up through
> update process). So you can not just put plug-ins into plugins folder.
> But Ganymede has the concept of watched directories, in these folders
> you can just add features/plug-ins and they will be recognized. The
> dropins folder is the default watched directories. For additional
> information refer to: http://wiki.eclipse.org/Equinox_p2_Getting_Started
>
> i hope it can help you
>
> Gladyston
>
|
|
|
Re: p2 is not picking up new versions of plugins [message #119387 is a reply to message #119323] |
Sun, 12 October 2008 07:10 |
Eclipse User |
|
|
|
Originally posted by: ekkehard.gentz-software.de
Lee Anne schrieb:
> Hi Gladyston, thanks for the URL link.
>
> I do know about the dropins folder, and am using it BUT p2 is not
> picking up my plug-ins in the dropins folder. I would think it should,
> right? :-)
>
> That's why I'm asking for a reference to what metadata is cached and
> where. If I knew that, I might be able to debug why my plug-ins in the
> dropins folder are not being picked up.
>
> Thanks,
> Lee Anne
>
> Gladyston wrote:
>> Konstantin and Anne,
>>
>> Ganymede does not recognize plug-ins not installed (picked up
>> through update process). So you can not just put plug-ins into plugins
>> folder. But Ganymede has the concept of watched directories, in these
>> folders you can just add features/plug-ins and they will be
>> recognized. The dropins folder is the default watched directories.
>> For additional information refer to:
>> http://wiki.eclipse.org/Equinox_p2_Getting_Started
>>
>> i hope it can help you
>>
>> Gladyston
>>
I'm also using the dropins folder - if I put newer versions into the
dropins folder (per ex. Instatiations SWT Designer) I have to start once
with - clean and then the new plugins are available for ganymede
ekke
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04234 seconds