Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

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