Importing KNIME Core Components into Eclipse After Successful SDK Setup

Hi KNIME Team,

I attempting to build the KNIME Analytics Platform (version 5.4.4) from source code. Following the instructions in the `knime-sdk-setup` repository, I successfully configured the

KNIME-AP.target

file and validated that the target platform resolves correctly in Eclipse. However, when importing critical components (e.g.,

knime-core-ui

,

knime-workbench

), Eclipse consistently throws errors, preventing further progress. Despite reviewing community discussions (thread 1, thread 2), I remain unable to resolve these issues independently.

Below, I detail my environment, steps taken, and specific problems for your reference:

Environment & Setup

  • KNIME Version: 5.5.0 (branch `analytics-platform/5.5.0`).

  • Eclipse IDE: Eclipse IDE for RCP Developers (2024-03 release).

  • Java: JDK 17 (aligned with Eclipse requirements).

  • Target Platform: `KNIME-AP.target` loaded without errors.

Steps Taken

  1. SDK Setup:

Cloned

knime-sdk-setup

, executed

mvn clean install

for the target platform.

  1. Verified `KNIME-AP.target` resolves all dependencies (no missing plugins in Eclipse).

  2. Project Import:

Downloaded source code ZIP files for `knime-core`, `knime-core-ui`, and `knime-workbench` from GitHub and imported them via “Existing Projects into Workspace”.

  1. Error Manifestation:

Dependency Issues: Eclipse reports compilation errors due to unresolved classes (e.g.,

org.eclipse.ui

classes in

knime-core-ui

).

  1. JDK Compatibility: Adjusted project-specific JRE settings to JDK 17 (verified via `Java Build Path`).

Specific Queries

1.

Dependency Resolution:

Are additional repositories (beyond

knime-sdk-setup

) required for

knime-core-ui

? The target platform resolves dependencies, but Eclipse still flags

org.eclipse.ui

imports as errors.

1.

Project Import Method:

  • Could the errors be caused by incorrect import procedures? I downloaded the source ZIPs for `knime-core-ui`, `knime-workbench`, etc. from GitHub and imported them as “Existing Projects into Workspace”. Is this the recommended approach, or should these components be imported differently?

Best regards,

Korn

Note: Attached are snippets of the Eclipse error logs for reference.