Skip to content
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

withBundledScalaContainers doesn't define a container #332

Open
muhuk opened this issue Feb 22, 2017 · 0 comments
Open

withBundledScalaContainers doesn't define a container #332

muhuk opened this issue Feb 22, 2017 · 0 comments

Comments

@muhuk
Copy link

muhuk commented Feb 22, 2017

I have EclipseKeys.withBundledScalaContainers := false in my build.sbt. But this line disappears:

  <classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/>

And I get only:

  <classpathentry sourcepath="/home/muhuk/.ivy2/cache/org.scala-lang/scala-library/srcs/scala-library-2.12.1-sources.jar" kind="lib" path="/home/muhuk/.ivy2/cache/org.scala-lang/scala-library/jars/scala-library-2.12.1.jar">
  <classpathentry sourcepath="/home/muhuk/.ivy2/cache/org.scala-lang/scala-reflect/srcs/scala-reflect-2.12.1-sources.jar" kind="lib" path="/home/muhuk/.ivy2/cache/org.sca

la-lang/scala-reflect/jars/scala-reflect-2.12.1.jar">

And no scala compiler.

When I reopen the project in eclipse, there is no container. And I get the following error:

The version of scala library found in the build path (2.12.1) is incompatible with the one 
expected by scala IDE (2.11.8). Please replace the scala library with the scala container 
or a compatible scala library jar.

I tried to follow BYOS instructions but the library and the compiler sits in different directories (in ivy cache) and it seems to expect them in one place. Besides my understanding is with withBundledScalaContainers you don't need BYOS.

Am I missing something?


sbt 0.13.13 (scala 2.10.6)
Eclipse 4.6.2
Scala IDE 4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant