Ticket #128 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Remove dependencies to org.eclipse.core.runtime bundle

Reported by: mosconi Owned by: stephan
Priority: minor Milestone: OTDT_1.2.1
Component: otequinox Version: 1.2.0
Keywords: Cc:

Description

Removing the dependencies to the org.eclipse.core.runtime bundle would enable use of OT/Equinox in a minimalistic, pure-Equinox runtime. Currently, this would include: * use OSGi Logging Service instead of org.eclipse.core.runtime.ILog * make TransformerPlugin? implement BundleActivator? instead of extending Plugin (if noone else relies on being it a Plugin)

Change History

Changed 5 years ago by mosconi

OSGi Logging interfaces: package org.osgi.service.log, implemented by org.eclipse.equinox.log

Changed 5 years ago by stephan

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to OTDT_1.2.1

Resolved in r18771:

  • implement BundleActivator instead of extending Plugin
  • push responsibility for logging down to the fragment (transformer.hook)

which can access the FrameworkLog instead of an ILog.

This also avoids the lines of console logging that previously occurred before the transformer plugin was ready for logging.

We're now down at:

Require-Bundle: org.eclipse.equinox.common,
 org.eclipse.equinox.registry,
 org.eclipse.osgi

plus two indirect dependencies:

  • org.eclipse.core.runtime.compatibility.registry
  • org.eclipse.core.jobs
Note: See TracTickets for help on using tickets.