Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.42 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.42 KB

3D-e-Chem KNIME plugin for project category and splash screen.

Java CI with Maven

This project uses Eclipse Tycho to perform build steps.

Adding a KNIME node

For node developers which want

  1. During the start of KNIME show the project logo
  2. Nest node in 3D-e-Chem category.
  3. Include his/her node when installing 3D-e-Chem KNIME nodes

Can respectively been done by

  1. Add https://3d-e-chem.github.io/updates/5.1 to list of repositories or p2 update sites (in pom.xml)
  2. Plugin of node must depend on nl.esciencecenter.e3dchem.plugin (in plugin/META-INF/MANIFEST.MF)
  3. Node category must be have /community/3d-e-chem as path (in category extension in plugin/plugin.xml file)
  4. Node feature must be in includes of this feature (feature/feature.xml of this repo).

Build

mvn verify

An Eclipse update site will be made in p2/target/repository repository. The update site can be used to perform a local installation.

Development

Steps to get development environment setup based on https://github.com/knime/knime-sdk-setup#sdk-setup:

  1. Install Java 17
  2. Install Eclipse for RCP and RAP developers
  3. Configure Java 17 inside Eclipse Window > Preferences > Java > Installed JREs
  4. Import this repo as an Existing Maven project
  5. Activate target platform by going to Window > Preferences > Plug-in Development > Target Platform and check the KNIME Analytics Platform (5.1) - nl.esciencecenter.e3dchem.targetplatform/KNIME-AP-5.1.target target definition.

During import the Tycho Eclipse providers must be installed.

New release

  1. Update versions in pom files with mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version> command.

  2. Commit and push changes

  3. Create package with mvn package, will create update site in p2/target/repository

  4. Append new release to an update site

  5. Make clone of an update site repo

  6. Append release to the update site with mvn install -Dtarget.update.site=<path to update site>

  7. Commit and push changes in this repo and update site repo.

  8. Make nodes available to 3D-e-Chem KNIME feature by following steps at https://github.com/3D-e-Chem/knime-node-collection#new-release