|
Pramati Server can perform out-of-process compilation in two different ways:
- By using an external compiler, which leads to creation of a new process each time a new compilation is to be done. In such a case the path to an external compiler like JIKES can be specified. The JDK compiler is used by default. The value for the use attribute can be
javac or jikes as:
<external-compiler use="javac" path="C:\jdk1.3.101\bin\javac.exe">
<external-compiler use="jikes" path="C:\Jikes\bin\jikes.exe">
- By using a Compilation Server provided by Pramati Server, which creates a persistent VM, to perform compilations. In such a case the
com.sun.tools.javac.v8.Main class, present in tools.jar is used to perform compilation. Note that the tools.jar should be present in the Server classpath.
|