« Return to Thread: Create a task to deploy in a remote server

RE: Create a task to deploy in a remote server

by Dubois, Fabien :: Rate this Message:

Reply to Author | View in Thread

Okay Thank you, I m trying to use scp

-----Message d'origine-----
De : Tom Drynda [mailto:tad@...]
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}:${remoteUserPassword}@${serverName}:${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 <antoine.pourchez@...>
To: 'Ant Users List' <user@...>
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:fabien.dubois@...]
Envoyé : jeudi 17 avril 2008 10:33
À : user@...
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: user-unsubscribe@...
For additional commands, e-mail: user-help@...

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...








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: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: Create a task to deploy in a remote server

LightInTheBox - Buy quality products at wholesale price