Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Setting up a new project

Prerequisites:

  1. An Latest Eclipse installation with the latest Bndtools release.
  2. A Bndtools project that exists on a Git repository and is checked out into a local workspace.

...

  1. The first step to take is to install the Amdatu gradle plugin into your workspace.
  2. The next step is to configure your workspace so:
    1. gradle knows what Eclipse installation you are using;
    2. baselining is enabled and uses a local baseline repository;
      This repository is initially empty and must be ignored in Git. 
    3. select what projects to exclude from baselining (see Notes).

...

When releasing we enable baselining to validate that the artifacts we're about to release are correctly versioned. Here we have the same problem: it only works correctly if we can ensure that the same Java compiler is used. That means we cannot baseline against the release repository, but have to generate a baseline repository again. If baselining succeeds, we can continue with the release process, otherwise we need to abort and let the developer fix the issue. This is already how the release plugin works.

Prerequisites:

  1. A Bndtools project that exists on a Git repository and is checked out into a local workspace.

...