Class Compiler

java.lang.Object
kth.soffgrupp.se.Compiler

class Compiler
extends Object
This class compiles the source files in the directory ./test/assignment2/
  • Constructor Details

    • Compiler

      Compiler()
  • Method Details

    • compile

      public void compile​(BuildLogger log, String path) throws CompilationException
      The compile function opens a new process to compile the project into a new jar file. The stdout and stderror of the compilation process is printed to the servers stdout. In the case of an IOException, the exceptions stacktrace is printed to the servers stdout.
      Throws:
      CompilationException