2011/3/28 Rupert Westenthaler <[email protected]>:
> Hi
>
> I would suggest to define a "stanbol.home" and interpret such path
> relative to this folder.
> Bundles that use the commons.web bundle would than to make sure (e.g.
> in the activate method) to copy such files to the specified directory.

Yes it's probably simpler to copy all the contributed static resources
( JS, css, logos and style images ...), and freemarker templates into
a two dedicated folders under the sling folder of the stanbol instance
at bundle activation time and register those folders for static
resource lookup and for the FreemarkerViewProcessor.

-- 
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

Reply via email to