I'm writing a Java app that performs various SVN actions (commit, copy, etc) from a remote machine. I access SVN from my Java app using the SVNKit API.
I also need to perform some administration actions, such as creating users and repositories. These actions are not available via the SVNKit API, or even the SVN command-line interface. Normally these would be performed directly on the SVN server, using svnadmin or a GUI equivalent.
(It is possible with SVNKit to create a local repository, but I need to create a repository on a remote machine)
So it seems my options are:
Programatically connect from java app to svn server using SSH or similar, then use
Runtime.exec()to runsvnadminDeploy a web application (like this one) on machine running svn server, then connect to it from java app using HTTP
Map a drive from java app machine to svn server machine (both are windows machines), then run
svnadminfrom the former, supplying the path to the latter as an argument
Is there any other way to perform these admin tasks from a remote machine?