how to download entire project from SVN repository using SVNKit from java -


i able read contents svn repository file file using svn kit. requirement download entire project svn repository local directory using svn kit java code source code analysis. how can achieve this. have seen examples regarding reading files , directories not downloading projects. please 1 can me

svnclientmanager part of old svnkit api. svnkit developer, recommend prefer new svnkit api based on svnoperationfactory class (because old api implemented via new 1 , api classes api-to-api conversion caused problems):

final svnoperationfactory svnoperationfactory = new svnoperationfactory(); try {     final svncheckout checkout = svnoperationfactory.createcheckout();     checkout.setsource(svntarget.fromurl(url));     checkout.setsingletarget(svntarget.fromfile(workingcopydirectory));     checkout.run(); } {     svnoperationfactory.dispose(); } 

if don't need ".svn" directories, use svnoperationfactory#createexport method instead.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -