- About Scala
- In the Enterprise
- Scala Community
- Language Research
- In the Press
- The Scala Team
- Scala's Prehistory
- Contact Us
- Learning Scala
- Tour of Scala
- Scala API
- Setup & Getting Started
- Programming Guides
- Other Guides
- Code Examples
- Scala Developers
Scala 2.7.4 RC1 is available
Created by admin on 2009-04-16. Updated: 2009-04-24, 16:25
We are happy to announce the new release candidate of the Scala distribution: Scala 2.7.4 RC1 is available from our Download Page. This new version is a maintenance release; several bugs have been fixed, but at this stage we are only adding new features to the new Scala 2.8 codebase, which should be complete within a few months. The version 2.7.4 of the Scala IDE for Eclipse, however, introduces many improvements, listed below.
This version will be the last release of the 2.7.x branch, and will also be the last one to support the old version 1.4 of the Java Virtual Machine. Please read below for further details on what is new in Scala 2.7.4 RC1, and in the new and improved Scala IDE for Eclipse.
The Scala 2.7.4 distribution
What is new?
The 2.7.4 release of Scala includes several bug fixes, listed below:
Scala Swing is now also included in the JVM 1.4-compatible version of the distribution. Please note that Scala 2.7.4 will be the last version of Scala to support version 1.4 of the Java Virtual Machine. Future versions will require Java 5 or newer.
The Scala IDE for Eclipse
The following release notes are by the lead plugin developer, Miles Sabin.
This release is based on a new approach to integration with the Eclipse JDT which makes use of Equinox Aspects and the JDT weaving functionality developed in conjunction with Andrew Eisenberg of AJDT.
This allows for much deeper and more robust interoperation between Eclipse's Scala and Java tooling. As a result many long standing bugs have been resolved (see below) and many additional JDT features will now work correctly with Scala projects.
From 2.7.4 onwards the new name for the plugin is the Scala IDE for Eclipse (thanks to Ian Skerrett of the Eclipse Foundation for the suggestion).
Since 2.7.3 I have taken on the role of lead for the project.
The recommended installation method is using the Scala IDE for Eclipse update site. If you want to install the Release Candidate of the new version 2.7.4, the update site is:
Meanwhile, the previous stable version 2.7.3 will remain available from the regular update site at:
Note that these are update site URLs, and are not navigable using a web-browser. Please see this page for further information. Important: if you are installing the 2.7.4 plugin on Eclipse 3.4.x, JDT weaving needs to be manually enabled after installation: go to Window → Preferences → JDT Weaving; if the preference dialog shows that JDT Weaving is currently disabled, then click on the button to enable it and follow the instructions to restart Eclipse. This step is not required with Eclipse 3.5.
Currently (as of April 2009) it is difficult (but not impossible) to install the Scala IDE into a readonly Eclipse installation. This is resolved on very recent builds of Eclipse 3.5 (post M6) but for now it's recommended to install from the RC update site directly into a fresh read-write Eclipse installation. Instructions for installing into a read-only or otherwise unusually laid out Eclipse can be found in the section "Installing JDT Weaving in a non-default location" of this guide.
If you don't install into a fresh Eclipse instance, I would recommend uninstalling any previous Scala IDE versions first.
It's no longer necessary to have per-projects settings for the Java builder (disabling output folder scrubbing and preventing the copying of .scala files to the output folder). It's not strictly necessary to remove these settings, but it's advisable. This should improve the behaviour of tools which generate Eclipse projects programmatically (eg. Maven).
There have been some minor changes to the way syntax highlight colour preferences are stored ... if things don't look quite as you'd expect then I recommend resetting them to their defaults and redo any customization you had previously.
There are persistent issues with dependency management which might show us after upgrading. If you experience hangs or extremely slow builds then I recommend locating and deleting the .manager folders that you will find at the top level of your Scala project. I expect this issue to be resolved in 2.8.0 which will make use of a significantly improved dependency management mechanism.
The following bugfixes and enhancements are included in this release:
- Equinox Aspects:
- JDT weaving features:
- The Scala IDE for Eclipse FAQ:
- Notes for (potential) contributors:
The following people provided patches and/or significant insights into bugs or new features included in this release:
- Pawel Badenski
- Mohamed Bana
- David Bernard
- Andrew Gaydenko
- Ben Hutchison
- Ismael Juma
- Joshua Suereth
Many thanks ... much appreciated. (Apologies if I've left anyone out ... please let me know if I have).