ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46107] New: scp task does not finish inside sequential without using sftp
Date Tue, 28 Oct 2008 10:23:11 GMT
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: notifications@ant.apache.org
        ReportedBy: christian.spann@uni-ulm.de


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 server@{index}"></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.

Mime
View raw message