Re: Validate a repository URL

2015-12-15 Thread Manuel Jesús Recena Soto
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 : > Do you like to verify/validate the syntax (the writing) of a URL in a repo, > or

Re: Validate a repository URL

2015-12-15 Thread Manuel Jesús Recena Soto
Hello Dmitry, Thanks so much. I'll work with this information. Regards, 2015-12-15 20:38 GMT+01:00 Dmitry Pavlenko : > Hello Manuel, > In this case have a look at SVNRepository#testConnection method. > > SVNRepository svnRepository = ...; > svnRepository.setAuthenticationManager(yourCredentials)

Re: Validate a repository URL

2015-12-15 Thread Dmitry Pavlenko
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 {