ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Orr <Nicholas....@mim.com.au>
Subject RE: SSHExec task
Date Mon, 02 Jun 2003 05:05:58 GMT
Ant is installed, what about SSH? Windows (some versions) only comes with a
telnet server never has come with an SSH server.

Go visit http://lexa.mckenna.edu/sshwindows/ for a SSH server to run on
windows.

Nick

-----Original Message-----
From: Blanchet Samuel [mailto:sblanchet@sopragroup.com] 
Sent: Friday, 30 May 2003 11:59 PM
To: 'Ant Users List'
Subject: RE: SSHExec task


Ant is install on the remote machine but how do you do to wait for something
to happen prior to running the bat ?



 Samuel Blanchet
 DSRH / R&D
 Sopra Group 
 20, rue des Pavillons 92807 Puteaux Cedex
 Tél. :+33 (0)1 47 17 27 43   - email : sblanchet@sopragroup.com
Ce message est exclusivement destiné aux personnes dont le nom figure
ci-dessus. Il peut contenir des informations confidentielles dont la
divulgation est à ce titre rigoureusement interdite. Dans l'hypothèse où
vous avez reçu ce message par erreur, merci de le renvoyer à l'adresse
e-mail ci-dessus et de détruire toute copie.



-----Message d'origine-----
De : Ciramella, EJ [mailto:ECiramella@emptoris.com]
Envoyé : vendredi 30 mai 2003 15:55
À : 'Ant Users List'
Objet : RE: SSHExec task


This is going to sound silly, but do you have telnet/ssh installed on that
second win machine?  Would it be possible to put ant on that second machine
and simply make it wait for something to happen prior to running the bat
file?

-----Original Message-----
From: Blanchet Samuel [mailto:sblanchet@sopragroup.com]
Sent: Friday, May 30, 2003 9:53 AM
To: 'Ant Users List'
Subject: RE: SSHExec task


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"
classname="org.apache.tools.ant.taskdefs.optional.ssh.SSHExec"/>
	<sshexec host="pleiadesng-dsrh.pc.pa.sopra"
	 username="user"
	 password="pass"
	 command="cd /d c:\temp\test ; start test.bat"/>
</target>

Thank's

 Sam



-----Message d'origine-----
De : Ciramella, EJ [mailto:ECiramella@emptoris.com]
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 [mailto:sblanchet@sopragroup.com]
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.
 
Sam



**********************************************************************
The information contained in this e-mail is confidential and is
intended only for the use of the addressee(s).
If you receive this e-mail in error, any use, distribution or
copying of this e-mail is not permitted. You are requested to
forward unwanted e-mail and address any problems to the
MIM Holdings Limited Support Centre.
For general enquires:	++61 7 3833 8000
Support Centre e-mail:	supportcentre@mim.com.au
Support Centre phone:  	Australia 1800500646
        				International ++61 7 38338042
**********************************************************************


Mime
View raw message