I've played around with sudo in something more or less similar. You might
want to execute something like
bash -c "sudo your_stuff"
rather than the command itself. Don't want to discourage You, but in the end
I dropped the scp task and started doing a simple exec with an ssh command
in it. Don't kn
Hi,
(I might have missed this suggestion)
Why not just put a script or ant build on the remote machine? Then call
that from Ant using sshexec.
best,
-Rob
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
-Original Message-
From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 25, 2006 10:36 AM
To: Ant Users List
Subject: RE: Sudo
You can configure sudo to allow you to run commands without entering a
password. This is probably your best option. See the sudo
gt; To: user@ant.apache.org
> Subject: RE: Sudo
>
> ssh task doesn't have such an attribute. You either have to
> work with a combination of Ant and Expect or get your
> Sysadmin to grant you sudoless access like I did.
>
> Original Message Follows
> From: &q
ssh task doesn't have such an attribute. You either have to work with a
combination of Ant and Expect or get your Sysadmin to grant you sudoless
access like I did.
Original Message Follows
From: "Venkatesh Vijayakumar04" <[EMAIL PROTECTED]>
Reply-To: "Ant Users List"
To: "Ant Users Li