ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <>
Subject Re: Calling a Unix Command from Ant
Date Tue, 08 Jun 2004 00:28:58 GMT
Shailesh Sharma wrote:

> Jack,
> can i also run the exec command remotely ?
> say i have a UNIX box called "a" and i wanted to run this command from "a" on "b".

Use the external, unrelated program "scp" with the correct arguments as your Ant Exec task
command to run commands on remote servers. If you are unfamiliar with scp, visit

Jack J. Woehr      # We have gone from the horse and buggy
Senior Consultant  # to the moon rocket in one lifetime, but
Purematrix, Inc.   # there has not been a corresponding moral # growth in mankind. - Dwight D. Eisenhower

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message