public class GwtSuperDev extends AbstractGwtActionTask implements GwtSuperDevOptions
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
GwtSuperDev() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgs()
Called directly before executing this task.
|
protected void |
configure(GwtSuperDevOptions options) |
Boolean |
getAllowMissingSrc() |
String |
getBindAddress() |
Boolean |
getCompileTest() |
Integer |
getCompileTestRecompiles() |
Boolean |
getFailOnError() |
File |
getLauncherDir() |
Boolean |
getNoPrecompile() |
Integer |
getPort() |
Boolean |
getUseClasspathForSrc() |
File |
getWorkDir() |
protected boolean |
prependSrcToClasspath()
If true this causes that the src is prepended to the classpath.
|
void |
setAllowMissingSrc(Boolean allowMissingSrc) |
void |
setBindAddress(String bindAddress)
Sets the "-bindAddress" option that defines to which network ip the socket should be bound.
|
void |
setCompileTest(Boolean compileTest) |
void |
setCompileTestRecompiles(Integer compileTestRecompiles) |
void |
setFailOnError(Boolean failOnError) |
void |
setLauncherDir(File launcherDir) |
void |
setNoPrecompile(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(Integer port)
Sets the "-port" option that defines to which port the socket should be bound.
|
void |
setUseClasspathForSrc(Boolean useClasspathForSrc)
If set to true, this causes the src to be prepended to the classpath instead of using -src parameters.
|
void |
setWorkDir(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, getIncremental, getJsInteropMode, getLogLevel, getMaxHeapSize, getMinHeapSize, getModules, getSourceLevel, getSrc, isDebug, isDevTask, jvmArgs, setClasspath, setDebug, setIncremental, setJsInteropMode, setLogLevel, setMaxHeapSize, setMinHeapSize, setModules, setSourceLevel, setSrcaddValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toStringprotected void addArgs()
AbstractGwtActionTaskaddArgs in class AbstractGwtActionTaskprotected void configure(GwtSuperDevOptions options)
protected boolean prependSrcToClasspath()
AbstractGwtActionTaskprependSrcToClasspath in class AbstractGwtActionTaskpublic File getWorkDir()
getWorkDir in interface GwtSuperDevOptionsGwtSuperDevOptions.setWorkDir(File)public void setWorkDir(File workDir)
setWorkDir in interface GwtSuperDevOptionsworkDir - the workDir to setpublic String getBindAddress()
getBindAddress in interface GwtSuperDevOptionspublic void setBindAddress(String bindAddress)
setBindAddress in interface GwtSuperDevOptionsbindAddress - the bindAddress to setpublic Integer getPort()
getPort in interface GwtSuperDevOptionspublic void setPort(Integer port)
setPort in interface GwtSuperDevOptionsport - the port to set. Valid range is [1; 65535].public Boolean getNoPrecompile()
getNoPrecompile in interface GwtSuperDevOptionspublic void setNoPrecompile(Boolean noPrecompile)
setNoPrecompile in interface GwtSuperDevOptionsnoPrecompile - true if the noPrecompile flag should be set, false otherwisepublic void setUseClasspathForSrc(Boolean useClasspathForSrc)
setUseClasspathForSrc in interface GwtSuperDevOptionsuseClasspathForSrc - true to add the src to the classpath, false to use -src parameterspublic Boolean getUseClasspathForSrc()
getUseClasspathForSrc in interface GwtSuperDevOptionspublic void setLauncherDir(File launcherDir)
setLauncherDir in interface GwtSuperDevOptionspublic File getLauncherDir()
getLauncherDir in interface GwtSuperDevOptionspublic void setCompileTestRecompiles(Integer compileTestRecompiles)
setCompileTestRecompiles in interface GwtSuperDevOptionspublic Integer getCompileTestRecompiles()
getCompileTestRecompiles in interface GwtSuperDevOptionspublic void setCompileTest(Boolean compileTest)
setCompileTest in interface GwtSuperDevOptionspublic Boolean getCompileTest()
getCompileTest in interface GwtSuperDevOptionspublic void setFailOnError(Boolean failOnError)
setFailOnError in interface GwtSuperDevOptionspublic Boolean getFailOnError()
getFailOnError in interface GwtSuperDevOptionspublic void setAllowMissingSrc(Boolean allowMissingSrc)
setAllowMissingSrc in interface GwtSuperDevOptionspublic Boolean getAllowMissingSrc()
getAllowMissingSrc in interface GwtSuperDevOptions