You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Bizard Nicolas (KIRO 41)" <ni...@credit-suisse.com> on 2007/10/18 11:03:40 UTC

Ant scp task with fileset

Hi all,
i am currently trying to use the scp task (provided in an optional jar
available here  http://www.jcraft.com/jsch/index.html).

Here is the script :

	<target name="scpupdate">
		<scp
remoteTodir="${username}:${password}@${host}:${remote_dir}"
trust="true">
			<fileset dir="${src_dir}">
				<include name="**/*" />
			</fileset>
		</scp>
	</target>

The script launches, copies (remotely) properly the files directly in
the directory, then the files of the first subdir, and then is stuck...
Any idea? I saw a french forum discussing the question, but no answer
was given. Is that a known ant/scp/ssh issue?

Thanks for any help !

Nicolas