# HG changeset patch # User Artem Tikhomirov # Date 1375990342 -7200 # Node ID 992fa84e78857b4ff3ebe56f43b5d76972d61556 # Parent 02766745dbe6d29a651a7cdf47d694f75cc85b76 Reference ssh-dependant class by the fq name to avoid runtime dependency from the ssh library diff -r 02766745dbe6 -r 992fa84e7885 build.xml --- a/build.xml Thu Aug 08 21:05:21 2013 +0200 +++ b/build.xml Thu Aug 08 21:32:22 2013 +0200 @@ -26,8 +26,8 @@ - - + + @@ -129,6 +129,7 @@ + @@ -159,6 +160,7 @@ + diff -r 02766745dbe6 -r 992fa84e7885 src/org/tmatesoft/hg/internal/remote/RemoteConnectorDescriptor.java --- a/src/org/tmatesoft/hg/internal/remote/RemoteConnectorDescriptor.java Thu Aug 08 21:05:21 2013 +0200 +++ b/src/org/tmatesoft/hg/internal/remote/RemoteConnectorDescriptor.java Thu Aug 08 21:32:22 2013 +0200 @@ -84,8 +84,7 @@ final ClassLoader cl = Provider.class.getClassLoader(); knownConnectors.put("http", new Pair(cl, HttpConnector.class.getName())); knownConnectors.put("https", new Pair(cl, HttpConnector.class.getName())); - // FIXME replace SshConnector.class with fqn string to avoid dependency from the trilead library in runtime - knownConnectors.put("ssh", new Pair(cl, SshConnector.class.getName())); + knownConnectors.put("ssh", new Pair(cl, "org.tmatesoft.hg.internal.remote.SshConnector")); } public HgRemoteRepository.RemoteDescriptor get(SessionContext ctx, URI uri) {