Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to create repository in svn by using java-svn API??

 
Sharad kumar Yadav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed SVN in my machine and now i am trying to create repository in my local hard disk drive through java-svn api. How can i access it?
This is the code which i am trying to use. Please guide me to it.
FSRepositoryFactory.setup();
String url="file:///d:/repo";
SVNRepository repository = null;
try {
repository = FSRepositoryFactory.create(SVNURL.parseURIEncoded(url));
} catch (SVNException e){
e.printStackTrace();
System.exit(1);
}

Thankyou
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic