Can't find newest version
Hi there.
The Library successfully compiles the files, but doesn't load them for some reason. Invoking sse.newInstance returns the old/initial Version of my class. Is there any way to debug this?
Apparently, since the File was compiled by sbt, this caused always the original to be loaded, and not the newly compiled file. I could fix the problem by moving the file into a directory, that is not managed by sbt. Now its being compiled and loaded every time I change it. Ideally though, I guess the sourceDir should have a higher priority than the classpath, no?
How do you instantiate scala script engine?
On 10/09/15 21:18, Thomas Karolski wrote:
Apparently, since the File was compiled by sbt, this caused always the original to be loaded, and not the newly compiled file. I could fix the problem by moving the file into a directory, that is not managed by sbt. Now its being compiled and loaded every time I change it. Ideally though, I guess the sourceDir should have a higher priority than the classpath, no?
— Reply to this email directly or view it on GitHub https://github.com/kostaskougios/scalascriptengine/issues/14#issuecomment-139367785.