Blog posts tagged with "bndtools"

  • How to publish NPM packages to Nexus

    If you want to publish your own NPM repositories to your Nexus, this guideline contains a set of collected resources for you. Just follow the steps below. The first step includes the setup of your Nexus. If you have already done this you can start reading at step 4 where... [more]

  • Mockito#mock causes NoClassDefFoundException in OSGi

    Today I migrated some of our OSGi integration tests in our bnd workspace to the OSGi-Test support. We already used our own wrapper test classes, to deal with services, service availability and configurations. With the great initial work and some support of a good friend, most of our existing features... [more]

  • Upload to maven central with individually versioned bundles

    We recently started uploading our bundles to maven central. To do that a trusted staging repository is needed (in our case sonatype). They perform certain checks, to make sure your artifacts meet the standards (like e.g. jars need to be signed) of maven central. BND can smoothly handle the the... [more]

  • OSGi in a Nutshell: Working with service configurations

    Today we will see a slightly more complicated version of the use case we saw last week. We will always talk about services, but of configurable services. Use Case Imagine you have two or more implementations for the same service, and you have a consumer which needs one of your... [more]

  • OSGi in a Nutshell: Launch a simple Service

    This week we are finally ready to start working on our first use case: how to create and launch a simple service component in OSGi. We will proceed as follows: we first describe how this can be done in a pure Java environment, and then we will move to OSGi.... [more]

  • OSGi in a Nutshell

    With this post we would like to announce a new blog series, aimed to describe the world of OSGi. Data In Motion Consulting GmbH has been an OSGi Alliance member for many years now, and we also provide trainings for both developers and project managers, who want to start using... [more]

  • Starting bndrun files using Gradle

    Running bndrun files using gradle Bnd provides gradle tasks to run bndrun files and start an application. When listing all gradle tasks using gradlew tasks, you will find the bndrun tasks in the exports section of the list. Usually the tasks look like run.<bndrun-file-name>. If you want to start you... [more]

  • Bootstraping OSGi Applications with the Gecko.io Runtime Exporter

    We recently updated our documentation for the Gecko.io runtime project. The Gecko.io Runtime contains small helpers to improve the handling of your OSGi application in production environments and development. The org.gecko.templates project contains bndtools project templates, to ease the creation of project within your Eclipse IDE. Our org.gecko.runtime.boot registers some... [more]

  • Create a “Hello World” Eclipse RAP application with OSGi and Bndtools

    The Eclipse Remote Application Platform is an Eclipse project for enabling RCP application for the web or mobile usage. It can be used in OSGi or Servlet containers such as JEE. There is a good tooling based on the Eclipse tooling. We got a request from a customer, if it... [more]

  • RCP development with bnd

    About one and a half years ago we switched all our projects from using PDE together with Maven Tycho to bnd. The increase in development speed we reached was immense. Additionally bnd automatically pushed us towards writing better OSGi software. Over the time we experienced a lot of fallacies PDE... [more]

  • subscribe via RSS