Skip to content
This repository was archived by the owner on Nov 23, 2023. It is now read-only.

Commit b30b261

Browse files
committed
Added launch script
With the launch script KNIME instance can be launched from Eclipse
1 parent 1013678 commit b30b261

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Steps to get development environment setup based on https://github.com/knime/kni
104104
3. Configure Java 8 inside Eclipse Window > Preferences > Java > Installed JREs
105105
4. Import this repo as an Existing Maven project
106106
5. Activate target platform by going to Window > Preferences > Plug-in Development > Target Platform and check the `KNIME Analytics Platform (4.0) - nl.esciencecenter.e3dchem.python.targetplatform/KNIME-AP-4.0.target` target definition.
107+
6. A KNIME Analytics Platform instance can be started by right clicking on the `targetplatform/KNIME\ Analytics\ Platform.launch` file and selecting `Run As → KNIME Analytics Platform`. The KNIME instance will contain the target platform together with all extensions defined in the workspace.
107108

108109
During import the Tycho Eclipse providers must be installed.
109110

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<launchConfiguration type="org.eclipse.pde.ui.RuntimeWorkbench">
3+
<booleanAttribute key="append.args" value="true"/>
4+
<booleanAttribute key="askclear" value="false"/>
5+
<booleanAttribute key="automaticAdd" value="true"/>
6+
<booleanAttribute key="automaticValidate" value="false"/>
7+
<stringAttribute key="bootstrap" value=""/>
8+
<stringAttribute key="checked" value="[NONE]"/>
9+
<booleanAttribute key="clearConfig" value="false"/>
10+
<booleanAttribute key="clearws" value="false"/>
11+
<booleanAttribute key="clearwslog" value="false"/>
12+
<stringAttribute key="configLocation" value="${workspace_loc}/.metadata/.plugins/org.eclipse.pde.core/KNIME Analytics Platform"/>
13+
<booleanAttribute key="default" value="true"/>
14+
<booleanAttribute key="includeOptional" value="true"/>
15+
<stringAttribute key="location" value="${workspace_loc}/../runtime-KNIME"/>
16+
<booleanAttribute key="org.eclipse.jdt.launching.ATTR_USE_START_ON_FIRST_THREAD" value="true"/>
17+
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
18+
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
19+
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-os ${target.os} -ws ${target.ws} -arch ${target.arch} -nl ${target.nl} -consoleLog"/>
20+
<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/>
21+
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-server&#10;-Dsun.java2d.d3d=false&#10;-Dosgi.classloader.lock=classname&#10;-XX:+UnlockDiagnosticVMOptions&#10;-XX:+UnsyncloadClass&#10;-XX:+UseG1GC&#10;-Dknime.enable.fastload=true&#10;-ea&#10;-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false&#10;-Dorg.eclipse.swt.internal.gtk.useCairo=false&#10;-Dorg.eclipse.swt.browser.IEVersion=12001&#10;-Dsun.awt.noerasebackground=true&#10;-Dorg.eclipse.swt.internal.gtk.disablePrinting&#10;-Xmx2G"/>
22+
<stringAttribute key="pde.version" value="3.3"/>
23+
<stringAttribute key="product" value="org.knime.product.KNIME_PRODUCT"/>
24+
<booleanAttribute key="show_selected_only" value="false"/>
25+
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
26+
<booleanAttribute key="tracing" value="false"/>
27+
<booleanAttribute key="useCustomFeatures" value="false"/>
28+
<booleanAttribute key="useDefaultConfig" value="true"/>
29+
<booleanAttribute key="useDefaultConfigArea" value="true"/>
30+
<booleanAttribute key="useProduct" value="true"/>
31+
</launchConfiguration>

0 commit comments

Comments
 (0)