To use ATN and SVNIT, I want to check in a working directory that contains a mix of SVN-controlled files and new files and sub-directories. According to my understanding of SVN ANT, I have been given the following using the "force" flag as originally as
svn add -force * That's the only issue I've been described in the CollabNet site.
Here is my XML configuration:
& lt; Target name = "add-new-file-to-test-repo" dependent = "check-out-project" & gt; & Lt; Svn username = "$ {svn.test.username}" password = "$ {svn.test.password}" svnkit = "true" javahl = "false" & gt; & Lt; Add force = "true" & gt; & Lt; Fileset dir = "$ {svn.testdir}" /> & Lt; / Add & gt; & Lt; / SVN & gt; & Lt; Echo message = "add new files to SVN" /> & Lt; / Target & gt; Responds:
svn: 'd: \ workspace \ traxproject \ build \ testdir \ new text document.txt' in version control already After writing the document, after writing it I finally got this work after it was written
Linked. & lt; Add & gt; A section indicates the part about using the "force" flag: (applies only when the dir attribute is set).
Then reads my fixed code:
& lt; Target name = "add-new-file-to-test-repo" dependent = "check-out-projects" & gt; & Lt; Svn username = "$ {svn.test.username}" password = "$ {svn.test.password}" svnkit = "true" javahl = "false" & gt; & Lt; Add force = "true" dir = "$ {svn.testdir}" & gt; & Lt; / Add & gt; & Lt; / SVN & gt; & Lt; Echo message = "add new files to SVN" /> & Lt; / Target & gt; Of course, this means that to skip specific files, & lt; Fileset & gt; Can not use the "included" attribute of the work, as the writer of this issue wanted to link to my question, around my work here is to check the working directory from SVN, just copy those files I want to be filtered and then using that directory in that work directory.
Comments
Post a Comment