ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh Scp.java
Date Thu, 30 Sep 2004 09:24:06 GMT
bodewig     2004/09/30 02:24:06

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ssh Scp.java
  Log:
  Don't ignore invalid operation mode silently
  
  PR: 30669
  Submitted by:	Ben Galbraith
  
  Revision  Changes    Path
  1.18      +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
  
  Index: Scp.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Scp.java	14 Jun 2004 12:23:50 -0000	1.17
  +++ Scp.java	30 Sep 2004 09:24:06 -0000	1.18
  @@ -176,7 +176,7 @@
                       upload(fromUri, toUri);
                   }
               } else if (isFromRemote && isToRemote) {
  -                // not implemented yet.
  +                throw new BuildException("Copying from a remote server to a remote server
is not supported.");
               } else {
                   throw new BuildException("'todir' and 'file' attributes "
                       + "must have syntax like the following: "
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message