ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blanchet Samuel <>
Subject RE: SSHExec task
Date Fri, 30 May 2003 13:52:58 GMT
I'm on a Win2k machine and I just want to execute a batch file on a remote
machine (Win2K).

I've ant16a on my machine with the SSHexec task.

the batch file is just "echo toto > file.txt"

When I use my ant script between my machine and a Unix machine, it's OK and
I don't know why it's not OK between two Win2k machines.

my ant script is : 

<target name="start_engineWin">
	<taskdef name="SSHExec"
	<sshexec host=""
	 command="cd /d c:\temp\test ; start test.bat"/>



-----Message d'origine-----
De : Ciramella, EJ []
Envoyé : vendredi 30 mai 2003 15:45
À : 'Ant Users List'
Objet : RE: SSHExec task

Could you give a little more background as to what you're trying to do (ie:
installing you software, installing a DB, uninstalling either, etc)?

-----Original Message-----
From: Blanchet Samuel []
Sent: Friday, May 30, 2003 9:44 AM
To: 'Ant Users List'
Subject: SSHExec task

Hi all,
I would like to use ssh task between Windows-Windows system but I don't want
to install something on the remote machine.
Between Windows-Unix, it's OK but between Windows-Windows I can't execute a
batch file.
Could you help me ? please.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message