I am quite new in ant and I want to do an SVN update operation. I add jar files to the ant / lib folder, I also add typingf properties to my build .xm file.
& lt; Typedef resource = "org / tigris / subversion / svnant / svnantlib .xml" classpath = "ant / lib / svnant.jar; ant / lib / svnClientAdapter.jar; ant / lib / svnkit.jar; ant / lib / svnjavahl.jar "/> But now I need some code example for updating from a repository in a folder (assuming that the name of the folder is tested) I see the Internet but some examples of this svn Ant call
I have tried to do something like
& lt; Target name = "svn-update" & gt; & Lt; Svn username = "test" password = "*****" & gt; & Lt; Update revision = "HEAD" dir = "com.project.blackbox.eclipse" /> & Lt; / SVN & gt; & Lt; / Target & gt;
You have typedefs right.
What you are trying to do is update a directory which was not checked out by SVN. This means that your prospect is the wrong directory in the "Dyay" attribute.
If your "Directions" attribute tells the project's root directory, then it is incorrect that you will probably be checked out in the "src" folder under the project's root directory.
Look into the project's root directory (usually this workstation is under the "root" directory, project in a directory with the same name). Look for any subdirectory that contains the hidden directory ".svn". You are only checking the barriers out of a repository, so if this is true then first you will be the directory that is included in the "direct" instructions. To do.
If you have several directories to choose from, "svn info" on the command line. For each candidate's directory and you will be able to solve them soon.
Comments
Post a Comment