You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Xiaojie Shen <Xi...@cybercomgroup.com> on 2010/08/06 11:30:11 UTC

How to remove version via Webdav?

I saw some advices about using JCR VersionHistory.removeVersion(). But is it possible to remove versions via Webdav?
Thanks
Xiaojie


Re: How to remove version via Webdav?

Posted by Angela Schreiber <an...@day.com>.
Xiaojie Shen wrote:
> I saw some advices about using JCR VersionHistory.removeVersion(). But 
> is it possible to remove versions via Webdav?

it should work using a DELETE request on corresponding version
resource... this requires though that the versions are exposed
as webdav resources, which should be the case if you are
using the a jcr repository that implements full versioning such
as jackrabbit.
for some information about the structure of the version store
please take a look at JSR 283.

hope that helps
angela

> Thanks
> 
> Xiaojie
> 
>  
>