ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Bugel" <>
Subject RE: rsync wildcard
Date Wed, 06 Apr 2005 11:52:54 GMT
> Can anyone advise why the following works on the command line, but not
> within an ant script. The error is 'file/directory does not exist', when
> it clearly does. If I change the *.gz to a specific file it works fine.
> <exec executable="rsync">
> <arg line="-cvz -e 'ssh -i /home/build/sync-key'  /home/build/dist/*.gz
> tomcat@"/>
> </exec>

When you replace "rsync" with "echo" you will see that the
quotes around the ssh command are removed.
IIRC you can also supply the args separately, instead
of using line=.

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