Note that there are some explanatory texts on larger screens.

plurals
  1. POCan Eclipse 3.5 discover all bundles in the plugins dir?
    primarykey
    data
    text
    <p><strong>Simple usecase</strong>: assemble an Eclipse product using simple scripts, <em>just dumping bundles into the plugins dir</em>. This used to work with 3.3 - with 3.5 it's broken: my application doesn't start as the app plugin is not found.</p> <p><strong>Question</strong>: what's the easiest way to fix that? This seems to be the only pain in the whole upgrade process for me.</p> <hr> <p><strong>Attempts</strong>: I guess this is a no-no for P2: it maintains the bundles.info file instead, which is probably very smart.. a bit too smart for me.</p> <p>Some ideas I had:</p> <ol> <li>can I just skip P2 altogether and get back to plain old, simple -dirty- discovery mechanism? </li> <li>can I set up plugins dir as a 'watched directory' <ul> <li>looks like I need to use the p2.reconciler for that.. oh wait, it's deprecated already :-( <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=251561#c18" rel="nofollow noreferrer">bug 251561</a>.. (thanks VonC for the pointer)</li> </ul></li> <li>can this old setting in the config.ini still work? (which is now replaced with the 'simpleconfigurator') <code>osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@start</code></li> <li>should I call the (p2) director? "please pick my plugins up" :)</li> <li>I'd avoid the dropin folder for this - that's more for the end-users.</li> <li>I'd avoid messing with the bundles.info if possible.</li> </ol> <p>I don't care about all those smart features in my product yet- actually the users don't use the built-in update mechanism at all. So I'd like to KISS (ie: just to start up), and add more advanced support <em>when needed</em>.</p> <p>I've asked this on <a href="http://www.eclipse.org/forums/index.php?t=tree&amp;goto=336485&amp;S=7746358f2b8b65fd82a1cb376a57c9ed#page_top" rel="nofollow noreferrer">Eclipse forums</a>, but no answer yet, so would really be grateful for some enlightenment. Also, feel free to correct me on the assumptions - I've just read the <a href="http://wiki.eclipse.org/Category:Equinox_p2" rel="nofollow noreferrer">P2 docs</a>, which seem confusing at times. Thanks!</p> <hr> <p><strong>Answer</strong>: actually option 3 above seems to work after all - thanks <a href="https://stackoverflow.com/users/80906/francis-upton">Francis</a> for confirming this! (it didn't work originally, but that was probably caused by some missing deps). My only issue with that now is, some Eclipse bundles actually require simpleconfigurator. So I wonder if swapping it out will cause problems down the line.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload