« Return to Thread: Problem with example

Re: Problem with example

by LucieM :: Rate this Message:

Reply to Author | View in Thread

Thanks a lot.
With wich version of svnkit are these examples (http://svnkit.com/kb/examples/index.php) working?

Lucie

Alexander Sinyushkin-2 wrote:
Hello LucieM,

Please, follow this one http://svn.svnkit.com/repos/svnkit/tags/1.1.7
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

LucieM wrote:
> Hello,
>
> Thanks for the answer.
> I'm using svnkit-1.1.7.4142.
> Where can I find example of the corresponding tag which matches the version
> of
> SVNKit library I've got?
> Or which version should I use for the DisplayFile example to work?
>
> Lucie
>
>
> Alexander Sinyushkin-2 wrote:
>> Hello LucieM,
>>
>> What version of SVNKit do you use? The point is that in the /trunk
>> version of project we have changed the public API everywhere where props
>> were accepted just as Map to SVNProperties. I think you should take a
>> look at examples of the corresponding tag which matches the version of
>> SVNKit library you've got.
>>
>> ----
>> Alexander Sinyushkin,
>> TMate Software,
>> http://svnkit.com/ - Java [Sub]Versioning Library!
>>
>> LucieM wrote:
>>> Hi,
>>>
>>> I'm new in SVNKit and I'm trying the examples.
>>> I'm a student not so good in java...
>>> The commit example works perfectly but I have difficulty with the
>>> DisplayFile example...
>>> The problem seems to be in the SVNProperties class. In the example, the
>>> constructor is used with no parameter but it's not working.
>>> Later, the SVNProperties object wich should be a Map isn't recognise as
>>> one
>>> in:
>>> repository.getFile(filePath, -1, fileProperties, baos);
>>> Where fileProperties is a SVNProperties object and where this third
>>> parameter is supposed to be a Map.
>>>
>>> I'm sorry for this (maybe) trivial question...
>>> Has someone the same problem?
>>> Or has someone an exemple on how I can connect to a repository and take a
>>> file to work on it?
>>>
>>> I know how to commit (thanks to the example !), but I can't take files
>>> from
>>> the repository.
>>> Thamks a lot for your answer.
>>>
>>> Lucie
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@svnkit.com
>> For additional commands, e-mail: svnkit-users-help@svnkit.com
>>
>>
>>
>

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

 « Return to Thread: Problem with example