Running Eclipse as Groovy Script by default

I want to run my Groovy project in Eclipse using the shortcut (CTRL + F11). The problem is that every time I do this, I get a "Choose a launch method" dialog that gives me a choice between Groovy Console, Groovy Script, Java Application.

I have already set up the launch configuration to use Groovy Script, and if I click on the Run Configuration button in the Run As menu, it will simply launch.

How can I execute my project using a keyboard shortcut without this dialog box appearing? I can not imagine to choose one of the other options.

+4
source share
2 answers

I could never get a satisfactory combination of keys to Groovy script ends ctrl- F11. Instead, I use alt- shift- X, and then press Gwhen the menu appears.

For debugging, I use alt- shift- D, then G.

Both are push-pull, not push-pull solutions, but neither makes me use a mouse or arrow keys.

+1
source

Under Project> Properties> Java Build Path, and then click Java SE, whatever it is, click Finish.

, java, ... http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

-1

All Articles