https://issues.apache.org/bugzilla/show_bug.cgi?id=46107
Summary: scp task does not finish inside sequential without using
sftp
Product: Ant
Version: 1.7.0
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: Optional Tasks
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
I wanted to upload several files to a set of machines using the for task of ant
contrib and a nested scp task. When using scp without sftp=true the task
uploaded the files to the first machine and blocked then. Thats my task
<target name="distribute" depends="setup demo" description="Distributes the jar
file to the given nodes into given directories">
<taskdef resource="net/sf/antcontrib/antlib.xml" />
<for list="0,1,2,3,4,5,6" param="index">
<sequential>
<echo message="Distributing to [EMAIL
PROTECTED]"></echo>
<scp todir="..somedir.." keyfile="..the keyfile.."
passphrase="..very secret.." verbose="true" trust="true" sftp="true">
<fileset dir="${basedir}">
<include name="${demoDir}/**/*.jar"/>
</fileset>
</scp>
</sequential>
</for>
</target>
*workaround* -> sftp="true"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.