karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <ch...@die-schneider.net>
Subject Shell command to initially persist a config pid
Date Wed, 12 Sep 2012 15:19:41 GMT
The felix config admin service handles the persistence of a config pid 
to a file in etc nicely if the file is already exists but it does not 
allow the creation of the file.

So I think it could make sense to have a command like:
config:save org.ops4j.pax.web

It would create the org.ops4j.pax.web.cfg in etc and initially populate 
it with the current config pid contents. Ideally the command would 
delegate this to Felix config admin so we do not replicate to much
of the persistence code there.

What do you think?

Christian

-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
Talend Application Integration Division http://www.talend.com


Mime
View raw message