Details
Description
org.apache.jackrabbit.jcr2dav.RepositoryStubImpl supports testing with custom context path like the following, but not with custom servlet path mapping.
mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo"
It would be nice if we can test with custom servlet path mapping as well, instead of the hard-coded "/server" path only, like the following examples:
1. Default with /server prefix
$ mvn clean install -PintegrationTesting
2. With empty servlet path prefix
mvn clean install -PintegrationTesting -DWebDAVServletPrefix=""
3. With custom servlet path prefix
mvn clean install -PintegrationTesting -DWebDAVServletPrefix="/jcrserver"
4. With custom context path
mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo"
5. With custom context path and custom servlet path
mvn clean install -PintegrationTesting -DWebDAVServletContext="/foo" -DWebDAVServletPrefix="/jcrserver"
Attachments
Attachments
Issue Links
- is related to
-
JCR-4458 When JcrRemotingServlet deployed on non-root context, AclResource Webdav request fails
- Closed