Scala Tools

The main forum for discussions about the Scala tools contributed by the community.

Eclipse Scala IDE (RC2) for Scala 2.9 and 2.8 is out

A new Release Candidate (RC2) for the coming 2.0.0 final release of the Eclipse IDE for Scala is ready for download! This release candidate includes one additional fix in the presentation compiler, better error reporting, and a few improvements affecting interoperability of mixed Scala/Java projects.  We will wait at least one week before issuing a final release, in order to allow developers and testers to send us their feedback. 

MapperDao ORM library 0.9.1 released

The library now supports 5 databases:

oracle
postgresql
mysql
derby
sql server

The mapping scala code is now more readable and easier to maintain

class Person(val name: String, val company: Company, val lives: House)
...
object PersonEntity extends Entity[IntId, Person](classOf[Person]) {
val id = key("id") autogenerated (_.id)
val name = column("name") to (_.name)
val company = manytoone(CompanyEntity) to (_.company)
...

Steadily the library is reaching version 1.0, please feel free to i.e.
state your preference for extra databases that the library should
support or any other features that should be included using the
"Issues" section of the library's home pages:

https://code.google.com/p/mapperdao/

Regards,

Kon

Eclipse IDE for Scala RC1 for Scala 2.9 and 2.8 is out

It's been a long journey! The Scala IDE for Eclipse has reached the first release candidate for version 2.0, and if no critical bugs are reported, this will be the 2.0 release! Thanks everyone for the patience and the tremendous work that got us here!

Sbt compiles scala files in the base directory even though scalaSource points to a sub directory.

My ant build script depends on several custom tasks defined in Scala. I simply keep those files in the base dir and never had any problem with that.
However sbt allows Scala code as a part of a script, so I decided to give sbt a try. Now my custom scala tasks in the base directory are compiled along with my sources and contaminate the rest of the build. Of course I will be removing those files eventually, but the thought of the build tool compiling something its not supposed to makes me very uneasy.
scalaSource is set in build.sbt as follows:
scalaSource in Compile <<= baseDirectory(_ / "src")

emacs yasnippet snippets

I downloaded the scala-tools from the svn trunk, and also from the
stable revision to see if there was
any difference.

I wanted to see the Emacs mode and the yasnippet snippets, and there is
the actually the full directory structure
(text-mode/scala-mode) but I can't actually find any yasnippet snippets...

Any hint?

Eclipse IDE for Scala beta12 for Scala 2.9 and 2.8 is out

We are happy to announce that the beta12 release of the Eclipse IDE for Scala is ready for download! This release comes in two flavors: the 2.9.2-SNAPSHOT version, and the 2.8.3-SNAPSHOT version.

The 2.8 compiler shipped with this version of the plugin is based on the development branch of 2.8.3, and is fully binary compatible with both 2.8.2 and 2.8.1. It contains the same improvements to the presentation compiler as the 2.9 version, and a number of bug fixes related to Java signatures. Also note that the 2.9.2-SNAPSHOT compiler shipped with this version of the plugin is fully binary compatile with both 2.9.1, 2.9.0-1 and 2.9.0.

The compiler as service(s)

At the suggestion of Joseph Suereth (who seems to be the unofficial list
maintainer) I am creating a new thread so the old one, "tainted" as it
is by the ugly exchange that started it, can be abandoned. It is suggested
that anyone who has something of interest to say about Roslyn uses this
new thread (or start his own!) instead.

To recap: the Visual Studio group at Microsoft has just released under the
Roslyn moniker (http://msdn.com/roslyn/) a complete rewrite of the C# and VB#
compiler whereby the compiler is exposed as a set of service APIs instead
of the black box we all know. This isn't a product and may never become one
but it seems incredibly useful.

Roslyn

Microsoft has just released project Roslyn: http://msdn.com/roslyn,
a complete rewrite of the C# and VB# compilers that breaks them into
several stages and makes them available via an API to third party
programs. I don't think Java has anything like it (although there
was talk of an AST API at some point) but how does the Scala compiler
compare?

Syndicate content

Copyright © 2013 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland