In the following ant build.xml snippet, I am performing an rsync operation. The rsync command prompts for a password.
The problem is, when it prompts for the password, I enter it once, hit enter, and nothing happens. So I type it again (second time) and hit enter, then it works.
It's strange to me that I have to enter it twice and I don't understand why?
<!-- Define a target which publishes the final build apk to the test server. -->
<target name="upload" depends="release">
<exec executable="rsync" dir="${basedir}">
<arg value="--stats"/>
<arg value="--progress"/>
<arg value="-vaz"/>
<arg value="bin/myfile.apk"/>
<arg value="root@target:/path/to/backupfolder"/>
</exec>
</target>