There is an SSH task ... Mor einformation, here : http://www.jcraft.com/jsch/
\T, --- Ramnish Kalsi <[EMAIL PROTECTED]> wrote: > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Any fool can write code that a computer can understand. Good programmers write code that humans can understand. Martin Fowler T. : +32 (0)2 742 05 94 M. : +32 (0)497 44 68 12 @ : [EMAIL PROTECTED] Do you skype too ... ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]