eclipse-archived / ceylon-ide-eclipse

Eclipse Plugin for Ceylon
http://ceylon-lang.org/documentation/ide
Eclipse Public License 1.0
59 stars 28 forks source link

Misleading error(s) on absent JRE in class path #1626

Open simonthum opened 8 years ago

simonthum commented 8 years ago

It was possible before to have project without JRE in the eclipse class path, apparently the IDE created them that way in one of the prereleases.

The missing line in .classpath:

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>

fixes these issues, i.e. class files actually get generated. The project itself was intended to be pure ceylon (without native or interop), and compiled fine in previous IDE versions without the path added.

It would be much better if the IDE highlighted that problem on its own, as the followup errors are not typically useful.

gavinking commented 8 years ago

WDYT, @davidfestal?