Problem with example

View: New views
7 Messages — Rating Filter:   Alert me  

Problem with example

by LucieM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem with example

by Alexander Sinyushkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: svnkit-users-help@...


Re: Problem with example

by LucieM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem with example

by Alexander Sinyushkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
>> For additional commands, e-mail: svnkit-users-help@...
>>
>>
>>
>

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


Re: Problem with example

by LucieM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Problem with example

by LucieM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It's working !!!!!!!
Thanks a lot, I hope I will be ok from now and that I can handle my self alone ;-)

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

Re: Problem with example

by Alexander Sinyushkin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello LucieM,

With trunk version.
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

LucieM wrote:

> 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@...
>>>> For additional commands, e-mail: svnkit-users-help@...
>>>>
>>>>
>>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: svnkit-users-unsubscribe@...
>> For additional commands, e-mail: svnkit-users-help@...
>>
>>
>>
>

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