ant, rsync and exclude

2006-09-12 Thread Michael Bauroth
Hi, I know it's a more rsync related question. But probably somebody knows more about it. I try to use a ant task to rsync some directories. Now I want to keep 2 files on my destination directory, while the other files will be removed with --delete option, when they don't exist.

Re: ant, rsync and ssh passphrase

2006-08-21 Thread Michael Bauroth
Thank you Antoine! Regards Michael Antoine Levy-Lambert wrote: Hi, if the implementation of rsync asks for the passphrase on the console and not from stdin (programs like su or login do this for their query of password) there is no way you can give the passphrase when starting rsync using

Re: ant, rsync and ssh passphrase

2006-08-21 Thread Antoine Levy-Lambert
Hi, if the implementation of rsync asks for the passphrase on the console and not from stdin (programs like su or login do this for their query of password) there is no way you can give the passphrase when starting rsync using the ant task exec. interacts with executables the same way as

ant, rsync and ssh passphrase

2006-08-16 Thread Michael Bauroth
Hi, does there exist an option to use rsync with ssh + password/passphrase from within ANT too? If so, how can I call it? Any help would be great. Regards Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: error while using exec rsync

2006-08-15 Thread Dominique Devienne
[exec] rsync: Failed to exec ssh: No such file or directory (2) Probably a Path issue. You use an absolute path for the rsync executable, but this one simply exec's ssh with no path, and can't find it. Adjust your Path (or PATH) to find all cygwin's executable, From outsid

error while using exec rsync

2006-08-15 Thread Michael Bauroth
Hi, just a second question. I've searched before over about a hour with Google, but without success. I call the following script from within Eclipse (Windows XP): All what I get is the following error :( [exec] rsync: Failed to exec ssh: No such fi

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
, 2005 4:07 PM To: Ant Users List Subject: RE: rsync 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

RE: rsync

2005-12-22 Thread Marcus Zafarano
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

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
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 Subjec

RE: rsync

2005-12-22 Thread Marcus Zafarano
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

RE: rsync

2005-12-22 Thread Marcus Zafarano
We use certificates and sudo, for user dssjava. -Original Message- From: Sommers, Elizabeth [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 10:48 AM To: 'Ant Users List' Subject: RE: rsync That is pretty close to what I have. How are you dealing with

RE: rsync

2005-12-22 Thread Srikrishna_Parthasarathy
Can you share your properties file and explain on what exactly 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

RE: rsync

2005-12-22 Thread Sommers, Elizabeth
That is pretty close to what I have. How are you dealing with passwords? -Original Message- From: Marcus Zafarano [mailto:[EMAIL PROTECTED] Sent: Thursday, December 22, 2005 1:45 PM To: Ant Users List Subject: RE: rsync

RE: rsync

2005-12-22 Thread Anderson, Rob (Global Trade)
There is a java rsync implementation: http://jarsync.sourceforge.net/ If you are willing to write such a task I think it would be quite usefull. -Rob Anderson > -Original Message- > From: Jeffrey E Care [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 22, 2005 10:32 AM

RE: rsync

2005-12-22 Thread Marcus Zafarano
-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 t

Re: rsync

2005-12-22 Thread Jeffrey E Care
AFAIK there's no rsync task. It should be fairly easy to use though to just execute the native application. Try checking the manual for the task. JEC -- Jeffrey E. Care ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) "Sommers,

rsync

2005-12-22 Thread Sommers, Elizabeth
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.pragmatic

RE: rsync wildcard

2005-04-06 Thread Euan Guttridge
Thanks Daniel - works a treat: - Daniel wrote : Looks like Ant doesn't do the expansion that the shell does. This is OK - I don't think it is supposed to. You can use the "apply" task and specify the *.gz files as a fileset: - Daniel Euan Guttridge wrote: >Hi > >Can

RE: rsync wildcard

2005-04-06 Thread Matt Benson
--- Christoph Bugel <[EMAIL PROTECTED]> wrote: > IIRC you can also supply the args separately, > instead > of using line=. > s/can/should/ -Matt > > __ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://person

Re: rsync wildcard

2005-04-06 Thread frode
If you want shell expansion, you could probably exec "sh" and use On Wed, Apr 06, 2005 at 15:42:21 +0300, Daniel Blaukopf wrote: > Looks like Ant doesn't do the expansion that the shell does. This is OK > - I don't think it is supposed to. You can use the "apply" task and > specify the *.gz file

Re: rsync wildcard

2005-04-06 Thread Daniel Blaukopf
Looks like Ant doesn't do the expansion that the shell does. This is OK - I don't think it is supposed to. You can use the "apply" task and specify the *.gz files as a fileset: - Daniel Euan Guttridge wrote: Hi Can anyone advise why the following works on the command line, but

RE: rsync wildcard

2005-04-06 Thread Christoph Bugel
> 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. > > > > > When you replace "r

rsync wildcard

2005-04-06 Thread Euan Guttridge
Hi 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. Thanks -

rsync with password

2004-08-05 Thread roger day
I'm using rsync under the ant exec command but I don't want to use a password-less ssh connection. Can I get exec to except input from STDIN - or what cygwin on XP fondly believes to be STDIN? TIA, roger. -- http://www.b

using rsync with exec

2003-03-13 Thread Rajiv Karuthethil
I am trying to use rsync with exec task. But I am getting the following error: [exec] link_stat *.properties : No such file or directory [exec] building file list ... done Here is the exec task: Is there a better way to use rsync? Any help will be greatly appreciated