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, setSrc
compareTo, 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, usesService
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
protected void addArgs()
AbstractGwtActionTask
addArgs
in class AbstractGwtActionTask
protected void configure(GwtSuperDevOptions options)
protected boolean prependSrcToClasspath()
AbstractGwtActionTask
prependSrcToClasspath
in class AbstractGwtActionTask
@Internal public java.io.File getWorkDir()
getWorkDir
in interface GwtSuperDevOptions
GwtSuperDevOptions.setWorkDir(File)
public void setWorkDir(java.io.File workDir)
setWorkDir
in interface GwtSuperDevOptions
workDir
- the workDir to set@Optional @Input public java.lang.String getBindAddress()
getBindAddress
in interface GwtSuperDevOptions
public void setBindAddress(java.lang.String bindAddress)
setBindAddress
in interface GwtSuperDevOptions
bindAddress
- the bindAddress to set@Optional @Input public java.lang.Integer getPort()
getPort
in interface GwtSuperDevOptions
public void setPort(java.lang.Integer port)
setPort
in interface GwtSuperDevOptions
port
- the port to set. Valid range is [1; 65535].@Optional @Input public java.lang.Boolean getNoPrecompile()
getNoPrecompile
in interface GwtSuperDevOptions
public void setNoPrecompile(java.lang.Boolean noPrecompile)
setNoPrecompile
in interface GwtSuperDevOptions
noPrecompile
- true if the noPrecompile flag should be set,
false otherwisepublic void setUseClasspathForSrc(java.lang.Boolean useClasspathForSrc)
setUseClasspathForSrc
in interface GwtSuperDevOptions
useClasspathForSrc
- true to add the src to the classpath,
false to use -src parameters@Input public java.lang.Boolean getUseClasspathForSrc()
getUseClasspathForSrc
in interface GwtSuperDevOptions
public void setLauncherDir(java.io.File launcherDir)
setLauncherDir
in interface GwtSuperDevOptions
@Optional @InputDirectory @PathSensitive(value=ABSOLUTE) public java.io.File getLauncherDir()
getLauncherDir
in interface GwtSuperDevOptions
public void setCompileTestRecompiles(java.lang.Integer compileTestRecompiles)
setCompileTestRecompiles
in interface GwtSuperDevOptions
@Optional @Input public java.lang.Integer getCompileTestRecompiles()
getCompileTestRecompiles
in interface GwtSuperDevOptions
public void setCompileTest(java.lang.Boolean compileTest)
setCompileTest
in interface GwtSuperDevOptions
@Optional @Input public java.lang.Boolean getCompileTest()
getCompileTest
in interface GwtSuperDevOptions
public void setFailOnError(java.lang.Boolean failOnError)
setFailOnError
in interface GwtSuperDevOptions
@Optional @Input public java.lang.Boolean getFailOnError()
getFailOnError
in interface GwtSuperDevOptions
public 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 GwtSuperDevOptions
public void setClosureFormattedOutput(java.lang.Boolean closureFormattedOutput)
setClosureFormattedOutput
in interface GwtSuperDevOptions
closureFormattedOutput
- The closure formatted output.