Yes! 'mvn dependency:tree' showed I get an old jline bundle
(org.apache.servicemix.bundles.jline:jar:0.9.94_1) via my Neo4j client
dependency.
Adding an exclusion to the dependency and my example does work.
package org.example;
import jline.TerminalFactory;
import
Can you run a "mvn dependency:tree" on your bundle ? I do suspect you have
a jline 1.x somewhere, as found by the maven bundle plugin when computing
the package version.
2016-12-07 20:06 GMT+01:00 Max Spring :
> Yes, I probably have here some build issue going on.
>
>
Yes, I probably have here some build issue going on.
I've got the jline bundle v2.13.0 in my container:
| karaf@root()> list -s -t 0 | grep jline
| 22 | Active | 30 | 2.13.0 | jline
|
| karaf@root()> bundle:headers 22
|
| JLine (22)
| --
| Archiver-Version = Plexus
The second approach should definitely work, see
https://github.com/apache/karaf/blob/karaf-3.0.x/shell/commands/src/main/java/org/apache/karaf/shell/commands/impl/MoreAction.java#L40
The exception is a bit unexpected. Maybe you're compiling against a very
old version of jline ? In JLine 1.x,
Hi Max,
AFAIR, the Session should contain the width. Let me check.
Regards
JB
On 12/07/2016 07:16 PM, Max Spring wrote:
Is there a way to get the actual jline terminal object in a Karaf command?
I want to format the command output depending on the terminal width.
I'm on Ubuntu 16.04, Java
Is there a way to get the actual jline terminal object in a Karaf command?
I want to format the command output depending on the terminal width.
I'm on Ubuntu 16.04, Java 1.8.0_60-x64, and Karaf 3.0.5.
This one
package org.example;
import jline.TerminalFactory;
import
Hi Jason,
not yet (I "only" pushed the user guide).
I will do it asap.
Regards
JB
On 12/07/2016 06:47 PM, Jason Pratt wrote:
is the "new" dev guide online now?
On Wed, Dec 7, 2016 at 7:19 AM, Jean-Baptiste Onofré > wrote:
Hi Milen,
I
is the "new" dev guide online now?
On Wed, Dec 7, 2016 at 7:19 AM, Jean-Baptiste Onofré
wrote:
> Hi Milen,
>
> I have something like this in the "new" dev guide.
>
> Regards
> JB
>
> On 12/06/2016 07:14 PM, Milen Dyankov wrote:
>
>> Hi,
>>
>> is there any documentation that
Note that if you don't build locally, you will certainly need to add the
maven repository in etc/org.ops4j.pax.url.mvn.cfg so that karaf can
download all the snapshots needed.
2016-12-07 18:41 GMT+01:00 Guillaume Nodet :
> Yes, try with 4.1.0-SNAPSHOT.
>
Yes, try with 4.1.0-SNAPSHOT.
https://repository.apache.org/content/groups/snapshots/org/apache/karaf/apache-karaf-minimal/4.1.0-SNAPSHOT/
2016-12-07 18:27 GMT+01:00 Gunnar Morling :
> I'm using the latest stable, 4.0.7.
>
> What could I try instead, 4.1.0-SNAPSHOT? Are
I'm using the latest stable, 4.0.7.
What could I try instead, 4.1.0-SNAPSHOT? Are you deploying snapshots
somewhere? Or do I need to build from source myself?
2016-12-07 18:10 GMT+01:00 Jean-Baptiste Onofré :
> Hi
>
> Improvements have already been done. Which version do you
Hi
Improvements have already been done. Which version do you try ? A SNAPSHOT ?
Regards
JB
On Dec 7, 2016, 18:05, at 18:05, Gunnar Morling wrote:
>Hi,
>
>Has anyone had success with running Karaf on Java 9?
>
>When trying to start the container, I'm running into
Hi,
Has anyone had success with running Karaf on Java 9?
When trying to start the container, I'm running into KARAF-3518 [1] which
is related to "endorsed" directories not working any longer under Java 9.
The issue is marked as unresolved; are there any efforts to make Karaf
usable with Java 9?
Could you please raise a JIRA with the above inforamtion ?
That looks like a bug...
2016-12-07 5:53 GMT+01:00 Dario Amiri :
> Here is a project on github that reproduces this issue:
> https://github.com/damiri-ts/karaf-features-issue
> After more investigation, the root
Hi Milen,
I have something like this in the "new" dev guide.
Regards
JB
On 12/06/2016 07:14 PM, Milen Dyankov wrote:
Hi,
is there any documentation that explains features.xml in details?
Particularly things like
- conditional features
- prerequisite and dependency bundles
- requirements
15 matches
Mail list logo