Twitter github

Eclipse, Remote Systems and Shells

I had a colleague ping me today saying that he likes Eclipse but wished there was some terminal access inside of Eclipse (he’s a Linux guy). I told him I had a solution via the Target Management (TM) project at Eclipse. In essence, the TM project creates data models and frameworks to configure and manage remote (mainframe down to embedded) systems, their connections, and their services. While that sounds all great, let me just dive into what TM offers that most people would find useful.

First, to fulfill my colleague’s request of opening a local shell in Eclipse, TM handles that well (you should start with the Remote System Explorer perspective), simply open the Remote Systems view and right click on the Local Shells item to open a shell as shown below.

On top of local access, TM can even do better and give you access to remote systems. For example, I find myself hacking on build.eclipse.org a lot and the ability to seamlessly open a shell, browse the file system and edit files is priceless…

Did you know about TM and the remote system capabilities? I believe TM is one of those hidden gems in Eclipse.

  • Yes, I use that all the time. It is a great feature that I have shared with many others.

  • I haven't had as much use for it lately, but for a while I was using it and it worked well. It's really great if you want to edit files on a webserver via ssh.

    What I wish it would do is help automate remote java debugging. It would be nice if it could use the same facilities as it does with CDT to launch a java app on the remote system, then debug it with the tools in JDT. I know you can already connect to a remote session and debug with JDT, but I would like it to take care of copying the java files (or better yet building on the remote end) and launching the app with the required parameters.

  • tfrance

    Cool! I didn't know about TM. Hidden gem indeed. Thanks!

  • Thanks, that makes me feel useful for blogging these types of things.

  • vogella

    I saw Benjamin (Cabe) using it. Pretty cool stuff. I think TM and ECF are two fantastic technologies which prefer to stay hidden…. ๐Ÿ˜‰

  • I've used this before for ssh access to b.e.o, but what I would really like is a neat way to embed the thing – so for example I've also used it to ssh to remote OSGi container consoles such as Apache ServiceMix provides, and as part of a general bag of tools for that project it would be cool. Do you know of anyone who has done any embedding of that nature? Basically hiding all the TM parts ๐Ÿ™‚

  • I don't know anyone off the top of my head who actually embeds TM somewhere. However, looking at the plug-in structure it seems that it looks possible. You'd have to dig deeper in the code and probably ask on the TM mailing list.

  • I've used this before for ssh access to b.e.o, but what I would really like is a neat way to embed the thing – so for example I've also used it to ssh to remote OSGi container consoles such as Apache ServiceMix provides, and as part of a general bag of tools for that project it would be cool. Do you know of anyone who has done any embedding of that nature? Basically hiding all the TM parts ๐Ÿ™‚

  • I don't know anyone off the top of my head who actually embeds TM somewhere. However, looking at the plug-in structure it seems that it looks possible. You'd have to dig deeper in the code and probably ask on the TM mailing list.