I’ve downloaded the svntask for ant from tigris.org, so it is the ‘official’ one.
I have a simple task to update my entire project
<target name='prepare'> <svn username='user' password='pass'> <update> <fileset dir='.'/> </update> </svn> </target>
Running this task took about 2 hours.
Running a svn update on the command line took about 5 seconds.
(in both cases, there were no updates to bring down from the server)
I’ve also tried chaning the method that svntask uses to interface with subversion, I’ve tried both the svnkit method and the command line method.
Any ideas why this may be taking so long? Obviously this is unacceptably slow.
Thanks
By using the nested
<fileset>the command ends up callingupdatefor every file in the current directory hierarchy. That’s probably why it takes two hours.Try using the
dirattribute of theupdatetask:And, if that doesn’t work, turn on
-verboseor-debugand see if you can get more information about what is happening during the task.