wood burning stoves 2.0*
The moose likes Tomcat and the fly likes How to create repository in svn by using java-svn API?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to create repository in svn by using java-svn API??" Watch "How to create repository in svn by using java-svn API??" New topic
Author

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

Sharad kumar Yadav
Greenhorn

Joined: Jan 09, 2013
Posts: 1
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create repository in svn by using java-svn API??
 
Similar Threads
Unable to download spring example code
Difference between subversion and subclipse
maven subversion
how to checkout sample projects from springsource community
is just Subclipse enough? or need install a svn server also?