extending FrameworkConsole [message #96097] |
Tue, 28 August 2007 20:25 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02608 seconds