Why are my bundles not working?

Sometimes you spend time developing and testing your new bundle using the runtime workbench launched from the same eclipse, and everything is fine… until some user installs that bundle and finds that it does… nothing!

The OSGi console is a great help in such cases. The `diag` command can tell you what’s wrong. Usually it is a dependency that is missing.

Start by launching eclipse from the command line with the -console command line option.

Now, just diag your.bundle.id, and you’ll see eclipse telling you what’s wrong.

About these ads

  1. Yes, but then no.

    Because p2 now will forbid the installation of the bundle if all its dependencies are resolved, and you won’t even be able to start it with the console.

  • My Open Source

  • Twitter Updates

    • RT @voylinux: Nuestros hijos necesitarán clases de informática que no sean "Cómo usar Word". 32 minutes ago
    • @GermanDZ @giropa832 @jmbeas fulfillment ➡️ understanding the problem/status ➡️ communication ➡️ team work ➡️ learning ➡️ stronger team 32 minutes ago
    • @Gmfdsr @ebe y el 90% que sí, lo hace porque se lo piden para tener un sello, pero no saben lo que es y les da igual 49 minutes ago
    • Buscando la pseudoperfeccion en tamaños de letra vs alto de línea vs esosciado de párrafo vs peso de tipografía… ¿q cargo me otorga eso? 54 minutes ago
    • RT @zspencer: Get better at programming with this one weird trick: ASKING QUESTIONS WHEN YOU GET STUCK 5 hours ago
  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 9 other followers

  • Flickr Photos

    Apertura Agile Open Spain 2011 - 32

    Apertura Agile Open Spain 2011 - 31

    Apertura Agile Open Spain 2011 - 30

    More Photos


Get every new post delivered to your Inbox.

%d bloggers like this: