public class GwtSuperDev extends AbstractGwtActionTask implements GwtSuperDevOptions
| Constructor and Description |
|---|
GwtSuperDev() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtSuperDevOptions options) |
java.lang.Boolean |
getAllowMissingSrc() |
java.lang.String |
getBindAddress() |
java.lang.Boolean |
getClosureFormattedOutput() |
java.lang.Boolean |
getCompileTest() |
java.lang.Integer |
getCompileTestRecompiles() |
java.lang.Boolean |
getFailOnError() |
java.io.File |
getLauncherDir() |
java.lang.Boolean |
getNoPrecompile() |
java.lang.Integer |
getPort() |
java.lang.Boolean |
getUseClasspathForSrc() |
java.io.File |
getWorkDir() |
protected boolean |
prependSrcToClasspath()
If true this causes that the src is prepended to the classpath.
|
void |
setAllowMissingSrc(java.lang.Boolean allowMissingSrc) |
void |
setBindAddress(java.lang.String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the
socket should be bound.
|
void |
setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
If set to true, this adds the parameter -XclosureFormattedOutput.
|
void |
setCompileTest(java.lang.Boolean compileTest) |
void |
setCompileTestRecompiles(java.lang.Integer compileTestRecompiles) |
void |
setFailOnError(java.lang.Boolean failOnError) |
void |
setLauncherDir(java.io.File launcherDir) |
void |
setNoPrecompile(java.lang.Boolean noPrecompile)
Sets the "-noprecompile" flag that causes the Super Dev Mode to
not compile the modules on startup but only at access.
|
void |
setPort(java.lang.Integer port)
Sets the "-port" option that defines to which port the socket
should be bound.
|
void |
setUseClasspathForSrc(java.lang.Boolean useClasspathForSrc)
If set to true, this causes the src to be prepended to the
classpath instead of using -src parameters.
|
void |
setWorkDir(java.io.File workDir)
Sets the "-workDir" option that specifies the directory where the
Super Dev Mode outputs its
generated files.
|
argIfEnabled, argIfSet, argOnOff, args, dirArgIfSet, exec, getClasspath, getExtraJvmArgs, getGwtVersion, getIncremental, getJsInteropExports, getJsInteropMode, getLogLevel, getMaxHeapSize, getMethodNameDisplayMode, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, setClasspath, setDebug, setExtraJvmArgs, setGwtVersion, setIncremental, setJsInteropExports, setJsInteropMode, setLogLevel, setMaxHeapSize, setMethodNameDisplayMode, setMinHeapSize, setModules, setSourceLevel, setSrccompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsprotected void addArgs()
AbstractGwtActionTaskaddArgs in class AbstractGwtActionTaskprotected void configure(GwtSuperDevOptions options)
protected boolean prependSrcToClasspath()
AbstractGwtActionTaskprependSrcToClasspath in class AbstractGwtActionTask@Internal public java.io.File getWorkDir()
getWorkDir in interface GwtSuperDevOptionsGwtSuperDevOptions.setWorkDir(File)public void setWorkDir(java.io.File workDir)
setWorkDir in interface GwtSuperDevOptionsworkDir - the workDir to set@Optional @Input public java.lang.String getBindAddress()
getBindAddress in interface GwtSuperDevOptionspublic void setBindAddress(java.lang.String bindAddress)
setBindAddress in interface GwtSuperDevOptionsbindAddress - the bindAddress to set@Optional @Input public java.lang.Integer getPort()
getPort in interface GwtSuperDevOptionspublic void setPort(java.lang.Integer port)
setPort in interface GwtSuperDevOptionsport - the port to set. Valid range is [1; 65535].@Optional @Input public java.lang.Boolean getNoPrecompile()
getNoPrecompile in interface GwtSuperDevOptionspublic void setNoPrecompile(java.lang.Boolean noPrecompile)
setNoPrecompile in interface GwtSuperDevOptionsnoPrecompile - true if the noPrecompile flag should be set,
false otherwisepublic void setUseClasspathForSrc(java.lang.Boolean useClasspathForSrc)
setUseClasspathForSrc in interface GwtSuperDevOptionsuseClasspathForSrc - true to add the src to the classpath,
false to use -src parameters@Input public java.lang.Boolean getUseClasspathForSrc()
getUseClasspathForSrc in interface GwtSuperDevOptionspublic void setLauncherDir(java.io.File launcherDir)
setLauncherDir in interface GwtSuperDevOptions@Optional @InputDirectory @PathSensitive(value=ABSOLUTE) public java.io.File getLauncherDir()
getLauncherDir in interface GwtSuperDevOptionspublic void setCompileTestRecompiles(java.lang.Integer compileTestRecompiles)
setCompileTestRecompiles in interface GwtSuperDevOptions@Optional @Input public java.lang.Integer getCompileTestRecompiles()
getCompileTestRecompiles in interface GwtSuperDevOptionspublic void setCompileTest(java.lang.Boolean compileTest)
setCompileTest in interface GwtSuperDevOptions@Optional @Input public java.lang.Boolean getCompileTest()
getCompileTest in interface GwtSuperDevOptionspublic void setFailOnError(java.lang.Boolean failOnError)
setFailOnError in interface GwtSuperDevOptions@Optional @Input public java.lang.Boolean getFailOnError()
getFailOnError in interface GwtSuperDevOptionspublic void setAllowMissingSrc(java.lang.Boolean allowMissingSrc)
setAllowMissingSrc in interface GwtSuperDevOptions@Optional @Input public java.lang.Boolean getAllowMissingSrc()
getAllowMissingSrc in interface GwtSuperDevOptions@Optional @Input public java.lang.Boolean getClosureFormattedOutput()
getClosureFormattedOutput in interface GwtSuperDevOptionspublic void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
setClosureFormattedOutput in interface GwtSuperDevOptionsclosureFormattedOutput - The closure formatted output.