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 SSHExec.java
Date Tue, 01 Apr 2003 13:09:28 GMT
bodewig     2003/04/01 05:09:28

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ssh
                        SSHExec.java
  Log:
  Compile, then commit!
  
  Revision  Changes    Path
  1.4       +1 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
  
  Index: SSHExec.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SSHExec.java	1 Apr 2003 13:05:25 -0000	1.3
  +++ SSHExec.java	1 Apr 2003 13:09:28 -0000	1.4
  @@ -170,7 +170,7 @@
           try {
               // execute the command
               Session session = openSession();
  -            session.setTimeout(maxwait);
  +            session.setTimeout((int) maxwait);
               final ChannelExec channel=(ChannelExec) session.openChannel("exec");
               channel.setCommand(command);
               channel.setOutputStream(tee);
  
  
  

Mime
View raw message