Hello Dmitry,

Thanks so much. I'll work with this information.

Regards,

2015-12-15 20:38 GMT+01:00 Dmitry Pavlenko <pavle...@tmatesoft.com>:
> Hello Manuel,
> In this case have a look at SVNRepository#testConnection method.
>
> SVNRepository svnRepository = ...;
> svnRepository.setAuthenticationManager(yourCredentials);
> try {
>         svnRepository.testConnection();
> } catch (SVNException e) {
>         //check here exception error code
> } finally {
>         svnRepository.closeSession();
> }
>
> You can use BasicAuthenticationManager as yourCredentials, if you have only 
> username and password.
>
> You can also have a look at SVNRepository#checkPath method.
> --
> Dmitry Pavlenko,
> TMate Software,
> http://subgit.com/ - git-svn bridge
>
>> Hello,
>>
>> Thanks in advance for your quick reply.
>>
>> I'm interesting specially on the second use case. Given a credentials
>> and repository URL, check if are valid.
>>
>> Regards,
>>
>> 2015-12-15 15:05 GMT+01:00 Stadelmann Josef
>>
>> <josef.stadelm...@axa-winterthur.ch>:
>> > Do you like to verify/validate the syntax (the writing) of a URL in a
>> > repo, or
>> > do you like to verify the network based reach-ability of a given URL in a
>> > URL repo?
>> >
>> > Sepp
>> >
>> > -----Ursprüngliche Nachricht-----
>> > Von: svnkit-users-boun...@svnkit.com
>> > [mailto:svnkit-users-boun...@svnkit.com] Im Auftrag von Manuel Jesús
>> > Recena Soto Gesendet: Dienstag, 15. Dezember 2015 12:31
>> > An: SVNKit Library Users List
>> > Betreff: Validate a repository URL
>> >
>> > Hello,
>> >
>> > Is there any way to validate and verify a URL repository?
>> >
>> > Regards,
>> >
>> > --
>> > Manuel Recena Soto
>> > * manuelrecena.com [/blog]
>> > * linkedin.com/in/recena



-- 
Manuel Recena Soto
* manuelrecena.com [/blog]
* linkedin.com/in/recena

Reply via email to