Can't install nightly worksheet for Scala IDE V2.1.0 for Scala 2.1.0 nightly due to missing dependency

77 views
Skip to first unread message

adrians

unread,
Oct 27, 2012, 2:34:43 AM10/27/12
to scala-i...@googlegroups.com

Created isssue Issue 106 for this.

The nightly worksheet for Scala-IDE 2.1.0 with Scala 2.1.0 is currently broken as it seems to depend on a Scala-IDE version that is just slightly off. I had it installed and working, but, as of about Octover 22nd, when I tried to update plugins my I got errors about an unresolvable dependency. I tried uninstalling the worksheet and re-installing, but had no luck. The current message I'm getting is this:

Cannot complete the install because one or more required items could not be found.
Software being installed: Scala Worksheet 0.2.0.nightly-2_10-201210270333-be42feb (org.scalaide.worksheet.feature.feature.group 0.2.0.nightly-2_10-201210270333-be42feb)
Missing requirement: Scala Worksheet 0.2.0.nightly-2_10-201210270333-be42feb (org.scalaide.worksheet.feature.feature.group 0.2.0.nightly-2_10-201210270333-be42feb) requires 'org.scala-ide.sdt.feature.feature.group [2.1.0.nightly-2_10-201210270323-ef3e820]' but it could not be found

This was after I had just upgraded to the latest Scala-IDE with version:
2.1.0.nightly-2_10-201210270322-1e79bba

Note the version of the IDE the worksheet is looking for - it's the same day as the build that is available on the update site, but just slightly later.


-Adrian

Mirco Dotta

unread,
Oct 27, 2012, 4:40:40 AM10/27/12
to scala-i...@googlegroups.com
This is not an issue, it's how it is supposed to work. To avoid any sort of binary incompatibility, you need to update the Worksheet nightly always together with the Scala IDE nightly, as the former has a strict dependency with the latter. You can do so by simply clicking on Help > Check For Updates and update the two plugins together.

I just did it myself, and it works.

I'm closing the ticket, please let me know if you experience any further problem.

-- Mirco

adrians

unread,
Oct 27, 2012, 12:07:30 PM10/27/12
to scala-i...@googlegroups.com
Hi Mirco,

I read the warning about getting the IDE and worksheet together - that's what I had been doing before and there was no problem. As I mentioned, as of some days ago, the worksheet would not update anymore because of a missing dependency. The update sites I'm using are listed below. For the worksheet, its wiki lists two different update sites, BTW - one on the main wiki page and the other, with dreamhosters.com, in the getting started. I've tried both, but I'm getting the same results.

I've now uninstalled Scala-IDE and just selected the worksheet to let it bring in the appropriate worksheet version, but I still get the dependency failure message I already described.

http://download.scala-ide.org/nightly-update-juno-master-2.10.x
http://scala-ide.dreamhosters.com/nightly-update-worksheet-scalaide21-210/site/
http://download.scala-ide.org/nightly-update-worksheet-scalaide21-210/site/

Mirco, did you notice the detail about the just slightly off version between the worksheet and IDE? These are the versions of each feature that are available at this moment from the nightly update sites.

Scala Worksheet    0.2.0.nightly-2_10-201210270333-be42feb
Scala IDE for Eclipse    2.1.0.nightly-2_10-201210270322-1e79bba

What the worksheet is looking for:
2.1.0.nightly-2_10-201210270323-ef3e820

In case it makes a difference, I'm trying to make this work on the Spring Tool Suite  (3.1.0.201210061306-RELEASE-e42), the 3.1.0 release running on Juno with Windows 7 64 bit.

Regards,
Adrian

Mirco Dotta

unread,
Oct 27, 2012, 5:02:03 PM10/27/12
to scala-i...@googlegroups.com
Oh, now I see what's the issue. In short, the current worksheet nightly is compiled against the Scala IDE nightly for Indigo, and hence it can currently only be installed on Indigo only. This is unfortunate, I'll be back tomorrow with a solution. Thanks for reporting this!

-- Mirco

Mirco Dotta

unread,
Oct 27, 2012, 5:13:01 PM10/27/12
to scala-i...@googlegroups.com
If you try to update the worksheet now, it should work just like in the past.

-- Mirco
Reply all
Reply to author
Forward
0 new messages