Community
Participate
Working Groups
It would be nice to have ability to run "Eclipse External Tool" on a remote system
You can use the C/C++ Remote Application Launch for that purpose ... with some limitations: - You need some CDT project in the workspace with an executable - Output won't be printed to a Console I suppose that taking the C/C++ Remote Application Launch and converting it into a "Run External Tool on Remote Host" External Tool Launch simply by stripping out all the CDT debug functionality should be fairly straightforward. The biggest question is probably how the remote I/O gets into the Eclipse Console. Looking at the TM "Local Terminal" implementation which uses an External Tool Launch under the hood may help. Anna, what do you think ?
PS do you have any concrete use cases ? Note that any files / resources you select in Project Explorer are not going to be available on the remote by default.
(In reply to comment #2) > PS do you have any concrete use cases ? > > Note that any files / resources you select in Project Explorer are not going to > be available on the remote by default. We are working on a PHP project on a remote development server (synced via SFTP) and sometimes we want to run some bash script on the server. We can of course launch ssh terminal but it would be easier to register an external tool in the run menu - perhaps in external tools configuration there could be an RSE node (similarily to "Run Program", "Ant Build")?
(In reply to comment #1) > You can use the C/C++ Remote Application Launch for that purpose ... with some > limitations: > > - You need some CDT project in the workspace with an executable > - Output won't be printed to a Console > > I suppose that taking the C/C++ Remote Application Launch and converting it > into a "Run External Tool on Remote Host" External Tool Launch simply by > stripping out all the CDT debug functionality should be fairly straightforward. > > The biggest question is probably how the remote I/O gets into the Eclipse > Console. Looking at the TM "Local Terminal" implementation which uses an > External Tool Launch under the hood may help. > > Anna, what do you think ? I agree, I'd probably go this very route.
I'm going to mark this "helpwanted" and assign to the inbox, since it looks like a nice enhancement that somebody in the Community could easily implement. Of course committers are also welcome to take this :) sparrow, do you think that using the existing C/C++ Remote Launch would be an OK workaround for you for now ? (I know that some customers of ours in fact use that).
(In reply to comment #5) > I'm going to mark this "helpwanted" and assign to the inbox, since it looks > like a nice enhancement that somebody in the Community could easily implement. > > Of course committers are also welcome to take this :) > > sparrow, do you think that using the existing C/C++ Remote Launch would be an > OK workaround for you for now ? (I know that some customers of ours in fact use > that). I would try it.