Thanks Chetan - just what I was looking for :) David
On 14 July 2014 20:13, Chetan Mehrotra <[email protected]> wrote: > You can do that via Sling File Install Provider which provide features > similar to Felix FileInstall > > * Specify a system property (or framework property) > 'sling.fileinstall.dir' to point to directory where you would place > your config file > * Place your file to install folder and it would be pickedup and > deployed (.cfg or even bundles). Removing them would cause them to be > removed > Chetan Mehrotra > > > On Mon, Jul 14, 2014 at 11:56 PM, David Bosschaert > <[email protected]> wrote: >> Thanks Chetan, >> >> Sorry, I didn't mention this. I do not want to modify the launchpad >> jar file. So I would rather copy these files to a directory that is >> available at runtime (I presume somewhere under the sling/ directory >> that is created when starting up). >> >> I tried copying them to sling/config/foo/bar/Something.config but that >> didn't work... >> >> Thanks, >> >> David >> >> On 14 July 2014 19:19, Chetan Mehrotra <[email protected]> wrote: >>> Trying placing the cfg files in >>> https://github.com/apache/sling/tree/trunk/launchpad/builder/src/main/config >>> folder and Launchpad plugin should package them as part of launchpad >>> jar >>> Chetan Mehrotra >>> >>> >>> On Mon, Jul 14, 2014 at 11:33 PM, David Bosschaert >>> <[email protected]> wrote: >>>> Hi all, >>>> >>>> I was wondering how I can provide configuration files for OSGi config >>>> admin using the default Sling standalone Launchpad. >>>> So basically I would like to copy some file to some place when the >>>> launchpad is running to set some OSGi Config Admin configuration >>>> dynamically. >>>> >>>> This is basically what the Felix File install allows you to do with >>>> .cfg files. Is there something like this available in what you get >>>> with the launchpad? >>>> >>>> Thanks, >>>> >>>> David
