-
Notifications
You must be signed in to change notification settings - Fork 21
RCP Product export doesn't work with Scala files #1919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Imported From: https://issues.scala-lang.org/browse/SI-1919?orig=1
|
Andy Czerwonka (czerwonka) said: |
@milessabin said: Nb. as of 2.7.4 that eclipse.org wiki page is wrong: you shouldn't have the Java builder in your .project, only the Scala builder (which will invoke the Java builder internally as necessary). |
thsoft said: |
@milessabin said: |
thsoft said:
java.lang.Error: Unresolved compilation problem: |
Andy Czerwonka (czerwonka) said: It seems extremely unstable to me. |
Andy Czerwonka (czerwonka) said: |
Andy Czerwonka (czerwonka) said: |
Andy Czerwonka (czerwonka) said: |
Andy Czerwonka (czerwonka) said: |
thsoft said: |
@milessabin said: |
thsoft said: |
@milessabin said: The workaround is to pay attention only to errors in Java source referencing Scala if there is a corresponding problem listed in the Problem view. Aside from this, are you able to export your project? |
thsoft said: |
Andy Czerwonka (czerwonka) said: Thanks for your efforts Miles - they are appreciated. |
thsoft said: scala.tools.nsc.FatalError: object scala not found. The scala file is created, but after it, the bin directory does not contain the class files compiled from Scala code, and there are real problems (i.e. not just in the editor) when trying to access them from Java code. |
thsoft said: |
@milessabin said: In the meantime, can anyone verify that the problem is indeed fixed on trunk? |
@milessabin said: |
spiros said: |
Richard Dallaway (d6y) said: Information on how to follow the ticket can be found on the wiki: |
Versions:
Scala Plugin: 2.7.4final
Eclipse: 3.5M5 I20090202-1535
Steps to reproduce:
Result:
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
!STACK 1
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.
The text was updated successfully, but these errors were encountered: