ALL_DIR_FILTER, factory, jsapActualArgs, LOGGER, OUTPUTDIR, RESOURCES_FILE_FILTER, SPOONED_CLASSES
Constructor and Description |
---|
IncrementalLauncher(java.util.Set<java.io.File> inputResources,
java.util.Set<java.lang.String> sourceClasspath,
java.io.File cacheDirectory)
Creates a
Launcher for incremental build. |
IncrementalLauncher(java.util.Set<java.io.File> inputResources,
java.util.Set<java.lang.String> sourceClasspath,
java.io.File cacheDirectory,
boolean forceRebuild)
Creates a
Launcher for incremental build. |
Modifier and Type | Method and Description |
---|---|
boolean |
changesPresent()
Returns true, if any source code changes after previous build are present, and false otherwise.
|
void |
saveCache()
Caches current spoon model and binary files.
|
addInputResource, addInputResource, addProcessor, addProcessor, addTemplateResource, buildModel, createCompiler, createCompiler, createCompiler, createCompiler, createCompiler, createEnvironment, createFactory, createOutputWriter, createPrettyPrinter, defineArgs, getArguments, getCompilerInstance, getEnvironment, getFactory, getModel, getModelBuilder, getProcessors, getProcessorTypes, main, parseArgs, parseClass, prettyprint, printUsage, process, processArguments, reportClassPathMode, run, run, setArgs, setBinaryOutputDirectory, setBinaryOutputDirectory, setOutputFilter, setOutputFilter, setSourceOutputDirectory, setSourceOutputDirectory
public IncrementalLauncher(java.util.Set<java.io.File> inputResources, java.util.Set<java.lang.String> sourceClasspath, java.io.File cacheDirectory, boolean forceRebuild)
Launcher
for incremental build.inputResources
- Resources to be parsed to build the spoon model.sourceClasspath
- Source classpath of the spoon model.cacheDirectory
- The directory to store all incremental information. If it's empty, full rebuild will be performed.forceRebuild
- Force to perform full rebuild, ignoring incremental cache.java.lang.IllegalArgumentException
SpoonException
public IncrementalLauncher(java.util.Set<java.io.File> inputResources, java.util.Set<java.lang.String> sourceClasspath, java.io.File cacheDirectory)
Launcher
for incremental build.inputResources
- Resources to be parsed to build the spoon model.sourceClasspath
- Source classpath of the spoon model.cacheDirectory
- The directory to store all incremental information. If it's empty, full rebuild will be performed.java.lang.IllegalArgumentException
SpoonException
Copyright © 2007–2021 Inria. All rights reserved.