Requirement 1: Given an SVN Repository URL with Username and Password, list all Files inside the directory.
Initialize SVN First by declaring a repostiroy object:
The above method will initialize the repository and call the list of files located on the given path “deploy”. This means all files at: svn://localhost/branches/project/deploy
The above code will re-curse to get all the list of files. We need to do a recursion to exclude the Directories and consider only files.
Sample code: here
Download the SVNKIT (Java API for SVN): here
Enjoy!


Hello there! Do you use Twitter? I’d like to follow you if that would be okay. I’m absolutely enjoying your blog and look forward to new posts.
yep! you can add me up: @alvinjayreyes
Thanks for the feedback!
We need to do a recursion to exclude the Directories and consider only files.Great post. I was checking constantly this blog and I am impressed! Extremely helpful information specially the last part I care for such information much. I was seeking this certain information for a long time. Thanks and good luck.
Thanks for the feedback! Glad I could help!
I’m actually doing a initiative project in our company to create a deployment tool to automate the deployment process. I’d post it here after!
Thanks!
Pingback: JavaPins
I impressed with your blog. I want some more information like how can download entire project from svn repository to local directory using svn kit