Is there any API to manage VisualSVN server using JAVA. I want to write a java code which will manage VisualSVN server, Changes rights and permission etc in Java. Or any other approach to this with less complication. Thanks in advance
Asked
Active
Viewed 1,431 times
1
-
possible duplicate of [Recommended libraries/howtos for using WMI with java?](http://stackoverflow.com/questions/4610063/recommended-libraries-howtos-for-using-wmi-with-java) – bahrep Apr 28 '14 at 08:33
-
wut? You are wrong. VisualSVN Server's WMI provider is used for server administration tasks, such as permission and repository management etc. You have to access the WMI provider to be able to perform those tasks and the referred thread describes how you can do this with Java. – bahrep Apr 28 '14 at 09:37
-
1To all those trying this with java.. no Pure Java API. You might have to use JACOB or other such API. – sampopes Apr 29 '14 at 05:58
-
Did my answer help you in 2014? Please, upvote it then. :) – bahrep Feb 15 '19 at 15:01
-
BTW, did you see the VisualSVN Server PowerShell cmdlets for server administration? See https://www.visualsvn.com/server/features/powershell/ – bahrep Feb 15 '19 at 15:02
1 Answers
0
You can manage VisualSVN Server via WMI (Windows Management Instrumentation), see some examples here Control VisualSVN Server from C# and here SVN Rights Management Tool using Windows Authentication method. You can acess WMI via Java but the question is why you want to use Java for such task.
For examples of using Java to access WMI see these threads: