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