eclipse plugin - Run As -> Scala Application chooses wrong package name
Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/177
Reporter jla
if you try to run a scala object via the Run As -> Scala Application
menu the eclipse plugin fails to use the correct package name when the
source path is a multiple level directory such as src/main/scala
(maven 2 style layout)
when running the menu item on the class test.Hello the following
exception occurs in the console:
Exception in thread "main" java.lang.NoClassDefFoundError:
src/main/scala/test/Hello
steps to reproduce:
plugin should know classname is test.Hello when using deep source path
and run it in the console
Reporter jla
if you try to run a scala object via the Run As -> Scala Application
menu the eclipse plugin fails to use the correct package name when the
source path is a multiple level directory such as src/main/scala
(maven 2 style layout)
when running the menu item on the class test.Hello the following
exception occurs in the console:
Exception in thread "main" java.lang.NoClassDefFoundError:
src/main/scala/test/Hello
steps to reproduce:
- create new scala project
- remove default src/ build path
- mkdir src/main/scala
- add src/main/scala build path
- create new scala application (src/main/scala/test/Hello.scala)
- on the new object: run as -> scala application
plugin should know classname is test.Hello when using deep source path
and run it in the console
Leave a comment
Presumably this refers to the "old" plugin, seeing as the "new" plugin doesn't currently support Run As => Scala Application at all.
on 2009-01-14 12:54 *
By tracImporter
Closed As: invalid