- 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
Sat, 2009-02-21, 23:50
I'd like scalac task to have "minversion" property. Task should fail
if scala version is below specified value.
When program cannot be compiled, I'd like to help developers find
reason faster: because compiler is too old.
I could write a patch.
There is also a need for runtime detection of scala library version. I
know there is a library.property file in the scala-library.jar, that
could be used for that purpose, however:
1. File name library.properties could cause conflict with another
library, which owner wishes to store his library version in the
library.properties file. Scala library library.properties should be
renamed to scala/library.properties.
2. Undocumented anywhere, so not guaranteed to be changed one day. I
don't know where to place description of the file content. There is no
single place of Scala Documentation, like in JDK:
http://download.java.net/jdk7/docs/ . I think this place should be
created. Description of scala/library.properties should live there.