Make Eclipse NOT run project on errors

Viewed 5625

Is it possible to make Eclipse (Helios SR2) NOT run your project on errors, instead of prompting for an answer or run anyway ?

Scenario:

In eclipse, I hit the Run button. There are compilation errors. Eclipse asks me if I would still like to continue with the run. I have the options of "Yes" and "No". I can also tick "Always run without asking".

In Eclipse Preferences, under Run/Debug > Launching there are radio buttons for "Continue launch if project contains errors", but they only give 2 options, "Always" or "Prompt". Other sections on that page give the options "Never", but not this one.

Now. I'd just like to never run if there are errors, without any prompt (a console message would be just perfect, but not required). Is that possible ?

5 Answers

Use the Build button instead of the Run/Debug button.

Related