You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/11/05 14:55:21 UTC
DO NOT REPLY [Bug 46151] New: scp: copying two certain files not
working
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.
DO NOT REPLY [Bug 46151] scp: copying two certain files not working
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46151
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2008-11-05 08:30:52 PST ---
in what way does Ant fail in the first case?
Can you provide Ant's output?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 46151] scp: copying two certain files not working
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46151
Stefan Bodewig <bo...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |WORKSFORME
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.