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.
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
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
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
[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
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
, 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
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
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
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
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
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
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
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
-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
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,
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
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
--- 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
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
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
> 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
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
-
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
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
25 matches
Mail list logo