using rsync for jar file

Vanitha vanitha at stee.stengg.com
Tue Aug 17 21:56:56 MDT 2010


Precisely  I did the same thing & I noticed that the size of the file and
the timestamp didn't change. How do I troubleshoot this? Any help is
appreciated

 

  _____  

From: Tony Abernethy [mailto:tony at servasoftware.com] 
Sent: Wednesday, August 18, 2010 11:08 AM
To: Vanitha
Subject: Re: using rsync for jar file

 

Do a ls -l on the source before and after the changes. You should see some
change in size and in timestamp. If nothing changes you have bigger
problems. 

Sent from my iPhone


On Aug 17, 2010, at 10:04 PM, "Vanitha" <vanitha at stee.stengg.com> wrote:

I apologize for not providing the details. Actually what we are trying to
rsync is that the jar file name will remain the same. There might be some
addition of new class files /changes to the existing class files in the JAR.


 

I.e. we have multiple servers. All the servers will have the same jar file
(abc.jar). But from one of the server, whenever there is a software upgrade
the abc.jar contents will change.we are trying to use rsync to synchronise
the change to the rest of the servers. But we noticed that even after rsync
the abc.jar size of the file didn't reflect to the latest../contents are not
changed..

 

This test is performed on Linux (Ubuntu 9.0)

 

 


  _____  


From: Tony Abernethy [mailto:tony at briar-cliff.com] 
Sent: Wednesday, August 18, 2010 10:43 AM
To: 'Vanitha'
Subject: RE: using rsync for jar file

 

Details are missing.

Odds are that when you write down and look at the details, the answer will
be self-evident.

There are not many mind readers. (those that are merely say "You made a
mistake")

 

FWIW, a JAR file is just a normal zip file with a funny file extension.

Unless you have some means of changing the content of the file without
changing the directory entry, rsync itself will do fine.

It is possible that you are suffering from Windows tendency to write the
directory entry and then slowly write the contents of the file to disk.

If that sounds incredibly stupid, remember who it was that got your money.

 

From: rsync-bounces at lists.samba.org [mailto:rsync-bounces at lists.samba.org]
On Behalf Of Vanitha
Sent: Tuesday, August 17, 2010 9:27 PM
To:  <mailto:rsync at lists.samba.org> rsync at lists.samba.org
Subject: using rsync for jar file

 

Hi,

 

It appears that rsync doesn't detect the changes when we try to synchronize
files of type JAR (Java Archive). Appreciate your inputs.

 

Thanks,

Vanitha

 
[This e-mail is confidential and may be privileged. If you are not the
intended recipient, please kindly notify us immediately and delete the
message
from your system; please do not copy or use it for any purpose, nor disclose
its contents to any other person. Thank you.]
---ST Electronics Group---
 

<ATT00002..txt>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100818/86bbbddf/attachment.html>


More information about the rsync mailing list