Konrad Windszus wrote
> Hi,
> according to 
> https://sling.apache.org/documentation/bundles/file-installer-provider.html#runmode-support
>  
> <https://sling.apache.org/documentation/bundles/file-installer-provider.html#runmode-support>
>  the file installer supports run modes if within the watched folder there is 
> a folder with a name specifying a run mode.
> By looking at the code 
> https://github.com/apache/sling/blob/trunk/installer/providers/file/src/main/java/org/apache/sling/installer/provider/file/impl/Installer.java#L146
>  
> <https://github.com/apache/sling/blob/trunk/installer/providers/file/src/main/java/org/apache/sling/installer/provider/file/impl/Installer.java#L146>
>  to me it seems that this run mode handling is only active if the folder has 
> the prefix “install.” This is not mentioned at all in the documentation.
> Is this rather an oversight in the code or is the documentation just not 
> clear enough in that regard?
> I can update the documentation once it is clear to me, whether the code is 
> behaving correctly in that regard.

I think the docs are wrong :( According to SLING-4478 the folder name
must start with that prefix.

Regards
Carsten
-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

Reply via email to