[ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.scala-ide.sdt.core 2.1.0.qualifier [ERROR] Missing requirement: org.scala-ide.scala.compiler 2.11.0.v20130104-181922-b571637c2d requires 'package javax.tools 0.0.0' but it could not be found [ERROR] Cannot satisfy dependency: org.scala-ide.sbt.full.library 0.13.0.SNAPSHOT-2_11-20130106-0513 depends on: package scala.reflect.api 0.0.0 [ERROR] Cannot satisfy dependency: org.scala-ide.sdt.core 2.1.0.qualifier depends on: bundle org.scala-ide.sbt.full.library [0.13.0,0.14.0) [ERROR]
Thanks Mirco, that solved the issue.
However now it is failing to compile JVMUtils.scala(and some others) because it depends on FJBG which seems to be removed from the scala compiler jar on 2.11.
Is there a separated FJBG artifact available?
On 09/01/13 03:46, Mirco Dotta wrote:
Hi Renato,
From the output
[ERROR] Cannot resolve project dependencies: [ERROR] Software being installed: org.scala-ide.sdt.core 2.1.0.qualifier [ERROR] Missing requirement: org.scala-ide.scala.compiler 2.11.0.v20130104-181922-b571637c2d requires 'package javax.tools 0.0.0' but it could not be found [ERROR] Cannot satisfy dependency: org.scala-ide.sbt.full.library 0.13.0.SNAPSHOT-2_11-20130106-0513 depends on: package scala.reflect.api 0.0.0 [ERROR] Cannot satisfy dependency: org.scala-ide.sdt.core 2.1.0.qualifier depends on: bundle org.scala-ide.sbt.full.library [0.13.0,0.14.0) [ERROR]
It looks like we are generating a bad MANIFEST for the scala-compiler bundle for Scala 2.11, i.e., the generated MANIFEST should not contain an import for javax.tools
What I'd try is adding a !javax.tools here https://github.com/scala-ide/scala-ide/blob/master/org.scala-ide.scala.compiler/pom.xml#L203. Re-build and see if that works.
-- Mirco
On Jan 7, 2013, at 1:28 AM, Renato Garcia wrote:
Hi,
I'm trying to build scala-ide for 2.11 so I can have a go building it with macro paradise version, however the build for 2.11 seems to be broken. I get the same error as the nightly builds here.
Any clue on what might be causing this error?
Regards,
Renato