Class CompilerScala
- java.lang.Object
-
- org.adoptopenjdk.jitwatch.process.AbstractProcess
-
- org.adoptopenjdk.jitwatch.process.compiler.CompilerScala
-
- All Implemented Interfaces:
ICompiler,IExternalProcess
public class CompilerScala extends AbstractProcess implements ICompiler
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringCOMPILER_NAMEprivate java.nio.file.PathcompilerPathprivate java.lang.StringlanguageHomeDir-
Fields inherited from class org.adoptopenjdk.jitwatch.process.AbstractProcess
logger
-
-
Constructor Summary
Constructors Constructor Description CompilerScala(java.lang.String languageHomeDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voidaddScalaCoreLibs(java.util.List<java.lang.String> classpathEntries)booleancompile(java.util.List<java.io.File> sourceFiles, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.io.File outputDir, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener)-
Methods inherited from class org.adoptopenjdk.jitwatch.process.AbstractProcess
getErrorStream, getExecutableSuffix, getLaunchScriptSuffix, getOutputStream, isWindows, makeClassPath, runCommands, runCommands
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.adoptopenjdk.jitwatch.process.IExternalProcess
getErrorStream, getOutputStream
-
-
-
-
Field Detail
-
compilerPath
private java.nio.file.Path compilerPath
-
languageHomeDir
private java.lang.String languageHomeDir
-
COMPILER_NAME
private final java.lang.String COMPILER_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
compile
public boolean compile(java.util.List<java.io.File> sourceFiles, java.util.List<java.lang.String> classpathEntries, java.util.List<java.lang.String> vmOptions, java.io.File outputDir, java.util.Map<java.lang.String,java.lang.String> environment, ILogListener logListener) throws java.io.IOException
-
addScalaCoreLibs
private void addScalaCoreLibs(java.util.List<java.lang.String> classpathEntries)
-
-