[
https://issues.apache.org/jira/browse/JCR-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894059#comment-16894059
]
Woonsan Ko commented on JCR-4460:
---------------------------------
Hi [~reschke],
I've attached a new patch only for this ticket: [^servlet_path_prefix.patch] .
Now, any of the following succeeds:
{noformat:title=Default with /server prefix}
$ mvn clean install -PintegrationTesting
{noformat}
{noformat:title=With empty servlet path prefix}
mvn clean install -PintegrationTesting -DWebDAVServletPrefix=""
{noformat}
{noformat:title=With custom servlet path prefix}
mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver"
{noformat}
However, as expected (which is the goal with this ticket), test with a custom
context path fails:
{noformat:title=With custom context path}
mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo"
{noformat}
Regards,
Woonsan
> 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: servlet_path_prefix.patch, 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)