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