I have checked out code using command-line SVN. I have an Ant build script that I want to run that will do a commit when its done.
I'd like to use svnant, such as
<svn svnkit="false" javahl="false" failonerror="true">
<commit dir="${dir}" message="${message}"/>
</svn>
but its not working and giving this error
[svn] <Commit> started ...
[svn] svn: Commit failed (details follow):
[svn] svn: OPTIONS of 'http://svn.local/path/to/my/proj': authorization failed (http://svn.local)
[svn] <Commit> failed !
However, if I do an exec directly, like this
<exec executable="svn">
<arg line="commit ${dir} -m '${message}'"/>
</exec>
it will work fine. What's odd is that using svnkit="false"
and javahl="false"
is supposed to make svnant use the command line svn.
So what's going on here? I shouldn't have to specify the username/password in the svnant call, as command-line svn clearly doesn't need it (its been cached).