Add bin/ to the bundle class path

Eclipse writes .class files into the bin/ directory by default, while
the META-INF/MANIFEST.MF and build.properties are in the project's root
directory instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove superfluous slash

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Do not pass a Framework where a BundleContext is required

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Fix discovery of this bundle

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove obsolete main() method

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
fixup! Do not pass a Framework where a BundleContext is required
fixup! Fix discovery of this bundle
Fix installBundle calls when there are spaces in the path name

Our work-around is to rely on the OSGi being assumed to be KNIME's own,
from KNIME's plugins/ directory. That way, we can use the special
'reference:' protocol to refer to the files without having to include
the complete absolute path in the URL (which might have spaces in it. I
am looking at you, Christian).

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Remove more dead code

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Try to detect the bundle in the development location first

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Auto-discover KNIME's home directory if not specified

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Get rid of hard-coded paths

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>