This commit is contained in:
Nunzio Andrea Galante 2017-04-06 09:58:51 +00:00
parent 2d55029f5b
commit cd78b0ce32
1 changed files with 6 additions and 3 deletions

View File

@ -566,13 +566,16 @@ public class DataminerPoolManager implements PoolManager ***REMOVED***
***REMOVED***
private SVNRepository getSvnRepository(String url) throws SVNException ***REMOVED***
String usr = "nunzioandrea.galante";
String pwd = "Newuser1";
SVNRepository repository = SVNRepositoryFactory.create(SVNURL.parseURIEncoded(url));
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(usr, pwd);
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager();
repository.setAuthenticationManager(authManager);
System.out.println(repository.getLocation());
return repository;
***REMOVED***