DEPRECATED -- Refer to https://knime-com.atlassian.net/wiki/display/SPECS/Git for latest guide
- Get an Eclipse installation from https://jenkins.knime.org/download/eclipse/
- Use one of the non-ee files for pure KNIME Analytics Platform development
- Use one of the "eclipse-ee-*" files for server development
- Start Eclipse and prepare a new Eclipse workspace
- Open the SVN Repository Exploring perspective
- Add a new repository location with https://svn.knime.org/repository/knime as address
- Checkout the trunk or any other branch you want to work on as project with name "repository" (or any other name you can choose). This will take a while.
- Go to the Java perspective, locate the project "repository" in the Package Explorer and delete it without deleting the contents on the file system.
- File ⇒ Import... ⇒ Import existing projects into workspace and select <workspace>/repository/KNIME_Deployment/org.knime.config.
- File ⇒ Open a Component Query
- Use "http://www.knime.org/KNIME.cquery" as URL
- Query the component "org.knime.config"
- Resolve and Materialize
- Set a Target Platform
- Open the KNIME.target or KNIME Complete.target (recommended) file in org.knime.config
- The second target definition also contains all KNIME feature in addition to the "real" target platform (i.e. all external stuff). This is usefull if you don't want to check out everything in your workspace but only the projects that you are working on or if you don't have access to all sources (e.g. the commerical code).
- When opened, it will resolve the contents which may take some time. Wait until the entry "Target Platform for KNIME x.yz" is shown
- Click on Set as Target Platform in the top-right corner.
- If you get the error that the tp folder is missing execute the cquery "cdi.api"
- Open the KNIME.target or KNIME Complete.target (recommended) file in org.knime.config
- Set an API Baseline
- Go to Preferences ⇒ Plug-in Development ⇒ API Baseline and Add Baseline...
- Select "A target platform" (available since Eclipse 4.5)
- Select "Release x.y.z" (which is in the org.knime.config project)
- Click Reset
- Give the baseline a meaningful name (e.g. "Release 3.0.0") and click OK