layout | title |
---|---|
default |
Scala+GWT release notes |
The third official milestone release from the Scala+GWT project.
You can check release notes for previous release here.
This release consists of just samples packaged along with snapshot of jars needed to build them. Those jars include our own version of both GWT and Scala.
This release doesn't come with any official artifacts apart from the tarball you can download from http://github.com/scalagwt/scalagwt-sample.
- Eclipse support for development mode
We've integrated Scala IDE so you can develop GWT applications in Scala using Eclipse. Development mode is supported.
- many patterns in pattern matching logic are not supported (should be fixed in next release) examples include
- pattern alternatives (
|
) - guard patterns (
if
guard)
- pattern alternatives (
- in some cases (like gwtdlx sample) optimizations enabled in gwt lead to broken JS code
We appreciate feedback. If you find something that doesn't work (e.g. crashes either Scala or GWT compiler)
or JavaScript gives you weird results we'd love to hear about it. The most effective way of reporting issues
is to modify Hello World
sample to show your problem. Exact steps are:
- Fork
scalagwt-sample
repo from here: http://github.com/scalagwt/scalagwt-sample - Clone it:
git clone git://github.com/YOUR_USER_NAME/scalagwt-sample.git
- Modify hello world sample located in
src/com/google/gwt/sample/jribble/client
- Commit and publish your example.
- File a ticket here: http://github.com/scalagwt/scalagwt-sample and mention your fork while explaining your issue.
If you want to discuss your problem before reporting it, join scalagwt@googlegroups.com.
That shouldn't be a big problem. You've got Scala source code for samples that show basic functionality and provides basic setup. You may want to start with changing hello world sample, recompiling it and testing in a browser.
You might still want to check out samples to see how they might look in a language other than Java. We'll be cutting a lot more of the boilerplate code once GWT libraries and APIs receive enough of Scala's pimp-love.
Join us here: scalagwt@googlegroups.com.
Happy playing!
Scala+GWT team
The second official milestone release from the Scala+GWT project.
You can check release notes for Scala+GWT 0.1-M1 here.
This release consists of just samples packaged along with snapshot of jars needed to build them. Those jars include our own version of both GWT and Scala.
This release doesn't come with any official artifacts apart from the tarball you can download from http://github.com/scalagwt/scalagwt-sample.
- Vastly improved compilation speed
- No more issues with GWT classpath thus build process for samples got simplified
- Development mode works
GWT's development mode is supported for Scala project now. You can get simple version
of development mode by running ant devmode
. Then load your application using the
url GWT provides. Change edit source code for Hello world sample and then type
ant scalac
in second terminal. Refresh your page in browser. You should see your
changes.
Read more about development mode.
Watch video showing full-blown development mode for Scala.
- many patterns in pattern matching logic are not supported (tough issue) examples include
- pattern alternatives (
|
) - guard patterns (
if
guard)
- pattern alternatives (
- in some cases (like gwtdlx sample) optimizations enabled in gwt lead to broken JS code
We appreciate feedback. If you find something that doesn't work (e.g. crashes either Scala or GWT compiler)
or JavaScript gives you weird results we'd love to hear about it. The most effective way of reporting issues
is to modify Hello World
sample to show your problem. Exact steps are:
- Fork
scalagwt-sample
repo from here: http://github.com/scalagwt/scalagwt-sample - Clone it:
git clone git://github.com/YOUR_USER_NAME/scalagwt-sample.git
- Modify hello world sample located in
src/com/google/gwt/sample/jribble/client
- Commit and publish your example.
- File a ticket here: http://github.com/scalagwt/scalagwt-sample and mention your fork while explaining your issue.
If you want to discuss your problem before reporting it, join scalagwt@googlegroups.com.
That shouldn't be a big problem. You've got Scala source code for samples that show basic functionality and provides basic setup. You may want to start with changing hello world sample, recompiling it and testing in a browser.
You might still want to check out samples to see how they might look in a language other than Java. We'll be cutting a lot more of the boilerplate code once GWT libraries and APIs receive enough of Scala's pimp-love.
Join us here: scalagwt@googlegroups.com.
The first official milestone release from the Scala+GWT project.
This release consists of just samples packaged along with snapshot of jars needed to build them. Those jars include our own version of both GWT and Scala.
This release doesn't come with any official artifacts apart from the tarball you can download from http://github.com/scalagwt/scalagwt-sample.
Samples show it the best. Here are some highlights:
- Mixed Scala/Java projects work very well (for GWT-supported Java subset)
- Most of Scala language constructs are supported
- Most of Scala library code that makes sense in a browser context is supported, including Scala collections
It's fair to say that we are not sure how far one can go with this release. It might be that you can already build something useful with what we already have. The only way to be sure is start hacking!
- Compilation is very, very slow.
scala.immutable.{TreeMap, TreeSet}
are not supported due to various bugs (thus sorted collections don't work)- many patterns in pattern matching logic are not supported (tough issue) examples include
- pattern alternatives (
|
) - guard patterns (
if
guard)
- pattern alternatives (
- GWT's development mode is broken
- We are compiling with all optimizations turned off. This results in a slow and very large JavaScript code.