Problems with using configurations in custom distribution.

2018-02-21 Thread SvS
I try to create a custom distribution with modified configuration files and see the following problems: 1. Modifications of the configuration (with profiles and also KarafPropertyEdits) are overwritten with the configuration part (.. .) defined in the feature file. I assume that's not the intent

Re: Problems with using configurations in custom distribution.

2018-02-21 Thread Francois Papon
Hi, You can put a file named assembly-property-edits.xml in the src/main/karaf of the assembly module of your custom distribution. the operation put update an existing value and extend add a new value in the file specified by the file tag. exemple of file :   http://karaf.apache.org/tools

Re: Problems with using configurations in custom distribution.

2018-02-21 Thread SvS
Hi Francois, To use the resources plugin is always an option, but it is not so powerful (for a custom distribution) as a karaf profile or property edits. Property edits and profiles works fine in karaf version 4.0.9, but not in the versions 4.1.0 - 4.1.5 or 4.2.0.M2. Regards, SvS. - Regard

Re: Problems with using configurations in custom distribution.

2018-02-21 Thread Jean-Baptiste Onofré
Hi, If it's not the case by default with , should goes into the etc folder (if the finalname is correct of course, containing the local filesystem). It should already be the case. Can you share your project especially how to you create your profile and how do you use it ? Thanks ! Regards JB On

Re: Problems with using configurations in custom distribution.

2018-07-17 Thread SvS
Hi JB, This is not the case at the moment. Only when is used, a file will appear in the etc. directory and not with . As you have already seen, incidents and pull requests have been created. KARAF-5781 : Properties edit doesn't conserve the ex

Re: Problems with using configurations in custom distribution.

2018-07-17 Thread Jean-Baptiste Onofré
Hi, I set myself as reviewer on the PRs and already provided some feedback. I'm just waiting for your feedback following my comments. Regards JB On 17/07/2018 11:47, SvS wrote: > Hi JB, > > This is not the case at the moment. Only when is used, a file will > appear in the etc. directory and n

Re: Problems with using configurations in custom distribution.

2018-07-17 Thread SvS
Hi JB, I have also given an answer. See PR 553 . Is this enough? Do you not receive a notification? - Regards, SvS -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Problems with using configurations in custom distribution.

2018-07-17 Thread Jean-Baptiste Onofré
Oh sorry, I missed the github notification. Let me resume the review tonight. Thanks ! Regards JB On 17/07/2018 16:52, SvS wrote: > Hi JB, > > I have also given an answer. See PR 553 > . Is this enough? Do you not > receive a notification? > > > >