Hi

Ant 1.7 on Windows XP
I wanted to transfer files from base directory and subdirectories.
I have the following:


<scp todir="le:[EMAIL PROTECTED]:${d_dir}"

knownhosts="${_host}"

verbose="true"

trust="true">

<fileset dir="${REPOSITORY}"/>

</scp>



The local directories structure is as on Windows:

F:\script\db\dbs

F:\script\db\pop

F:\script\db\pop\dat

F:\script\db\pop\util



All files inside F:\script\db\dbs are copied but files in subdirectories
F:\script\db\pop, F:\script\db\pop\dat, F:\script\db\pop\util

were never copied. In fact, the scp looks like it got stuck once the last
file of  F:\script\db\dbs is copied to remote directory.



Output

      [scp] Sending: gen.sh : 416
      [scp] File transfer time: 0.0 Average Rate: ? B/s
      [scp] Sending: gen_ora_.tar : 133120
      [scp] ********* 100%
      [scp] File transfer time: 0.45 Average Rate: 293,215.86 B/s
      [scp] Sending: r3 : 29             <---------------------- last file
copied and Ant scp task doesnt go back one level to opy files from
F:\script\db\pop
      [scp] File transfer time: 0.0 Average Rate: ? B/s



I tried other workarounds like

<fileset dir="${REPOSITORY}">

<include name="**/**"/>

</fileset>

and still it doesn't work.



Could someone show me what I did wrong ?

Any help is appreciated here.

Reply via email to