Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » extending FrameworkConsole
extending FrameworkConsole [message #96097] Tue, 28 August 2007 20:25
Eclipse UserFriend
Originally posted by: jerry_frain.yahoo.com

Hi,

I'm attempting to extend the vanilla osgi console class,
FrameworkConsole, to add support for jline
(http://jline.sourceforge.net/) so I can edit commands, see previous
command history, etc.

I was able to extend FrameworkConsole and override the input to come
from a jline ConsoleReader. I defined osgi.consoleClass to point to my
new JlineConsole class. Now I'm trying to figure out how to get my
JlineConsole class into the classpath of the org.eclipse.osgi plugin so
my console can be found.

One way I can do this is by redefining osgi.frameworkClassPath in my
config.ini. However, I think I have to specify absolute paths, vs.
platform:/base/... paths without versions. I'm generating the binary
and distribution from an eclipse product plugin.

Is there a better way to make a class available to the osgi framework
without doing this?

Thanks,

Jerry
Previous Topic:EventAdmin Problem
Next Topic:Equinox HTTP server configuration
Goto Forum:
  


Current Time: Thu Mar 28 22:30:07 GMT 2024

Powered by FUDForum. Page generated in 0.02608 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top