Felix Meschberger wrote:
Hi,
Am Freitag, den 18.04.2008, 16:22 +0200 schrieb Carsten Ziegeler:
Felix Meschberger wrote:
The search path from ResourceResolver.getSearchPath defines the order.
And this is currently configured to be [ "/apps", "/libs" ], thus giving
precendence to /apps over /libs. This is correct as we assume provided
scripts in /libs and application "overwrites" in /apps.
Btw, shouldn't we prefix these dirs to make it clear that they are for
sling? Like "sling:libs" and "sling:apps" ?
They are not reserved for sling. These directories are part of the
search path used by the Sling Servlet/Script Resolver to resolve all
scripts, regardless of whether they are sling or not.
Hmm, yes, that's right. Having scripts in /apps and /libs where /libs
has precendence of /apps still feels not very intuitive for me. So I
would rather put them under /scripts/apps etc. But on the other hand
these dirs could contain different stuff as well (resources etc.).
As there's no need to change it, let's keep it as it is :)
Carsten
--
Carsten Ziegeler
[EMAIL PROTECTED]