Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Sharad kumar Yadav
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.
String url="file:///d:/repo";
SVNRepository repository = null;
try {
repository = FSRepositoryFactory.create(SVNURL.parseURIEncoded(url));
} catch (SVNException e){

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!