I want to call SVN commands (update , commit) from a java program. any help ?
SVN : Tortoise SVN
Environment : java program will be running inside a jBoss server.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s a really, really bad idea to use a GUI SVN client from within an app server. While TortoiseSVN can be scripted, it’s still a GUI application, and an unexpected situation can cause it to pop up a dialog on your server (and some tasks may always open a dialog).
It,s much, much better ot use a Java implementation of SVN, such as SvnKit – then you can work with a nice Java API and your question becomes moot.