title: Getting svn: E170000: Unrecognized URL scheme for my custom Svn Gradle plugin
body: <p>I wrote a custom gradle plugin using groovy to do basic svn tasks like, Checkout, Clean, Tag etc. The groovy class calls the svn command line client to do these operations, It works fine when i run it on my windows system but the same plugin gives the following error when i run it on a linux system (Centos).</p>
  
  <blockquote>
    <p>svn: E170000: Unrecognized URL scheme for
    '%22https://source.mycompany.net/svn/MyProject/trunk%22'</p>
  </blockquote>
  
  <p>Am able to make the same calls to the command line client through the command prompt or shell script without any issues. So what is the difference with </p>
  
  <p>Here is my code sample:</p>
  
  <pre><code>    String command =String.format("svn co -r %d  --non-interactive --trust-server-cert --          username %s --password %s --depth infinity \"%s\" \"%s\"",
                                            getRevision(),
                                            getUserName(),
                                            getUserPassword(),
                                            getSrcUrl(),
                                            getDir());
  
      Process svnProcess = Runtime.getRuntime().exec(command);
  
      BufferedReader stdInput = new BufferedReader(new     InputStreamReader(svnProcess.getInputStream()));
  BufferedReader stdError = new BufferedReader(new  InputStreamReader(svnProcess.getErrorStream()));
      String statusOutputLine =""
      while ((statusOutputLine = stdInput.readLine()) != null)
      {
      logger.quiet(" " + statusOutputLine);
      }
  
      while (( statusOutputLine = stdError.readLine()) != null)
      {
      logger.error(statusOutputLine)
      throw new Exception(statusOutputLine)
      }
      logger.quiet("Successfully Checked out the work space")
  </code></pre>
  
  <p>i do have neon installed on the system</p>
  
  <p>-bash-4.1$ svn --version
  svn, version 1.6.11 (r934486)
     compiled Jun 25 2011, 11:30:15</p>
  
  <p>Copyright (C) 2000-2009 CollabNet.
  Subversion is open source software, see <a href="http://subversion.tigris.org/" rel="nofollow">http://subversion.tigris.org/</a>
  This product includes software developed by CollabNet (<a href="http://www.Collab.Net/" rel="nofollow">http://www.Collab.Net/</a>).</p>
  
  <p>The following repository access (RA) modules are available:</p>
  
  <ul>
  <li>ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  <ul>
  <li>handles 'http' scheme</li>
  <li>handles 'https' scheme</li>
  </ul></li>
  <li>ra_svn : Module for accessing a repository using the svn network protocol.
  <ul>
  <li>with Cyrus SASL authentication</li>
  <li>handles 'svn' scheme</li>
  </ul></li>
  <li>ra_local : Module for accessing a repository on local disk.
  <ul>
  <li>handles 'file' scheme</li>
  </ul></li>
  </ul>