ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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

           Summary: scp task does not finish inside sequential without using
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks

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">
                        <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"/>

*workaround* -> sftp="true"

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message