views:

28

answers:

1

I need to configure my eclipse product to load all features/plugins in features/plugins directory. Now my product loads just plugins that are listed in metadata, so if I export some plugin directly from eclipse tool as "deployable plugins" it's loaded in my product, but if I put a plugin jar directly in plugins directory It doesn't appear (the same if I work with features)

I simply make new product configurations, put the feature that contains my application plugin and then exporting product I have this problem.

My eclipse version is 3.6.1

I think the problem is in the launcher configuration but I don't know what I have to change

A: 

In theory, your exported RCP application should simply pick up any new features and plugins you add later. However, make sure you put the extra stuff in the dropins folder of your RCP, since this is the expected location for manually installed features since the introduction of p2.
If for some reason it still doesn't work, try launching Eclipse with the -clean command line argument.

According to The Eclipse runtime options page, the -clean argument has the following effect:

[...] any cached data used by the OSGi framework and eclipse runtime will be wiped clean. This will clean the caches used to store bundle dependency resolution and eclipse extension registry data. Using this option will force eclipse to reinitialize these caches.

In my experience this can resolve many mysterious cases, where newly added plugins are not loaded by Equinox.

Zsolt Török
Thanks Zsolt, its very strange because since I moved to eclipse 3.6.1 from 3.5.2 I'm not able to load any plugin just putting it into plugins or dropins directory. Maybe is a 3.6.1 bug??? neither -clean solve the problem
Achille
@Achille Well, try to search https://bugs.eclipse.org/bugs/ then, maybe it is indeed some kind of bug. I know the above steps usually solve these kinds of problems for me, although I haven't tried with 3.6.1 yet.
Zsolt Török