scala-ide/scala-ide — pull request #124 by dotta (2012-06-16 12:13:07+00:00)
Title: Issue/make run as scala app more robust 1000911

Made ``Run As Scala Application`` more robust

Display a dialog when trying to run a scala application if:

* The project cannot be built (if that is the case, no binary is produced, hence the application cannot be run).
* The package name doesn't match the source's physical location (this is a known limitation Re #1000541)
* The main type name provided in the Launch Configuration does not point to an existing source.

Fixed #1000911

Note: I'd like to backport this to release/2.0.x branch.