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 46151] New: scp: copying two certain files not working
Date Wed, 05 Nov 2008 13:55:21 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46151

           Summary: scp: copying two certain files not working
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: philipp@filzip.com


I am trying to copy exactly two file to a remote server via the scp task. It
looks like this:

<scp knownhosts="known_hosts" verbose="true" port="22" 
todir="${host.user}@${host}:${targetdir}">
    <fileset dir="${basedir}">
         <filename name="conf/config.xml" />
         <filename name="${dist.jar}" />
    </fileset>
</scp>

but when executing this, ant fails to copy the files to the server. It works if
I replace the fileset with this one:

<fileset dir="${basedir}">
    <include name="conf/*" />
    <include name="${dist.jar}" />
</fileset>

Any thoughts?


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