1 unresolved thread
@@ -13,9 +13,6 @@ import org.tmatesoft.svn.core.SVNException;
@@ -13,9 +13,6 @@ import org.tmatesoft.svn.core.SVNException;
@@ -23,7 +20,6 @@ import org.tmatesoft.svn.core.wc2.SvnTarget;
@@ -23,7 +20,6 @@ import org.tmatesoft.svn.core.wc2.SvnTarget;
@@ -35,85 +31,102 @@ public class RepoUtil {
@@ -35,85 +31,102 @@ public class RepoUtil {
cloneCommand.setCredentialsProvider(new UsernamePasswordCredentialsProvider(config.group(2), config.group(3)));
SVNURL url = SVNURL.create(sourceUrl.getProtocol(), null, sourceUrl.getHost(), sourceUrl.getPort(), sourceUrl.getPath(), false);
operationFactory.setAuthenticationManager(new BasicAuthenticationManager(config.group(2), config.group(3)));
//ISVNAuthenticationManager authManager = new BasicAuthenticationManager(new SVNAuthentication[] { new SVNSSHAuthentication(username, password, -1, false)});//SVNWCUtil.createDefaultAuthenticationManager(username, password);
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(config.group(2), config.group(3).toCharArray());
LOG.debug(String.format("cloned from %s via %s to %s", config.group(1), checkoutDirectory+subDir, targetDirectory));
LOG.error(String.format("Error while cloning from %s: could not copy to unit test dir", config.group(1)), e);
LOG.error(String.format("Error while cloning from %s: could not read from Git", config.group(1)), e);
LOG.error(String.format("Error while cloning from %s: could not read from Svn", config.group(1)), e);