Hi David,
I really appreciate your offer to help. Thanks in advance.
I have create a simple HelloWorld app in Play that uses the Scala
module which I have push to GitHub.
https://github.com/chungonn/PlayScalaHelloWorld/commits/master
Once you have pulled the repo, then you need to do the following
1. Install Play -
http://download.playframework.org/releases/play-1.1.zip
2. Checkout the HelloWorld project (above) and install Play's Scala
module. After you have downloaded the code, 'cd' to the project and
inside the project run the following command. You may need to rename
the folder from ScalaHelloWorld to HelloWorld
play install scala
3. Setup eclipse environment, this would setup all the eclipse
artefacts
play ec
4. Import this project into Eclipse
5. Run Test-cases (This is to run all the test cases)
play test
6. Do the remote debugging, go to eclipse, look for the HelloWorld
project, there is a sub-folder "eclipse". In this sub-folder select
the "Connect JPDA to HelloWorld.launch" and use the context menu
"Debug As" to run remote debug.
7. Set your breakpoints in the following testcases - BasicTest.java
and TestScala.scala
8. Prepare to initiate tests - use any browser and point to following
url -
http://localhost:9000/@tests
9. Initiate the test in browser by selecting the above 2 testcases
You would notice that the debugger works nicely for the java code but
not the scala code
Please let me know if you need any clarifications. Thanks once again.
On Nov 16, 8:28 pm, David Bernard <
david.bernard...@gmail.com> wrote:
> If you could share a sample play+scala project, I could give a try.
> (archive, github)
>
> and the instruction you use to run play in debug mode.
>
> /davidB
>