Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stephenh/scala-test
https://github.com/stephenh/scala-test
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stephenh/scala-test
- Owner: stephenh
- Created: 2011-06-17T19:52:28.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-08-17T20:12:38.000Z (about 13 years ago)
- Last Synced: 2024-10-12T10:15:18.330Z (about 1 month ago)
- Language: Scala
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
Roughly:
1. Clone:
https://github.com/stephenh/google-web-toolkit
Checkout the scala-test branch.
Run `ant dist-dev`
2. Import `gwt-dev` and `gwt-user` into Eclipse
Change the `/home/stephen/.../scala-library.jar` build path location to a `scala-library.jar` from 2.9.0-1 download on your machine.
3. In Window / Preferences / Google / Web Toolkit add a GWT SDK with the name of "GWT trunk" that points to the checkout from step 1.
4. Import this project (`scala-test`) into Eclipse
5. Change the paths in `build.sh` for your machine.
6. Invoke `./build.sh` to create jribble files
Now you should be able to:
* Run ScalaTest.html.launch to start DevMode
* Run ScalaTestCompile.launch to compile to WebMode
* Run JavaTestCompile.launch to compile Java code that uses GWT-RPC interfaces defined in ScalaIf you want to try the output from WebMode, to start a server:
* Download [jtty.jar](https://github.com/downloads/stephenh/jtty/jtty.jar)
* Copy `gwt-servlet.jar` and `scala-library.jar` to `WEB-INF/lib`
* Run `java -jar jtty.jar 8080 war`
* Open `http://127.0.0.1:8080/ScalaTest.html` in Firefox