<exec dir="." executable="osc" failonerror="true" failifexecutionfails="true">
<arg line="-A ${obs.apiurl}/>
</exec>
Ant executes the following osc which requires user to enter usename and password if user runs the osc command for the first time. According to ant's documentation, any user input in exec task should end with EOF(-1).
So, how to pass username and password to the executable.
for similar question and possible solution – Rebse Aug 22 '11 at 20:04
for similar question and possible solution – Rebse Aug 22 '11 at 20:05