The gogo.jline bundle pom shows jline 3.0.0

https://repository.apache.org/content/repositories/orgapachefelix-1146/org/apache/felix/org.apache.felix.gogo.jline/1.0.0/org.apache.felix.gogo.jline-1.0.0.pom

HTH,
- Ray

On Fri, Oct 14, 2016 at 10:23 AM, Pierre De Rop <pierre.de...@gmail.com>
wrote:

> Hi,
>
> Guillaume, I'm trying to test the release. To do so, I have replaced my
> gogo bundles with the bundles from this release candidate, but what jline
> version should I use ?
>
> I tried jline-3.0.0.M1.jar, but using this version, I'm then having the
> following problem:
>
> java -jar bin/felix.jar
> Exception in thread "Gogo shell" java.lang.NoSuchMethodError:
> org.jline.terminal.TerminalBuilder.nativeSignals(Z)Lorg/jline/terminal/
> TerminalBuilder;
>         at
> org.apache.felix.gogo.jline.Activator.doStartShell(Activator.java:134)
>         at
> org.apache.felix.gogo.jline.Activator.lambda$startShell$0(
> Activator.java:106)
>         at java.lang.Thread.run(Thread.java:745)
> gogo: NullPointerException: null
> gogo: NullPointerException: null
> java.lang.NullPointerException
>         at java.util.Objects.requireNonNull(Objects.java:203)
>         at
> org.jline.reader.impl.LineReaderImpl.<init>(LineReaderImpl.java:260)
>         at
> org.jline.reader.LineReaderBuilder.build(LineReaderBuilder.java:90)
>         at org.apache.felix.gogo.jline.Shell.gosh(Shell.java:297)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> 62)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at
> org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:136)
>         at
> org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
>         at
> org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:548)
>         at
> org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:474)
>         at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:363)
>         at org.apache.felix.gogo.runtime.Pipe.doCall(Pipe.java:417)
>         at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:227)
>         at org.apache.felix.gogo.runtime.Pipe.call(Pipe.java:59)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
>
> I'm using the following bundles, using Felix framework 5.6.0 (with java
> 1.8.0_102):
>
> org.apache.felix.bundlerepository-2.0.8.jar
> org.apache.felix.gogo.command-1.0.0.jar
> org.apache.felix.gogo.jline-1.0.0.jar
> org.apache.felix.gogo.runtime-1.0.0.jar
> org.apache.felix.gogo.shell-1.0.0.jar
> jline-3.0.0.M1.jar
>
> Am I testing with the wrong jline version ?
>
> thank you;
>
> BR
> /Pierre
>
> On Wed, Oct 12, 2016 at 2:11 PM, Raymond Auge <raymond.a...@liferay.com>
> wrote:
>
> > +1 (non-binding)
> >
> > On Wed, Oct 12, 2016 at 7:18 AM, Achim Nierbeck <bcanh...@googlemail.com
> >
> > wrote:
> >
> > > +1 (non-binding)
> > >
> > > regards, Achim
> > >
> > > 2016-10-12 13:16 GMT+02:00 Jean-Baptiste Onofré <j...@nanthrax.net>:
> > >
> > > > +1 (binding)
> > > >
> > > > Regards
> > > > JB
> > > >
> > > >
> > > > On 10/12/2016 01:14 PM, Christian Schneider wrote:
> > > >
> > > >> +1 (non binding)
> > > >>
> > > >> Christian
> > > >>
> > > >> On 11.10.2016 21:31, Guillaume Nodet wrote:
> > > >>
> > > >>> As discussed on the mailing list, I've staged a 1.0.0 release of
> the
> > > gogo
> > > >>> bundles at
> > > >>>    https://repository.apache.org/content/repositories/orgap
> > > >>> achefelix-1146
> > > >>>
> > > >>> This includes all the bundles versioned at 1.0.0.
> > > >>> The requirement are
> > > >>>    * JDK 7
> > > >>>    * JDK 8 for the gogo.jline bundle
> > > >>>
> > > >>> I've removed the status=provisional, bumped the package to version
> > > 1.0.0,
> > > >>> moved the CommandSessionListener in the same place than the
> > > >>> CommandProcessor / CommandSession, etc...
> > > >>>
> > > >>> There are small incompatibilities, hence the requirement for a
> major
> > > >>> bump,
> > > >>> and I think a 1.0 release is definitely missing anyway.
> > > >>>
> > > >>> To test it, you can use the felix distribution and replace the
> > bundles
> > > >>> with
> > > >>> the new ones, either use gogo.runtime + gogo.shell on JDK7 or
> > > >>> gogo.runtime
> > > >>> + gogo.jline + jline on JDK8.
> > > >>> The gogo.jline bundle provides history, completion and quite a few
> > nice
> > > >>> things you really ought to try !
> > > >>>
> > > >>> Please review and vote !
> > > >>>
> > > >>> Cheers,
> > > >>> Guillaume Nodet
> > > >>>
> > > >>>
> > > >>
> > > >>
> > > > --
> > > > Jean-Baptiste Onofré
> > > > jbono...@apache.org
> > > > http://blog.nanthrax.net
> > > > Talend - http://www.talend.com
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Apache Member
> > > Apache Karaf <http://karaf.apache.org/> Committer & PMC
> > > OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
> Committer
> > &
> > > Project Lead
> > > blog <http://notizblog.nierbeck.de/>
> > > Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
> > >
> > > Software Architect / Project Manager / Scrum Master
> > >
> >
> >
> >
> > --
> > *Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
> >  (@rotty3000)
> > Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
> >  (@Liferay)
> > Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org>
> > (@OSGiAlliance)
> >
>



-- 
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile>
 (@rotty3000)
Senior Software Architect *Liferay, Inc.* <http://www.liferay.com>
 (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)

Reply via email to