Plans? sure. I don't think it has been tested at all on Juno. So first it should be check if they are any compatibility problem, and then see what to do about it.
> Plans? sure. I don't think it has been tested at all on Juno. So first it > should be check if they are any compatibility problem, and then see what to > do about it.
On Thursday, July 26, 2012 9:29:38 PM UTC+2, Rafał Krzewski wrote:
> I've managed to get the dependencies straight (I think) but I got a > compilation error:
> [ERROR] > /home/rafal/workspaces/tools/scala/scalatest-eclipse-plugin/org.scala-ide.s dt.scalatest/src/scala/tools/eclipse/scalatest/launching/ScalaTestLaunchSho rtcut.scala:252: > error: method classpath in trait ClasspathManagement cannot be accessed in > scala.tools.eclipse.ScalaProject
> [ERROR] val loaderUrls = scProject.classpath.map { cp => new > File(cp.toString).toURI.toURL }
> Does it look like something that might have changed between master and > platform/juno branches?
> Cheers,
> Rafał
> W dniu czwartek, 26 lipca 2012 16:37:44 UTC+2 użytkownik Luc Bourlier > napisał:
>> Plans? sure. I don't think it has been tested at all on Juno. So first it >> should be check if they are any compatibility problem, and then see what to >> do about it.
I was able to get around this problem by using ScalaProject.scalaClasspath.fullClasspath instead. It causes the compilation to fail for non-Juno profiles, so the proper fix requires merging the pull request you've mentioned. It was good enough for my current purpose though.
After that change I was able to build the plugin (all integration tests passed OK). I've installed from the generated local update site it with a minor issue - I had to disable "Contact all update sites ..." checkbox in the Install new software dialog, because otherwise I got a dependency resolution error claiming that org.scala-ide.scalatest 0.9.1 requires JDT [3.6.0,3.7.10) even though I've set it to [3.6.0,4.2.10). Apparently the P2 got confused because I had the same version of the plugin available in my local site and remote scala-ide ecosystem update site.
Now the good news: I was able to run a few test I have in my toy projects (I'm just learning Scala right now) using ScalaTest plugin and it worked smoothly. Run As > ScalaTest showed up in the right places, and Package / Suite / File / Test modes worked as expected.
Would you like a pull request that expands JDT depedency range and adds scala-ide-juno-master-scala-2.9 profile?
cheers,
Rafał
W dniu czwartek, 26 lipca 2012 22:58:52 UTC+2 użytkownik Luc Bourlier napisał:
> On Thursday, July 26, 2012 9:29:38 PM UTC+2, Rafał Krzewski wrote:
>> I've managed to get the dependencies straight (I think) but I got a >> compilation error:
>> [ERROR] >> /home/rafal/workspaces/tools/scala/scalatest-eclipse-plugin/org.scala-ide.s dt.scalatest/src/scala/tools/eclipse/scalatest/launching/ScalaTestLaunchSho rtcut.scala:252: >> error: method classpath in trait ClasspathManagement cannot be accessed in >> scala.tools.eclipse.ScalaProject
>> [ERROR] val loaderUrls = scProject.classpath.map { cp => new >> File(cp.toString).toURI.toURL }
>> Does it look like something that might have changed between master and >> platform/juno branches?
>> Cheers,
>> Rafał
>> W dniu czwartek, 26 lipca 2012 16:37:44 UTC+2 użytkownik Luc Bourlier >> napisał:
>>> Plans? sure. I don't think it has been tested at all on Juno. So first >>> it should be check if they are any compatibility problem, and then see what >>> to do about it.
I know this has been asked before --- but is there a Juno-compatible version anywhere that can be installed by people that don't know how to compile everything from scratch for Juno?
On Monday, 15 October 2012 01:43:59 UTC+8, borice wrote:
> I know this has been asked before --- but is there a Juno-compatible > version anywhere that can be installed by people that don't know how to > compile everything from scratch for Juno?