Hello all.

I'm new in SVNkit, I was trying run this code:

///////////////////////////////////////////////////////////////////////

import org.tmatesoft.svn.core.*;
import org.tmatesoft.svn.core.internal.wc.DefaultSVNOptions;
import org.tmatesoft.svn.core.wc.*;

import java.io.File;

public class WorkingCopy {
        
        public static void main (String ars[]){
                        ISVNOptions options = 
SVNWCUtil.createDefaultOptions(true);
                        SVNClientManager clientManager =
SVNClientManager.newInstance((DefaultSVNOptions) options,
"[email protected]", "YX7zv8aU9Qd9") ;
                        SVNUpdateClient myClient = 
clientManager.getUpdateClient();
                
                        String repositoryPath = 
"https://land-use.googlecode.com/svn/";;
                        File dstPath = new File("file:///C:/Pruebas/");
                        try{
                                
myClient.doCheckout(SVNURL.parseURIDecoded(repositoryPath), dstPath, 
http://old.nabble.com/file/p31750965/WorkingCopy.java WorkingCopy.java
SVNRevision.UNDEFINED, SVNRevision.HEAD, true);
                        }catch(SVNException e){
                                System.out.print(e.getMessage());
                        }
        }
}


///////////////////////////////////////////////////////////////////////


So, appeared this exception:

svn: Unable to create SVNRepository object for
'https://land-use.googlecode.com/svn'

Helpme!!!!
-- 
View this message in context: 
http://old.nabble.com/Checking-out-%22-svn%3A-Unable-to-create-SVNRepository-object-for-%27https%3A--land-use.googlecode.com-svn%27-%22-tp31750965p31750965.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to