Hi, On Tue, Jun 9, 2009 at 1:58 PM, Claude Vedovini<claude.vedov...@gmail.com> wrote: >> Thus given the system poroperty sling.home.prefix is set to >> "/var/sling". In this case the default sling.home for the /sling/i1 web >> app would be "/var/sling/_sling_i1". >> >> Would such a prefix suit your needs ? > > That would certainly do, but why introduce a new concept? > Let's say that the sling.home property in the sling.property file, the > sling.home init-param in the web.xml and the sling.home system > property override each others (in this order) and they all specify the > root where each deployed sling servlet is going to create its > workspace.
I agree that having a single sling.home property would be simpler, so why not sling.home = ./sling/{1} by default, where {1} is replaced by the (suitably escaped) SlingServlet's context path? This would make things fully configurable, while allowing multiple instances of the SlingServlet to each have their own storage folder. -Bertrand