Package kth.soffgrupp.se
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 Summary
Constructors Constructor Description Compiler() -
Method Summary
Modifier and Type Method Description voidcompile(BuildLogger log, String path)The compile function opens a new process to compile the project into a new jar file.
-
Constructor Details
-
Compiler
Compiler()
-
-
Method Details
-
compile
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
-