So there is no difference between .cfg and .config?


--
Matthew Bishop
Senior Product Architect
Elastic Path Inc.

On 2013-09-04, at 11:43 AM, "Jean-Baptiste Onofré" <[email protected]> wrote:

> Hi,
>
> if you take a look in etc/config.properties, you will find the configuration 
> of ConfigAdmin/FileInstall:
>
> felix.fileinstall.dir    = ${karaf.base}/etc
> felix.fileinstall.filter = .*\\.cfg
> felix.fileinstall.poll   = 1000
> felix.fileinstall.noInitialDelay = true
> felix.fileinstall.log.level = 3
>
> So, the filter means that only .cfg file are considered by FileInstall (and 
> loaded in ConfigAdmin).
>
> By default, .config file will be ignored by FileInstall.
>
> The "Karaf standard" is to use .cfg file for "auto-loading" in the etc folder.
>
> Regards
> JB
>
> On 09/04/2013 07:48 PM, Matthew Bishop wrote:
>> What is the difference between config admin file types .cfg and .config?
>>
>> Also I can't find any specs for these files. I am using to source from Felix 
>> as my guide but that doesn't seem like the right answer :)
>>
>>
>>
>> Matthew Bishop, Senior Architect
>> Mobile: +1-604-218-8102
>> Email: [email protected]
>>
>> Elastic Path Software Inc.
>> Web: www.elasticpath.com
>> Blog: www.getelastic.com
>> Community: grep.elasticpath.com
>> Careers: www.elasticpath.com/jobs
>>
>> Confidentiality Notice: This message is intended only for the use of the 
>> designated addressee(s), and may contain information that is privileged, 
>> confidential and exempt from disclosure. Any unauthorized viewing, 
>> disclosure, copying, distribution or use of information contained in this 
>> e-mail is prohibited and may be unlawful. If you received this e-mail in 
>> error, please reply to the sender immediately to inform us you are not the 
>> intended recipient and delete the email from your computer system. Thank you.
>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



Matthew Bishop, Senior Architect
Mobile: +1-604-218-8102
Email: [email protected]

Elastic Path Software Inc.
Web: www.elasticpath.com
Blog: www.getelastic.com
Community: grep.elasticpath.com
Careers: www.elasticpath.com/jobs

Confidentiality Notice: This message is intended only for the use of the 
designated addressee(s), and may contain information that is privileged, 
confidential and exempt from disclosure. Any unauthorized viewing, disclosure, 
copying, distribution or use of information contained in this e-mail is 
prohibited and may be unlawful. If you received this e-mail in error, please 
reply to the sender immediately to inform us you are not the intended recipient 
and delete the email from your computer system. Thank you.


Reply via email to