|
Re: Using links file with p2 [message #120889 is a reply to message #120865] |
Fri, 07 November 2008 19:37 |
Eclipse User |
|
|
|
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com
You'll want to move your .link files into dropins/.
http://wiki.eclipse.org/Equinox_p2_Getting_Started#Dropins
Kiran Kumar wrote:
> I am trying to add a feature to Eclipse 3.4 using links mechanism.
> The folder I am trying to add is having a feature with two different
> versions. Similarly the plug-ins folder also has two sets of same
> plug-ins with different versions corresponding to the two features (same
> feature of two different versions).
> On starting Eclipse 3.4, with a link file in links folder pointing to
> the above mentioned setup, latest version of the feature is getting
> loaded, but some of the plug-ins of older version are getting loaded.
> The set of plug-ins getting loaded with older version is not consistent
> every time I restart eclipse with clean option.
> The same setup works fine with older version of Eclipse.
> Is the setup mentioned above a valid one in Eclipse 3.4? Can I
> explicitly specify Eclipse to load a certain version of plug-ins?
>
--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
|
|
|
|
|
|
Re: Using links file with p2 [message #121038 is a reply to message #121002] |
Tue, 11 November 2008 15:18 |
Eclipse User |
|
|
|
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com
If this workaround isn't sufficient and you feel that p2 is selecting
the WRONG version of a plugin (generally, it's the latest / newest),
please file a bug in RT.Equinox.p2.
One way to pick a specific version would be to uninstall all versions,
then pick one by hand to install. Of course if you're using .link files
you don't get this granularity -- p2 does its own thing when using the
old .link approach.
Kiran Kumar wrote:
> The link file contains the following content:
>
> --------------------------------
> //Point to the path variable the parent location of eclipse folder
> //which hosts plugins and features
> path=D:/ganymede/addons
> --------------------------------
>
> And the add-ons folder contains the plugins and features in the
> following structure.
>
> addons
> +---eclipse
> +----features (has a feature with two versions)
> +----plugins (has all the plug-ins of two versions)
>
> When I tried having plug-ins of only one version in the linked folder,
> everything works fine.
>
>
--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
|
|
|
Powered by
FUDForum. Page generated in 0.02469 seconds