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: [email protected]
ReportedBy: [EMAIL PROTECTED]
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="[EMAIL PROTECTED]:${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.