This page is no longer maintained — Please continue to the home page at www.scala-lang.org

stability of CompileServer

No replies
ido
Joined: 2011-05-02,
User offline. Last seen 42 years 45 weeks ago.

My use case is using scala for scripting scientific analysis tasks in
replacement of python.

I often find myself doing ctrl+D during compilation/running the scala
script.
Upon subsequent call of the script 'sh analyze.scala' the compiler is
stuck.

Then I have to go through the processes and kill them and restart the
script.
ps ax | awk '/scala/ { system("kill -9 " $1) }'

Is there anything that I can do beside being less erratic in
interrupting the compiler?
Is there anything the scala team can do to make the compiler more
resilient to interruptions and that I can file as a ticket?

thank you very much,
ido

script header:
#!/bin/sh
export JAVA_OPTS="-Xmx3g -Xms3g"
cp='/projects/solexadst/bin/lib/jars/scalaz-core_2.9.1-6.0.3.jar'
exec scala -classpath $cp "$0" "$@"
!#

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