开发者

How to check in any file from java code to svn branch

开发者 https://www.devze.com 2023-01-11 18:08 出处:网络
I want to implement a functionality in which I want to 开发者_开发技巧do some svn related operations for example:- update, commit, revert etc.. through my Java code.

I want to implement a functionality in which I want to 开发者_开发技巧do some svn related operations for example:- update, commit, revert etc.. through my Java code.

Thanks in advance.


Perhaps you should use ProcessBuilder or Runtime.exec() to call the actual commands of SVN.

Or you can directly use library like http://svnkit.com/


Have a look at SVNKit http://svnkit.com/.


If you're looking for a pure Java solution - check out SVNKit.


Check out the Subversion Java API.

0

精彩评论

暂无评论...
验证码 换一张
取 消