Okay Thank you, I m trying to use scp
-----Message d'origine-----
De : Tom Drynda [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 17 avril 2008 11:06
À : Ant Users List
Objet : RE: Create a task to deploy in a remote server
We use scp. Works well. Here's an example:
<input
message="Remote Server User Id:"
addproperty="remoteUserId" />
<input
message="Remote Server User Password:"
addproperty="remoteUserPassword" />
<scp
todir="${remoteUserId}:[EMAIL PROTECTED]:${remoteDeployDir}"
trust="true"
verbose="true">
<fileset>...</fileset>
</scp>
And then we run a deployment script on the remote server as follows:
<sshexec
host="${serverName}"
username="${remoteUserId}"
password="${remoteUserPassword}"
command="${remoteDeployDir}/InstallStuff.ksh ${buildTag}"
trust="true"
verbose="true">
</sshexec>
-------------------------
Original Message:
From: Antoine POURCHEZ <[EMAIL PROTECTED]>
To: 'Ant Users List' <[email protected]>
Cc:
Date: Thursday, April 17 2008 09:51
Subject: RE: Create a task to deploy in a remote server
Hello, you can use :
FTP : http://ant.apache.org/manual/OptionalTasks/ftp.html
Or SCP : http://ant.apache.org/manual/OptionalTasks/scp.html (copy
by sftp possible with ant1.7)
Antoine
-----Message d'origine-----
De : Dubois, Fabien [mailto:[EMAIL PROTECTED]
Envoyé : jeudi 17 avril 2008 10:33
À : [email protected]
Objet : Create a task to deploy in a remote server
Hi,
How can I create a task to deploy in a remote machine?
Thank you in advance :)
This message contains information that may be privileged or confidential and
is the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or
any part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this
message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any
part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this
message.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]