ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bizard Nicolas (KIRO 41)" <nicolas.biz...@credit-suisse.com>
Subject Ant scp task with fileset
Date Thu, 18 Oct 2007 09:03:40 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message