Migrated from http://lampsvn.epfl.ch/trac/scala/ticket/1919
Scala Plugin: 2.7.4final
Eclipse: 3.5M5 I20090202-1535
Steps to reproduce:
1. Create an RCP plugin.
2. Add Scala nature to it.
3. Create a Scala class in it and use it.
4. Create a product definition for the RCP application.
5. Export the product and run it.
The Scala source files are copied to the plugin bundle instead of the compiled .class files. Hence the exported product will abort with the following log message:
!ENTRY org.eclipse.osgi 4 0 2009-04-25 02:30:41.052
!MESSAGE Application error
java.lang.Error: Unresolved compilation problem:
ExampleClass could not be resolved
More information: http://wiki.eclipse.org/Scala_Bundle#Build_the_scala_bundle_jar
explains the problem. Maybe you should file a bug to the Eclipse PDE bugzilla requesting the necessary changes to the PDE build process.
No file chosen
You have an empty file field. Please select or remove it.
Drop the files anywhere in this page to upload them as attachments.