ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: ssh advice
Date Tue, 20 Sep 2005 15:47:44 GMT
I would suggest changing your process slightly. Run Ant on the unix box
where you "dist the project". Of course, I'm not sure what output you
are trying to evaluate, but this may help your situation.

-Rob Anderson

> -----Original Message-----
> From: Ramnish Kalsi [mailto:rkalsi@Lastminute.com] 
> Sent: Friday, September 16, 2005 4:19 AM
> To: Ant Users List
> Subject: ssh advice
> 
> Hi, I am working on a project to automate a build system, and 
> the flow is somewhat like this:
>  
> 1. ssh into a unix machine. 
> 2. Sync the repository
> 3. dist the projects.
> 4. ssh into application-specific unix boxes and deploy 
> appropriate apps to appropriate boxes.
>  
> How can i gather the output of ssh task into a variable and 
> take logical decisions based upon the output.
> What should be the best possible approach for this ?
>  
> thanks.
> ramnish.
> 
> Ant version: 1.6.2
> Java version: 1.4.2_03
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential 
> and intended solely for the use of the individual or entity 
> to whom they are addressed. If you have received this email 
> in error please notify the system manager.
> 
> This footnote also confirms that this email message has been 
> swept by MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


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


Mime
View raw message