Collect Named Java Bundles

**************************
!EXPERMINENTAL-BETA!
**************************
This component attempts to derive the list of Java Bundles in the current KNIME version based on the supplied list of bundle names.

The version numbering of Java bundle names may change between KNIME versions. Where there is a new major version, KNIME will not necessarily pick up the latest bundle name used by the Java Snippet.

Provide here a comma separated list of known bundle names that you want to include with the Java Snippet. Do not include the version numbers

e.g. if the bundles are:

org.apache.poi.ooxml 4.1.1.v20220617-knime
org.apache.poi 4.1.1.v20200604-1524
org.knime.ext.poi 5.2.0.v202311201636

you would supply the following list:
org.apache.poi.ooxml,org.apache.poi,org.knime.ext.poi

This component will then try to find bundles with those names for the current KNIME environment, and return this as a String collection "JavaAdditionalBundles",
e.g
[org.apache.poi.ooxml 4.1.1.v20220617-knime, org.apache.poi 4.1.1.v20200604-1524, org.knime.ext.poi 5.2.0.v202311201636]

This flow variable can then be passed to the Java Snippet as the "s[] bundles" parameter on the FlowVariables tab.

Note that this component simply attempts to find the current versions of each named bundle. If there is a dramatic change to the bundles so that they are no longer compatible, or the names (not just the version number) have changed, this component will not be able to rectify this.


@takbb Brian Bates 26 Feb 2024


Options

Bundle Names
Supply a comma delimited list of Bundle Names (without version numbers)

Input Ports

This node has no input ports

Output Ports

Icon
Additional Flow Variable "JavaAdditionalBundles" to be passed to "bundles" flow variable parameter of Java Snippet

Nodes

Extensions

Links