You can setup cygwin on the win system
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 11:19 AM To: user@ant.apache.org Subject: RE: rsync I have only private and public key . I don't have Certificate files. More we are using from a windows box to an unix box. Will this rsync work? -----Original Message----- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 2:06 PM To: Ant Users List Subject: RE: rsync rsync -r -v --rsh=ssh [EMAIL PROTECTED]://app/home/dssjava/java/jboss-3.2.7 . Is a basic UNIX rsync command structure. As you can see the arg in the ant script is [EMAIL PROTECTED]://app/home/dssjava/java/jboss-3.2.7 . Where [EMAIL PROTECTED]: = [EMAIL PROTECTED]://app/home/dssjava/java/jboss-3.2.7 The user/dir you want to copy from which system And ${deploy.remote.build.dist.base.dir = . is the dir you are copying to. If you have sudo user, such as our dssjava, you will need to use ssh certs to be able to not have to type in a password everytime. So your dir should look like this for the sudo user. [EMAIL PROTECTED] dssjava]$ ls -la total 1204 drwx------ 2 dssjava dsslogic 4096 Nov 21 14:45 .ssh the .ssh is a dir. [EMAIL PROTECTED] .ssh]$ ls authorized_keys id_dsa id_dsa.pub known_hosts the auth_keys file will contain genertated keys for specific users to be able to access the system without having to type in the password each time. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:48 AM To: user@ant.apache.org Subject: RE: rsync Can you share your properties file and explain on what exactly <arg value="[EMAIL PROTECTED]:${deploy.remote.build.dist.bas e.dir}" /> <arg value="${build.dist.dir}" /> this do ? Thanks srikrishna -----Original Message----- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:45 PM To: Ant Users List Subject: RE: rsync <echo message="Starting file transfer to ${deploy.remote.host.name}" /> <exec dir="." executable="rsync" os="Linux" failonerror="true"> <arg value="-r" /> <arg value="-v" /> <arg value="--rsh=ssh" /> <arg value="${build.dist.dir}" /> <arg value="[EMAIL PROTECTED]:${deploy.remote.build.dist.bas e.dir}" /> </exec> -----Original Message----- From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:18 AM To: 'user@ant.apache.org' Subject: rsync Does anybody have an ant rsync task that I can use. I expected this to be an optional task, but I can't seem to find it. Otherwise, I would be very happy to see the code that you are using to exec rsync. Thanks Liz [EMAIL PROTECTED] ____________________________ http://www.pragmatics.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]