Am Freitag, 22. März 2013 schrieb Fabian Christ:
> Hi,

hello Fabian,

> 2013/3/21 Bill Puschmann <[email protected]>:
> > From what I was able to understand,
> > though, is that stopping a bundle or removing it did not remove the
> > content as well.  The bundle could be used to inject data into the JCR,
> > but after that, the bundle lost all claim on it.  Was there a
> > configuration item that we overlooked?
> 
> Imagine I have bundle A 1.0 that contains some initial content
> definition for my webapp. The development goes on and some more
> content is added or maybe even some resources are removed from the
> bundle. The new bundle is deployed as A 2.0 to Sling. How is the
> update process handled?
> 
> 1) Are new resources added to the JCR?
> 2) Are existing resources overwritten?
> 3) Are resources removed that are in the JCR but not in the bundle? (I
> can not imagine how that should work but maybe Sling has a strategy
> for that).

it depends on your configuration, please see options "overwrite" and 
"uninstall" on page http://sling.apache.org/site/content-loading.html
If you uninstall a "path", even content not in your bundle is removed from the 
JCR - so be very careful.

regards,
O.

> --
> Fabian
> http://twitter.com/fctwitt

Reply via email to