Hello People, I am not finding any solution to my Problem in the Documentation. I am compiling scala code at runtime using a global.Run . However it is compiling to the root of my project. I want to specify the folder to which my .class files are compiled to.
`
// Define a Run. A Run is an execution of the scala compiler.
val global = new Global(settings)
val run = new global.Run
// Compile exported code and the simulator that uses it
Log.trace("Compiling", this.getClass.getName)
run.compile(List("src/main/resources/scala/Simulator.scala", this.path.resolve("scalaExec.scala").toString))`