Hi,

I tried this without luck. 
No file in etc than ... perhaps missing something 

Regards
Stefan 

> Am 17.03.2021 um 20:48 schrieb jbonofre [via Karaf] 
> <[email protected]>:
> 
>  Hi,
> 
> Yes, it’s what I said in my previous email: if you set 
> Felix.fileinstall.filename property with cfg extension, it will work as well.
> 
> Regards
> JB
> 
>> Le 17 mars 2021 à 20:00, Stefan Günst <[hidden email]> a écrit :
>> 
>> Hi JB,
>> 
>> just for info.
>> 
>> I workaround it by first creating an empty configfile (cfg) in etc for PID 
>> and then config.update() works as expected and use this propertiesfile 
>> without creating json.
>> 
>> Regards
>> 
>> Stefan
>> 
>> 
>> 
>> 
>>>> Am 17.03.2021 um 11:32 schrieb jbonofre [via Karaf] <[hidden email]>:
>>>> 
>>>> Not  really: both cfg and json are managed in Karaf Config bundle.
>>>> 
>>>> So, I have to add a flag there to disable json completely.
>>>> 
>>>> However, when you do config.update(), if you provide 
>>>> Felix.fileinstall.filename property with cfg, it won’t generate json file.
>>>> I guess you don’t specify the fileinstall property.
>>>> 
>>>> I should also change default to cfg (instead of json).
>>>> 
>>>> Regards
>>>> JB
>>>> 
>>>> Le 17 mars 2021 à 11:03, Stefan Günst <<a 
>>>> href="x-msg://81/user/SendEmail.jtp?type=node&amp;node=4059710&amp;i=0" 
>>>> target="_top" rel="nofollow" link="external" class="">[hidden email]> a 
>>>> écrit :
>>>> 
>>>> Hi JB,
>>>> 
>>>> not really!
>>>> 
>>>> I use ConfigurationAdmin and than "config.update(props)“ 
>>>> 
>>>> So i think we must disable json global ….
>>>> 
>>>> Is there a way to do this perhaps with blacklisting bundles ?
>>>> 
>>>> Regards
>>>> 
>>>> Stefan
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> Am 17.03.2021 um 10:47 schrieb jbonofre [via Karaf] <<a 
>>>>> href="x-msg://81/user/SendEmail.jtp?type=node&amp;node=4059710&amp;i=1" 
>>>>> target="_top" rel="nofollow" link="external" class="">[hidden email]>:
>>>>> 
>>>>> Hi, 
>>>>> 
>>>>> Understood. 
>>>>> 
>>>>> I think we should create cfg by default and add a option to config:edit 
>>>>> to "flag" we want json file. 
>>>>> 
>>>>> Is it acceptable for you ? 
>>>>> 
>>>>> Regards 
>>>>> JB 
>>>>> 
>>>>> > Le 17 mars 2021 à 10:09, Stefan Günst <<a href="<a 
>>>>> > href="x-msg://76/user/SendEmail.jtp?type=node&amp;amp;node=4059708&amp;amp;i=0"
>>>>> >  
>>>>> > class="">x-msg://76/user/SendEmail.jtp?type=node&amp;node=4059708&amp;i=0"
>>>>> >  target="_top" rel="nofollow" link="external" class="">[hidden email]> 
>>>>> > a écrit : 
>>>>> > 
>>>>> > Hi JB, 
>>>>> > 
>>>>> > yes at the moment i still using .cfg overall and dont’t want to mix 
>>>>> > this. 
>>>>> > Generate new configs by code defaults to json what i want to avoid. 
>>>>> > 
>>>>> > Regards 
>>>>> > 
>>>>> > Stefan 
>>>>> > 
>>>>> > 
>>>>> > 
>>>>> >> Am 17.03.2021 um 09:53 schrieb Jean-Baptiste Onofre <<a href="<a 
>>>>> >> href="x-msg://76/user/SendEmail.jtp?type=node&amp;amp;node=4059708&amp;amp;i=1"
>>>>> >>  
>>>>> >> class="">x-msg://76/user/SendEmail.jtp?type=node&amp;node=4059708&amp;i=1"
>>>>> >>  target="_top" rel="nofollow" link="external" class="">[hidden 
>>>>> >> email]>: 
>>>>> >> 
>>>>> >> Hi Stefan, 
>>>>> >> 
>>>>> >> What do you mean ? 
>>>>> >> If you still use *.cfg files, it’s still properties. 
>>>>> >> 
>>>>> >> JSON config format is used when you use *.json file. 
>>>>> >> 
>>>>> >> Do you mean when you create a config via config:* shell commands ? 
>>>>> >> 
>>>>> >> Regards 
>>>>> >> JB 
>>>>> >> 
>>>>> >>> Le 17 mars 2021 à 09:50, Stefan Günst <<a href="<a 
>>>>> >>> href="x-msg://76/user/SendEmail.jtp?type=node&amp;amp;node=4059708&amp;amp;i=2"
>>>>> >>>  
>>>>> >>> class="">x-msg://76/user/SendEmail.jtp?type=node&amp;node=4059708&amp;i=2"
>>>>> >>>  target="_top" rel="nofollow" link="external" class="">[hidden 
>>>>> >>> email]> a écrit : 
>>>>> >>> 
>>>>> >>> Hi, 
>>>>> >>> 
>>>>> >>> what is the best way to disable the JSON-configformat globally in 
>>>>> >>> Karaf 4.3.0? 
>>>>> >>> 
>>>>> >>> 
>>>>> >>> Regards 
>>>>> >>> 
>>>>> >>> Stefan 
>>>>> >> 
>>>>> >
>>>>> 
>>>>> If you reply to this email, your message will be added to the discussion 
>>>>> below:
>>>>> http://karaf.922171.n3.nabble.com/Howto-disable-JSON-Configformat-global-in-Karaf-4-3-0-tp4059705p4059708.html
>>>>> To unsubscribe from Karaf - User, click here.
>>>>> NAML
>>>> 
>>> 
>>> 
>>> 
>>> If you reply to this email, your message will be added to the discussion 
>>> below:
>>> http://karaf.922171.n3.nabble.com/Howto-disable-JSON-Configformat-global-in-Karaf-4-3-0-tp4059705p4059710.html
>>> To unsubscribe from Karaf - User, click here.
>>> NAML
>> 
> 
> 
> 
> If you reply to this email, your message will be added to the discussion 
> below:
> http://karaf.922171.n3.nabble.com/Howto-disable-JSON-Configformat-global-in-Karaf-4-3-0-tp4059705p4059712.html
> To unsubscribe from Karaf - User, click here.
> NAML

Reply via email to