DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23987 scp task doesn't complain if remote directory is not specified Summary: scp task doesn't complain if remote directory is not specified Product: Ant Version: 1.6Beta Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] (the summary could also read: scp task doesn't make a sensible default for the remote directory). When using scp from the commandline, it is possible to omit a remote directory and have scp place files in the home directory of the user. i.e. scp /etc/passwd [EMAIL PROTECTED]: will successfully place the passwd file in user's home directory on remotehost If I run this task: <target name="scptest"> <scp file="C:\winnt\notepad.exe" todir="[EMAIL PROTECTED]:" password="pwd"/> </target> I get: scptest: [scp] Connecting to remotehost:22 [scp] java.io.FileNotFoundException: C:\Documents and Settings\user\.ssh\known_hosts (The system cannot find the path specified) BUILD FAILED file:H:/Projects/Construction/deploy.xml:1703: java.io.IOException: Pipe closed I would either expect the build to fail because a remote directory wasn't specified or (better) the scp task to work with the same amount of information that the commandline scp does and make assumptions. This is reasonably closely related to bug 23986. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
