I would like to use Ant to get the username of the latest commit of a svn repository.
how can i do this as cross-platform as possible?
thanks!
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.
So, here is example for “svnant”:
You should put “svnant.jar” and “svnClientAdapter.jar” to path identified by “devlibs.path”. And other libraries required by “javahl” or “svnkit” to your “${ANT_HOME}/lib”.
If you have SVN repository with 1.6 format, you could use “svnkit” (set to “true” in “svnSetting”-block). Because “svnkit” is a pure Java-toolkit it’s best to use when you need cross-platform solution. If you already switched to 1.7, then I recommend to use SVN command line client (“svnSetting” configured for command line client in my example). Check this page (Slik SVN) for info about where to find and how to install different SVN command line clients.