tags:

views:

18

answers:

3

Is is possible to create a custom menu item within eclipse that will perform a given shell command? I'm not looking to do a "run/debug" type thing, I want to simple shell out and run a given command. I am NOT looking to create a plugin either.

+1  A: 

There are already plugins for this, such as Wicked Shell

Mark E
+1  A: 

Or you should read this: http://douglasfils.blogspot.com/2007/07/terminal-shell-in-eclipse.html

Tomasz Kowalczyk
+1  A: 

Right past Run/Debug, there is something called External Tools. It looks like a green play icon with a toolbox. You can set these up to run anything you like, and anything you add to favorites will appear in a drop down menu for easy execution in two clicks. This can be used to run batch scripts, so that may do the trick for you.

Here's a link to the Eclipse Helios page on external tools that may be useful.

Joshua McKinnon
Thanks, this is exactly what I was looking for.
altCognito