Package | Description |
---|---|
com.google.gwt.core.ext.linker.impl | |
com.google.gwt.dev | |
com.google.gwt.dev.cfg | |
com.google.gwt.dev.shell |
Modifier and Type | Method and Description |
---|---|
static String |
PropertiesUtil.generatePropertiesSnippet(ModuleDef module,
TreeLogger compileLogger)
Returns JavaScript that declares and initializes the "providers" and "values" variables.
|
ArtifactSet |
StandardLinkerContext.getArtifactsForPublicResources(TreeLogger logger,
ModuleDef module)
Convert all static resources in the specified module to artifacts.
|
Constructor and Description |
---|
StandardLinkerContext(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
JsOutputOption outputOption) |
Modifier and Type | Method and Description |
---|---|
ModuleDef |
CompilerContext.getModule() |
protected ModuleDef |
DevMode.loadModule(TreeLogger logger,
String moduleName,
boolean refresh) |
protected ModuleDef |
DevModeBase.loadModule(TreeLogger logger,
String moduleName,
boolean refresh)
Load a module.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
Compiler.compile(TreeLogger logger,
CompilerOptions compilerOptions,
MinimalRebuildCache minimalRebuildCache,
ModuleDef moduleDef) |
static boolean |
Compiler.compile(TreeLogger logger,
CompilerOptions compilerOptions,
ModuleDef moduleDef) |
protected ShellModuleSpaceHost |
DevModeBase.doCreateShellModuleSpaceHost(TreeLogger logger,
CompilationState compilationState,
ModuleDef moduleDef)
Creates an instance of ShellModuleSpaceHost (or a derived class) using the
specified constituent parts.
|
protected StandardLinkerContext |
DevModeBase.link(TreeLogger logger,
ModuleDef module)
Perform an initial hosted mode link, without overwriting newer or
unmodified files in the output folder.
|
static void |
Link.link(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
Permutation[] permutations,
List<PersistenceBackedObject<PermutationResult>> resultFiles,
Set<PermutationResult> libraries,
PrecompileTaskOptions precompileOptions,
Link.LinkOptions linkOptions) |
static void |
Link.linkOnePermutationToJar(TreeLogger logger,
ModuleDef module,
ResourceOracle publicResourceOracle,
ArtifactSet generatedArtifacts,
PermutationResult permResult,
File jarFile,
PrecompileTaskOptions precompileOptions)
This link operation is performed on a CompilePerms shard for one
permutation.
|
CompilerContext.Builder |
CompilerContext.Builder.module(ModuleDef module)
Sets the module and uses it to set resource oracles as well.
|
protected void |
DevMode.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
protected abstract void |
DevModeBase.produceOutput(TreeLogger logger,
StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
void |
MinimalRebuildCache.recordBuildResources(ModuleDef module)
Records the resource paths and modification dates of build resources in the current compile and
builds a list of known modified resource paths by comparing the resource paths and modification
dates of build resources in the previous compile with those of the current compile.
|
void |
NullRebuildCache.recordBuildResources(ModuleDef module) |
void |
MinimalRebuildCache.recordDiskSourceResources(ModuleDef module)
Records the paths and modification dates of source resources in the current compile and builds
a list of known modified paths by comparing the paths and modification dates of source
resources in the previous compile with those of the current compile.
|
void |
NullRebuildCache.recordDiskSourceResources(ModuleDef module) |
Modifier and Type | Method and Description |
---|---|
static ModuleDef |
ModuleDefLoader.createSyntheticModule(TreeLogger logger,
String moduleName,
String[] inherits,
boolean refresh)
Creates a module in memory that is not associated with a
.gwt.xml file on disk. |
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
String moduleName)
Loads a new module from the class path and defers scanning associated directories for
resources.
|
static ModuleDef |
ModuleDefLoader.loadFromClassPath(TreeLogger logger,
String moduleName,
boolean refresh)
Loads a new module from the class path and may or may not immediately scan associated
directories for resources.
|
static ModuleDef |
ModuleDefLoader.loadFromResources(TreeLogger logger,
String moduleName,
ResourceLoader resources,
boolean refresh)
Loads a new module from the given ResourceLoader and may or may not immediately scan associated
directories for resources.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ModuleDefLoader.load(TreeLogger logger,
String nameOfModuleToLoad,
ModuleDef dest)
Loads a module and all its included modules, recursively, into the given ModuleDef.
|
Constructor and Description |
---|
ConfigurationProperties(ModuleDef def)
Takes a snapshot of a module's configuration properties.
|
ModuleDefSchema(TreeLogger logger,
ModuleDefLoader loader,
String moduleName,
URL moduleURL,
String modulePackageAsPath,
ModuleDef toConfigure) |
Modifier and Type | Method and Description |
---|---|
File |
WorkDirs.getCompilerOutputDir(ModuleDef moduleDef)
Gets the compiler output directory for a particular module.
|
File |
WorkDirs.getShellPublicGenDir(ModuleDef moduleDef)
Gets the shell work directory for public generated files for a particular
module.
|
void |
BrowserListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
void |
CodeServerListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink)
Writes compiler output to the right places so that the browser will see
the newly compiled GWT code.
|
void |
SuperDevListener.writeCompilerOutput(StandardLinkerContext linkerStack,
ArtifactSet artifacts,
ModuleDef module,
boolean isRelink) |
Constructor and Description |
---|
ShellModuleSpaceHost(TreeLogger logger,
CompilationState compilationState,
ModuleDef module,
File genDir,
ArtifactAcceptor artifactAcceptor,
RebindCache rebindCache) |
Copyright © 2018. All rights reserved.