<p>I have an Ant script that needs to checkout a directory from Subversion. This works using svnant/svnkit. However, Subversion access is authenticated, and I do not want to store my user password in a file.</p>

<p>Can I make svnkit pop up a password dialog? 
Or even better, make it use the same credential caching that subversive/svnkit inside of Eclipse uses (the username can be read from the build.properties)?</p>

<p>I cannot switch to public key based authentication, as I do not control the subversion server.</p>

<p>Right now, it just says "svn: authentication cancelled".</p>

To answer my own question, I can use the Ant [input] task to ask the user for a password and store it in a property that can be passed to the [svn] task.
```
```
<target name="checkout">
    <input
        message="Please enter subversion password for ${username}:"
        addproperty="password"
      />

    <svn svnkit="${svnkit}" username="${username}" password="${password}">
        <checkout url="${urlRepos}/project" destPath="web/" />
    </svn> 
</target>
```
```
Unfortunately, this does not mask the password with * * * * *, and I still want to read from the credential cache...