ScalaEvaluate does not work with Bash launcher
Issue #33
new
ScalaEvaluate was rewritten in Bash for some reason. This approach does not work because Scala requires JAR files, which are provided by Java and Scala launchers.
The current Bash code tries to hard-code dependency JARs, but includes the wrong JAR ($ANDURIL_HOME/scala/anduril-scala.jar).
Comments (3)
-
reporter -
yea, it was changed to bash earlier, when we had problems running the component at all. Then, we noticed that all the component does, is write a new script file on disk, and then start a new scala process running that. It sounded much more sense to do that in bash.
If you have a better implementation / idea, just go ahead, break some eggs. Nobody at the lab is using this component.
-
do we want to deprecate it then?
- Log in to comment
I think this component should be written in Java. The old Scala implementation can have problems with Scala versions, because the compiled code is distributed in the component JAR. Compiled Java works with any environment.