public class ScalaContinuousCompileMojo extends ScalaCompilerSupport
| Modifier and Type | Field and Description |
|---|---|
protected File |
analysisCacheFile
Analysis cache file for incremental recompilation.
|
protected File |
mainOutputDir
The output directory for compilation.
|
protected File |
mainSourceDir
The main directory containing scala source for compilation
|
protected boolean |
once
Define if cc should run once or in infinite loop.
|
protected File |
testAnalysisCacheFile
Analysis cache file for incremental recompilation.
|
protected File |
testOutputDir
The directory to place test compilation output in
|
protected File |
testSourceDir
The directory containing test source for compilation
|
protected boolean |
useFsc
Define if fsc should be used, else scalac is used.
|
protected boolean |
verbose
Turns verbose output on.
|
ALL, INCREMENTAL, MODIFIED_ONLY, recompileModeexcludes, includes, sendJavaToScalacaddJavacArgs, addScalacArgs, args, checkMultipleScalaVersions, compilerPlugins, dependencies, displayCmd, encoding, factory, failOnMultipleScalaVersions, forceUseArgFile, fork, javacArgs, javacGenerateDebugSymbols, jvmArgs, localRepo, mavenProjectBuilder, project, reactorProjects, remoteRepos, resolver, SCALA_COMPILER_ARTIFACTID, SCALA_LIBRARY_ARTIFACTID, scalaClassName, session, source, target, toolchainManager, useCanonicalPath| Constructor and Description |
|---|
ScalaContinuousCompileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute() |
protected File |
getAnalysisCacheFile()
Analysis cache file for incremental recompilation.
|
protected List<String> |
getClasspathElements() |
protected File |
getOutputDir() |
protected JavaMainCaller |
getScalaCommand() |
protected List<File> |
getSourceDirectories()
Retrieves the list of *all* root source directories.
|
protected void |
postCompileActions()
Allows derived Mojos to do things after a compile has succesfully completed such as run test cases
|
clearCompileErrors, compile, defaultAnalysisCacheFile, defaultAnalysisDirectory, defaultTestAnalysisCacheFile, getAnalysisCacheMap, getFilesToCompile, hasCompileErrors, incrementalCompilefindSourceWithFilters, findSourceWithFilters, initFilters, normalizeaddCompilerPluginOptions, addCompilerToClasspath, addLibraryToClasspath, addToClasspath, addToClasspath, addToClasspath, addToClasspath, checkScalaVersion, execute, findScalaVersion, findVersionFromDependencies, findVersionFromPluginArtifacts, getAllDependencies, getArtifactJar, getArtifactJar, getCompilerDependencies, getCompilerJar, getCompilerPluginOptions, getDependencies, getEmptyScalaCommand, getJavacOptions, getLibraryJar, getPluginArtifactJar, getPluginArtifactJar, getScalaOptions, getScalaOrganization, isJavaSupportedByCompiler, resolveArtifactDependencies, resolveDependencyArtifactsprotected File mainOutputDir
protected File mainSourceDir
protected File testOutputDir
protected File testSourceDir
protected File analysisCacheFile
protected File testAnalysisCacheFile
protected boolean useFsc
protected boolean once
protected boolean verbose
protected List<String> getClasspathElements() throws Exception
getClasspathElements in class ScalaCompilerSupportExceptionprotected File getOutputDir() throws Exception
getOutputDir in class ScalaCompilerSupportExceptionprotected List<File> getSourceDirectories() throws Exception
ScalaSourceMojoSupportgetSourceDirectories in class ScalaSourceMojoSupportExceptionprotected File getAnalysisCacheFile() throws Exception
ScalaCompilerSupportgetAnalysisCacheFile in class ScalaCompilerSupportExceptionprotected JavaMainCaller getScalaCommand() throws Exception
getScalaCommand in class ScalaMojoSupportExceptionprotected final void doExecute()
throws Exception
doExecute in class ScalaCompilerSupportExceptionCopyright © 2012–2015. All rights reserved.