I thought we had replyto set on this list... guess not...

---------- Forwarded message ----------
From: Tobias Ivarsson <thobes@gmail.com>
Date: Wed, Apr 1, 2009 at 1:55 AM
Subject: Re: [Jython-dev] [issue1293] Provide a default readline console using JLine
To: Oti <ohumbel@gmail.com>

On Wed, Apr 1, 2009 at 1:02 AM, Oti <ohumbel@gmail.com> wrote:
Hi Jim, others,

running the installer autotests on a full-build of revision 6140, i get:

Exception in thread "main" java.lang.NoClassDefFoundError: jline/Terminal
       at org.python.util.JLineConsole.<init>(JLineConsole.java:34)
       at org.python.util.JLineConsole.<init>(JLineConsole.java:22)
       at org.python.util.JLineConsole.<init>(JLineConsole.java:18)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
       at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
       at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
       at java.lang.Class.newInstance0(Class.java:350)
       at java.lang.Class.newInstance(Class.java:303)
       at org.python.util.jython.newInterpreter(jython.java:314)
       at org.python.util.jython.run(jython.java:140)
       at org.python.util.jython.main(jython.java:116)

IMHO we deliver the jline.jar, but we don't install nor add it to the
classpath at the moment.

If this should work out of the box, there is - beside the script
mentioned in the bug - some installer work involved, e.g. pack all the
jline classes into jython.jar in standalone mode.

I'd just be glad to hear a short OK before rolling up my sleeves.

OK. We should probably run jarjar on it if we include it in jython.jar

many thanks!

On Tue, Mar 31, 2009 at 5:48 AM, Jim Baker <report@bugs.jython.org> wrote:
> Jim Baker <zyasoft@users.sourceforge.net> added the comment:
> Changed the registry to default to using JLine. As usual, our
> documentation (http://wiki.python.org/jython/ReadlineSetup) is obsolete
> here, there's no need to use jline.ConsoleRunner.
> We need to track updates to the JLine project, we currently have 0.9.94,
> but JRuby is working on an updated version.
> In addition, the JRuby startup script has some specific workarounds for
> cygwin that we need to apply to our startup script.
> ----------
> nosy: +otmarhumbel
> resolution:  -> accepted
> title: Arrow keys results in "weirdness" ;) on default install of Jython 2.5 -> Provide a default readline console using JLine
> _______________________________________
> Jython tracker <report@bugs.jython.org>
> <http://bugs.jython.org/issue1293>
> _______________________________________

Jython-dev mailing list