Skip to content
Targetdefinition and Launchconfigurations for developing KNIP Plugins.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
org.knime.knip.sdk
LICENSE Initial commit Nov 10, 2014
README.md

README.md

KNIME Image Processing SDK

This repository collects the tools to facilitate the development of KNIME Nodes in the context of KNIME Image Processing (KNIP). The KNIME Image Processing SDK (KNIP SDK), provides Eclipse Target Definitions and a launch configuration, which can be used to develop KNIME and especially KNIME Image Processing nodes.

Target Definitions

We provide different target definitions:

  • stable These target definitions allow starting and debugging released versions of KNIME / KNIP. This is useful to reproduce the environments of users.
    • knip-sdk-2.11-full: KNIME 2.11 with the latest release of the compatible KNIP plugins.
    • knip-sdk-2.12-full: KNIME 2.12 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.0-full: KNIME 3.0 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.1-full: KNIME 3.1 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.2-full: KNIME 3.2 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.3-full: KNIME 3.3 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.4-full: KNIME 3.4 with the latest release of the compatible KNIP plugins.
    • knip-sdk-3.5-full: KNIME 3.5 with the latest release of the compatible KNIP plugins.
  • nightly:
    • knip-sdk-dev For people who work directly on KNIP and have the KNIP and KNIP SciJava source code cloned and added to their workspace. It contains the most recent KNIME Analytics Platform and all required dependencies for developing KNIP itself.
    • knip-sdk-dev-full For people who want to test the latest nightly build from their IDE, contains the latest nightly build of all KNIP plugins and the latest release of KNIME Analytics Platform.
    • knip-sdk-dev-nightly Same as knip-sdk-dev but targets the latest nightly build of KNIME Analytics Platform.

If you need additional plugins you can easily edit the software sites in the target definitions and select the ones you need.

Getting started with KNIP development

  • Download and install Eclipse 4.7 or later.
  • Install the Eclipse Plug-in Development Environment plugin from the The Eclipse Project Updates update-site
  • Clone this repository using git clone https://github.com/knime-ip/knip-sdk-setup
  • Import the contained projects (File -> Import -> General -> Existing Projects) into Workspace
  • Double-click on the desired target definition file, which you will find in the org.knime.knip.sdk project.
  • Wait until eclipse has resolved the target platform and click on Set as Target Platform (upper-right corner)
  • The knip-stable-launch-configuration and knip-nightly-launch-configuration should now be available to you in the debug and run configuration dialogs (under Eclipse Application).
  • The debug configuration assumes you have 4GB RAM available, if you want to use a different amount just change the value of the -Xmx4g vm argument in the Arguments tab of the knip-launch-configuration.
  • Remember to often click the update and reload buttons in the target definition interface to stay up to date with the nightly builds.

FAQ

  • Eclipse complains that some plugin can't be installed and the target definition file seems to have many errors in it! Sadly eclipse seems to do that from time to time, in most cases clicking reload and update a few times solves that issue. If not you might need to update this repository as the target platform has changed.

Guidelines

Asking questions in a public forum or reporting the bugs on github makes sure, that others also benefit from the answers to your questions or see which bugs have already been reported and maybe solved.

Frameworks and Tools

KNIME Image Processing:

ImgLib2:

ImageJ-Ops:

ImageJ2:

How to Build the target platform file

The target definition files are build using this eclipse plugin. You need to install it to build your own, modified target definition files. The build files are located in the autogen folder. To rebuild the target definition files after modification rightclick on the corresponding .tpd file and select "Create Target Definition File".

You can’t perform that action at this time.