ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Zafarano" <mzafar...@quinstreet.com>
Subject RE: rsync
Date Thu, 22 Dec 2005 21:06:50 GMT
You can setup cygwin on the win system


-----Original Message-----
From: Srikrishna_Parthasarathy@timeinc.com
[mailto:Srikrishna_Parthasarathy@timeinc.com] 
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:mzafarano@quinstreet.com] 
Sent: Thursday, December 22, 2005 2:06 PM
To: Ant Users List
Subject: RE: rsync

rsync -r -v --rsh=ssh
mzafarano@limehouse://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 

mzafarano@limehouse://app/home/dssjava/java/jboss-3.2.7 .

Where dssjava@${deploy.remote.host.name}: =
mzafarano@limehouse://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.
[dssjava@hale dssjava]$ ls -la
total 1204
drwx------    2 dssjava  dsslogic     4096 Nov 21 14:45 .ssh

the .ssh is a dir.
dssjava@hale .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: Srikrishna_Parthasarathy@timeinc.com
[mailto:Srikrishna_Parthasarathy@timeinc.com] 
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="dssjava@${deploy.remote.host.name}:${deploy.remote.build.dist.bas
e.dir}" />

                     <arg value="${build.dist.dir}" />

this do ?

Thanks
srikrishna
-----Original Message-----
From: Marcus Zafarano [mailto:mzafarano@quinstreet.com] 
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="dssjava@${deploy.remote.host.name}:${deploy.remote.build.dist.bas
e.dir}" />
     </exec>

-----Original Message-----
From: Sommers, Elizabeth [mailto:SommersE@Pragmatics.com] 
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

sommerse@pragmatics.com



____________________________ 
http://www.pragmatics.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message