Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 10:15, Ian Boston wrote: Bug or expected behaviour ? The registered bundle content contains no uninstall-paths so IIUC, nothing should have been uninstalled and yet the folders go awal x43543-2:contenttest ieb$ curl

Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 10:35, Ian Boston wrote: On 24 Sep 2010, at 10:15, Ian Boston wrote: Bug or expected behaviour ? The registered bundle content contains no uninstall-paths so IIUC, nothing should have been uninstalled and yet the folders go awal x43543-2:contenttest ieb$ curl

Re: Content Loader and Overwrite logic

2010-09-24 Thread Felix Meschberger
Hi, Am 24.09.2010 11:50, schrieb Ian Boston: On 24 Sep 2010, at 10:47, Carsten Ziegeler wrote: Ian Boston wrote contentFolder1/contentInFolder2.txt is missing, indicating that subfolders are deleted when uninstall=false even if the content of the sub folder came from another bundle.

Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 10:54, Felix Meschberger wrote: Do we need such a flag ? Shouldn't this be default ? Not really sure and not having thought of all the backwards-compatibility consequences. Well that would make sense, at the moment an updated bundle doesn't result in updated content,

Re: Content Loader and Overwrite logic

2010-09-24 Thread Carsten Ziegeler
Ian Boston wrote On 24 Sep 2010, at 11:06, Carsten Ziegeler wrote: So if you want to update this content, you should update the corresponding bundle. Thats the bit thats not really working (unless I say overwrite:=true) Yes, right - that's why you should have overwrite:=true :) as

Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 11:21, Carsten Ziegeler wrote: Ian Boston wrote On 24 Sep 2010, at 11:06, Carsten Ziegeler wrote: So if you want to update this content, you should update the corresponding bundle. Thats the bit thats not really working (unless I say overwrite:=true) Yes, right -

Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 11:21, Carsten Ziegeler wrote: Ian Boston wrote On 24 Sep 2010, at 11:06, Carsten Ziegeler wrote: So if you want to update this content, you should update the corresponding bundle. Thats the bit thats not really working (unless I say overwrite:=true) Yes, right -

Re: Content Loader and Overwrite logic

2010-09-24 Thread Felix Meschberger
Hi, Am 24.09.2010 13:06, schrieb Ian Boston: On 24 Sep 2010, at 11:57, Felix Meschberger wrote: Hi, Am 24.09.2010 12:39, schrieb Ian Boston: On 24 Sep 2010, at 11:21, Carsten Ziegeler wrote: Ian Boston wrote On 24 Sep 2010, at 11:06, Carsten Ziegeler wrote: So if you want to

Re: Content Loader and Overwrite logic

2010-09-24 Thread Ian Boston
On 24 Sep 2010, at 12:12, Felix Meschberger wrote: Use that, and fall back to Bundle.getLastModified() is missing? The correct thing is to use URLConnection.getLastModified(), which unfortunately gives you the Bundle.getLastModified() in Felix but may at the same time give you the