How to Run a batch file in a Remote machine Using ANT??

Posted by ragz on Stack Overflow See other posts from Stack Overflow or by ragz
Published on 2010-12-22T01:44:27Z Indexed on 2010/12/22 1:54 UTC
Read the original article Hit count: 482

Filed under:

I want to run a batch file in a remote machine using ANT. The purpose of this is it solves many tasks once it's done. Some of them are

  1. we can resart a server(Jboss,weblogic,Tomcat,etc)
  2. we can run an ant script in a remote machine

...and so on. With all those commands present in the batch file of a remote machine, this could be executed easily.

Is there a way to achieve to achieve this, please and kindly if any one do know provide a reply with example code

I hope the answer to this question perhaps useful for many people

Thanks in advance StackOverflow

© Stack Overflow or respective owner

Related posts about ant