Re: Deploying a bundle with configuration removes other configuration saved with Felix web console

2016-07-06 Thread Guillaume Lucazeau
> Does the deployment of your bundle-ui cause that /apps/sling/install folder to be deleted? Yes it does, indeed: SLING-INF/content/apps;path:=/apps;overwrite:=true;uninstall=true, It's a mistake, and the subdirectory of my application should be specified here. Adding it fixes the

Re: Deploying a bundle with configuration removes other configuration saved with Felix web console

2016-07-06 Thread Bertrand Delacretaz
Hi, On Wed, Jul 6, 2016 at 11:17 AM, Guillaume Lucazeau wrote: > ...3. I deploy bundle-ui with the Maven Sling plugin. During deployment, I see > it removes the configuration previously set... ... > [JcrInstaller.1] INFO o.a.s.i.p.jcr.impl.JcrInstaller - Deleting >

Re: Deploying a bundle with configuration removes other configuration saved with Felix web console

2016-07-06 Thread Carsten Ziegeler
Hi, I have the feeling that this has rather to do with your initial config. The installer is never deleting folders in the repository. It might delete an OsgiConfig node or a properties file, but not a folder. On the other hand, initial content - depending on how it is configured in your bundle

Re: Deploying a bundle with configuration removes other configuration saved with Felix web console

2016-07-06 Thread Guillaume Lucazeau
Hello Bertrand, Thank you for your reply, sure I can try to clarify. I have two bundles, bundle-core and bundle-ui. BUNDLE-CORE: declares an ImageComponentService, on which I can configure the URL to the main directories containing images: @Property(label="Images root URL", description="URL

Re: Deploying a bundle with configuration removes other configuration saved with Felix web console

2016-07-06 Thread Bertrand Delacretaz
Hi Guillaume, On Wed, Jul 6, 2016 at 9:01 AM, Guillaume Lucazeau wrote: > ...I've found out that if a configuration is initialized through a > sling:OsgiConfig node in a config.json file in /libs/myApp/install, the > configuration (even modified through the web console) is