In my previous answer, the correct URI for deleting the history of course is
/slide/history/1 and not just /history/1.

> I am trying to get the current version of a version 
> controlled resource by 
> doing the following stuff:
> 
> Enumeration report = resource.reportMethod(new 
> HttpURL(hostPort + path), 
> 2);
> 
>          while (report.hasMoreElements())
>          {
>              Object element = report.nextElement();
>              System.out.println(element);
>          }
> 
> however, I always receive a
> 
> PoolThread-8, 02-Sep-2003 17:54:12, , REPORT, 404 "Not Found", 10 ms, 
> /slide/files/test/one.xml
> 
> while the file is there...
> 
> any idea?

Hm ... I'm not very familiar with Slide's client-side lib. A way to find the
problem could be to use a sniffer to log the requests sent to the server. I
use NetTool (http://nettool.sourceforge.net/) which is free.

OTOH, I know that Slide's client-side lib is not yet ready in terms of
WebDAV/DeltaV. BTW, there is an alternate API to consider: JSR-147 (also
called WVCM). It is supposed to become standard soon (currently under Public
Review). Its hompage is http://webdav.org/deltav/wvcm/. And, there is an
implementation available in the Slide CVS repository (see:
jakarta-slide/proposals/wvcm).
[NOTE: since WVCM is in Public Review, some changes to the interfaces have
taken place which have not yet been taken into account in Slide's
implementation ... but this is something which will happen soon].

Regards,
Peter

Reply via email to