Re: Karaf assembly plugin property edits erasing properties

2018-07-11 Thread Jean-Baptiste Onofré
Oh it's when you edit the properties, I see. Le 11 juil. 2018 à 16:08, à 16:08, SvS a écrit: >Karaf version 4.1.5 have the same problem and the plugin did not work >well. I >have created a pull request ( GitHub Pull Request #544 > ) to fix it > > >

Re: Karaf assembly plugin property edits erasing properties

2018-07-11 Thread Jean-Baptiste Onofré
I'm reviewing it but I'm a bit surprised as we are using internally for the Karaf standard distribution. Le 11 juil. 2018 à 16:08, à 16:08, SvS a écrit: >Karaf version 4.1.5 have the same problem and the plugin did not work >well. I >have created a pull request ( GitHub Pull Request #544

Re: Karaf assembly plugin property edits erasing properties

2018-07-11 Thread SvS
Karaf version 4.1.5 have the same problem and the plugin did not work well. I have created a pull request ( GitHub Pull Request #544 ) to fix it - Regards, SvS -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Jean-Baptiste Onofré
Sorry I meant prepend because it could change the reading of the property. It seems like a regression in 4.2.0. I created https://issues.apache.org/jira/browse/KARAF-5781 On the other hand, I also created https://issues.apache.org/jira/browse/KARAF-5782 to verify the create kar goal behavior.

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Francois Papon
Ok, sorry for the understanding. François Papon fpa...@apache.org Open3m - https://www.open3m.io Le 08/06/2018 à 20:52, Alex Soto a écrit : > I understand “extend” will append the value to the existing property, > not what I am looking for, but I tried, and still didn’t work, i.e., > same

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
I understand “extend” will append the value to the existing property, not what I am looking for, but I tried, and still didn’t work, i.e., same result. Best regards, Alex soto > On Jun 8, 2018, at 12:46 PM, Francois Papon > wrote: > > Mmm weird, because I used "extend" and it appended in

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Francois Papon
Mmm weird, because I used "extend" and it appended in the end of the property file. Can you try ? François Papon fpa...@apache.org Open3m - https://www.open3m.io Le 08/06/2018 à 19:54, Alex Soto a écrit : > Hi François, JB mentioned “append” but I do not see any “append” in > your example. > As

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
Hi François, JB mentioned “append” but I do not see any “append” in your example. As I indicated in my original post, I am using put but all other properties in the file are being removed. Best regards, Alex soto > On Jun 8, 2018, at 11:43 AM, Francois Papon > wrote: > > Hi Alex, > >

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Francois Papon
Hi Alex, Here an example : http://karaf.apache.org/tools/property-edits/1.0.0;>       config.properties     put     karaf.framework     equinox         config.properties     extend    

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Alex Soto
Append? No, I've never seen this documented anywhere, can you point me to a documentation resource where this is mentioned/illustrated? Best regards, Alex soto > On Jun 8, 2018, at 8:52 AM, Jean-Baptiste Onofré wrote: > > Did you set append on the edit ? > > Regards > JB > > On

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread Jean-Baptiste Onofré
Did you set append on the edit ? Regards JB On 07/06/2018 21:47, Alex Soto wrote: > Hello, > > Using Karaf 4.2.0, I want to update a property in my custom > distribution. So I add file /src/main/karaf/assembly-property-edits.xml/ > with:  > > >     org.ops4j.pax.web.cfg >     put

Re: Karaf assembly plugin property edits erasing properties

2018-06-08 Thread SvS
Hi Alex, I have similar problems. In my opinion, it is not the expected behavior. Older versions work as you would like. I am using the old version of the karaf-maven plugin (4.0.10). See this

Karaf assembly plugin property edits erasing properties

2018-06-07 Thread Alex Soto
Hello, Using Karaf 4.2.0, I want to update a property in my custom distribution. So I add file src/main/karaf/assembly-property-edits.xml with: org.ops4j.pax.web.cfg put org.osgi.service.http.port 8182 The result is: #Modified by