Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Alex Soto
Thank you very much, JB. Best regards, Alex soto > On Feb 24, 2020, at 3:24 PM, Jean-Baptiste Onofre wrote: > > Hi Alex, > > Actually, the —add-module that I was thinking is already there. > > The problem is about the Felix framework (also equinox). > > Karaf 4.3.0.RC1 just works fine

Re: Edit Multiline Text

2020-02-24 Thread Jean-Baptiste Onofre
Hi, Less or nano commands are part of gogo jline posix: https://github.com/apache/felix/blob/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Posix.java Regards JB > Le 24

Re: Edit Multiline Text

2020-02-24 Thread Matthias Wegner
Hi JB, can you give me a hint where i find the source. At https://github.com/apache/karaf/search?q=less_q=less i not find the command. Regards, MW Am 24.02.20 um 21:02 schrieb Jean-Baptiste Onofre: Hi, You can take a look how we implemented the less command for instance (or vi/edit). It’s

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Jean-Baptiste Onofre
Hi Alex, Actually, the —add-module that I was thinking is already there. The problem is about the Felix framework (also equinox). Karaf 4.3.0.RC1 just works fine with JDK 13 (as I upgraded Felix framework version). However, Karaf 4.2.x only supports up to JDK 11. I just tried with Karaf

Re: Edit Multiline Text

2020-02-24 Thread Jean-Baptiste Onofre
Hi, You can take a look how we implemented the less command for instance (or vi/edit). It’s pretty close to what you are looking for. Regards JB > Le 24 févr. 2020 à 20:03, Matthias a écrit : > > Hi, > > I want to use a custom command in karaf to edit a text with multiline "\n". > > My

Edit Multiline Text

2020-02-24 Thread Matthias
Hi, I want to use a custom command in karaf to edit a text with multiline "\n". My problem is not to set a multiline text, because this works fine with quotation (") at start and then add the wanted text. My problem is to "reload" the text, so it can be edited again. If i add it to a completer

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Jean-Baptiste Onofre
Hi Alex, I gonna provide the workaround in the Jira and share there after (I’m working on the fix in the train ;) ). Regards JB > Le 24 févr. 2020 à 18:50, Alex Soto a écrit : > > Hi JB, > > As a work-around, can you provide more detail about the fix? > Where do I need to add the

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Alex Soto
Hi JB, As a work-around, can you provide more detail about the fix? Where do I need to add the `—ad-module` ? Best regards, Alex soto > On Feb 24, 2020, at 12:37 PM, Jean-Baptiste Onofre wrote: > > Hi, > > As said, it’s very easy to fix: just a missing —add-module. > > I’m fixing it

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Jean-Baptiste Onofre
Hi, As said, it’s very easy to fix: just a missing —add-module. I’m fixing it right now. Thanks for the Jira. Regards JB > Le 24 févr. 2020 à 18:02, Alex Soto a écrit : > > I tested with JDK 11 and it worked, but it does not work with JDK 13. > I hope I can migrate to 13 directly, since it

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Alex Soto
Done: https://issues.apache.org/jira/browse/KARAF-6624 Best regards, Alex soto > On Feb 24, 2020, at 12:09 PM, Freeman Fang wrote: > > Hi Alex, > > Thanks for the detailed feedback. > Would you please create a jira ticket so that we can

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Freeman Fang
Hi Alex, Thanks for the detailed feedback. Would you please create a jira ticket so that we can have better track there. Thanks! Freeman On Mon, Feb 24, 2020 at 12:02 PM Alex Soto wrote: > I tested with JDK 11 and it worked, but it does not work with JDK 13. > I hope I can migrate to 13

Re: Karaf 4.2.8 and Java 13 (Was: Error parsing system bundle export statement (Java 13))

2020-02-24 Thread Alex Soto
I tested with JDK 11 and it worked, but it does not work with JDK 13. I hope I can migrate to 13 directly, since it it the current version. With JDK 13, here is the error: $ bin/karaf ERROR: Error parsing system bundle export statement:

A feature (CXF) exposing its own version of javax.xml.bind

2020-02-24 Thread lechlukasz
Hello, After updating some of the libraries in my container, I've got an error about javax.xml.bind being exposed via 2 dependency chains. It is about javax.xml.bind that is exposed by both system bundle and and jakarta.xml.bind-api, which is installed by cxf-features