« Return to Thread: SVNKit 1.2.3.5521 Problem with DumpFile

Re: SVNKit 1.2.3.5521 Problem with DumpFile

by Karl Heinz Marbaise :: Rate this Message:

Reply to Author | View in Thread

Hello Alexander,

> I suppose, that's because you do not handle file text correctly in your
> ISVNLoadHandler implementation methods. In the method
> parseTextBlock(..., long contentLength) you are expected to read the
> text contents from the dump stream yourself. Use DefaultLoadHandler.java
> as an example to realize a correct load handler.
>
> Another thing that I've noticed:
>
>     public void checkCancelled() throws SVNCancelException {
>         LOGGER.warn("Cancellation received.");
>        
>     }
>
> The method ISVNCanceller.checkCancelled() is intended to give a caller
> (i.e. you in this case) a chance to stop the operation somewhere in the
> middle. It's not a kind of a notification method, on the contrary, you
> may throw an SVNCancelException from there whenever you want to cancel
> the operation.
Hm. That's exactly the problem ...now i can read the file without failure...

Many thanks for you help.

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...

 « Return to Thread: SVNKit 1.2.3.5521 Problem with DumpFile