private String getActivityCollectionURL(String path, boolean force) throws SVNException {
if (!force && myActivityCollectionURL != null) {
return myActivityCollectionURL;
}
DAVOptionsHandler handler = new DAVOptionsHandler();
IHTTPConnection httpConnection = getConnection();
httpConnection.request("OPTIONS", path, null, DAVOptionsHandler.OPTIONS_REQUEST, -1, 0, null, handler);
myActivityCollectionURL = handler.getActivityCollectionURL();
if (myActivityCollectionURL == null) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_DAV_OPTIONS_REQ_FAILED,
"The OPTIONS request did not include the requested activity-collection-set; this often means that the URL is not WebDAV-enabled");
SVNErrorManager.error(err, SVNLogType.NETWORK);
}