[ 
https://issues.apache.org/jira/browse/JCR-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893973#comment-16893973
 ] 

Woonsan Ko commented on JCR-4460:
---------------------------------

Now I realize that the {{INIT_PARAM_RESOURCE_PATH_PREFIX}} init parameter is 
really necessary because the servlet cannot infer the servlet path during 
initialization.
In order to keep supporting the scenarios where the servlet is configured at a 
specific servlet path (e.g, {{/server/*}} in a {{/foo}} servlet context, the 
init parameter must be set to {{/server}} in the servlet configuration. The 
servlet should prepend the contextPath, {{/foo}}, during initialization.
I'll try to provide a new patch.

> allow to run remoted conformance tests with a custom servlet context path
> -------------------------------------------------------------------------
>
>                 Key: JCR-4460
>                 URL: https://issues.apache.org/jira/browse/JCR-4460
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-jcr2dav
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>              Labels: candidate_jcr_2_16
>             Fix For: 2.20, 2.19.4, 2.18.3
>
>         Attachments: use-context-path.diff
>
>
> Add a system property that selects a servlet context path for testing.
> To run tests with non-root path:
> {noformat}
> mvn clean install -PintegrationTesting -DWebDAVServletContext="/foobar/"
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to