https://issues.apache.org/bugzilla/show_bug.cgi?id=44472


Stefan Bodewig <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME


--- Comment #1 from Stefan Bodewig <[email protected]> 2009-08-21 04:17:55 PDT 
---
Unless I'm misunderstanding what you describe it seems to work for me (may be a
different version of JSch):

ste...@v30161:~/ant> pwd
/home/stefan/ant
ste...@v30161:~/ant> ls -l
total 4
drwxr-xr-x  2 stefan users 4096 2009-08-21 13:09 bar
ste...@v30161:~/ant> ls -l bar/
total 0
-rw-r--r--  1 stefan users 0 2009-08-21 13:09 baz

You see, /home/stefan/ant only contains a single directory.

Build file on a different machine

<project>
  <scp file="stefan:*...@v30161:/home/stefan/ant/**" todir="."/>
</project>

Result:

$ ./build.sh -f ../../Temp/s.xml
Buildfile: c:\Temp\s.xml
      [scp] Connecting to v30161:22
      [scp] Receiving file: /home/stefan/ant/**
      [scp] Creating: c:\Temp\bar
      [scp] Receiving: baz : 0
      [scp] File transfer time: 0,0 Average Rate: ? B/s
      [scp] done

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to