tags:

views:

26

answers:

2

I'm working on a Mac. My dev server is linux. My directory is mounted over SSH using FUSE. How can I execute my ant script on the remote server within Eclipse? Right now I'm just switching to a terminal and running ant manually.

Please, no suggestions that I run the tests locally.

A: 

I don't believe Eclipse has any built in support for running ant-scripts remotely (that is, after all, not a very common use case). The alternative is to run the ant-script using ssh as an external program. You won't get the ant builder's settings, but otherwise it should work.

JesperE
I'll try this - thanks. I was hoping for something that would work under windows too, for the other folks on the team. Any ideas?
Jonathan Haddad
There are a number of ssh-clients for windows which should work out-of-the-box.
JesperE
A: 

If you are using Eclipse, have you checked out the Target Management plugin?

okun