Re: compiling problems with eclipse IDE

115 views
Skip to first unread message

Dave

unread,
Sep 28, 2012, 10:54:08 AM9/28/12
to scala-i...@googlegroups.com
Try
sbt eclipse
in the console (in the project root (toplevel directory)
and
refresh your project in eclipse (select project leaf, right mouse click refresh)


Op vrijdag 28 september 2012 08:30:34 UTC+2 schreef Carlos Carcamo het volgende:
I have this problem in eclipse IDE (with one project that I downloaded
from coursera):

The SBT builder crashed while compiling your project. This is a bug in
the Scala compiler or SBT. Check the Erorr Log for details. The error
message is: Cannot find assembly mscorlib.dll. Use -Xassem-extdirs or
-Xassem-path to specify its location

I don't know how to fix it, I compiled the project with the sbt
console and there
was no problems.

I can compile and test the project from sbt console, but not in eclipse.

When I select “Run As” - “Scala Application” it says:
"Failed to run scala application" Project "example" contains
compilations error (therefore, no binaries have been produced)

I need to fix this problem...

I attached pictures of the errors...

more details:
I'm using linux debian 6, with eclipse indigo IDE.
I used "http://download.scala-ide.org/releases-29/milestone/site" from
http://scala-ide.org/ to install scala IDE on eclipse..

iulian dragos

unread,
Sep 29, 2012, 5:02:45 AM9/29/12
to scala-i...@googlegroups.com
On Fri, Sep 28, 2012 at 8:30 AM, Carlos Carcamo <eazy...@gmail.com> wrote:
I have this problem in eclipse IDE (with one project that I downloaded
from coursera):

The SBT builder crashed while compiling your project. This is a bug in
the Scala compiler or SBT. Check the Erorr Log for details. The error
message is: Cannot find assembly mscorlib.dll. Use -Xassem-extdirs or
-Xassem-path to specify its location

This is very strange. Are you using the .NET backend?! Can you check what is the 'target' setting in your project properties/Scala compiler page?

thanks,
iulian
 


I don't know how to fix it, I compiled the project with the sbt
console and there
was no problems.

I can compile and test the project from sbt console, but not in eclipse.

When I select “Run As” - “Scala Application” it says:
"Failed to run scala application" Project "example" contains
compilations error (therefore, no binaries have been produced)

I need to fix this problem...

I attached pictures of the errors...

more details:
I'm using linux debian 6, with eclipse indigo IDE.
I used "http://download.scala-ide.org/releases-29/milestone/site" from
http://scala-ide.org/ to install scala IDE on eclipse..



--
« Je déteste la montagne, ça cache le paysage »
Alphonse Allais
Reply all
Reply to author
Forward
0 new messages