You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:47:32 UTC

[sling-org-apache-sling-jcr-davex] 28/44: SLING-2275 Oops, need the home path not the home URL....

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.jcr.davex-1.1.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-davex.git

commit e6e97ced2dd759462a952ac6fff366b540a5e5e4
Author: Felix Meschberger <fm...@apache.org>
AuthorDate: Wed Nov 9 10:31:44 2011 +0000

    SLING-2275 Oops, need the home path not the home URL....
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/davex@1199689 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
index 83d3af6..332ff93 100644
--- a/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
+++ b/src/main/java/org/apache/sling/jcr/davex/impl/servlets/SlingDavExServlet.java
@@ -118,7 +118,7 @@ public class SlingDavExServlet extends JcrRemotingServlet {
         initProps.put(INIT_PARAM_RESOURCE_PATH_PREFIX, davRoot);
 
         // put the tmp files into Sling home -- or configurable ???
-        initProps.put(INIT_PARAM_HOME, slingSettings.getSlingHome() + "/jackrabbit");
+        initProps.put(INIT_PARAM_HOME, slingSettings.getSlingHomePath() + "/jackrabbit");
         initProps.put(INIT_PARAM_TMP_DIRECTORY, "tmp");
 
         // disable CSRF checks for now (should be handled by Sling)

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.