public class ExplodedWar extends DefaultTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
ExplodedWar() |
Modifier and Type | Method and Description |
---|---|
protected void |
buildWarTemplate() |
void |
classpath(Object... classpath) |
CopySpec |
from(Object... input) |
FileCollection |
getClasspath() |
File |
getDestinationDir() |
CopySpec |
getWebInf() |
File |
getWebXml() |
void |
setClasspath(FileCollection classpath) |
void |
setDestinationDir(File destinationDir) |
void |
setWebXml(File webXml) |
CopySpec |
webInf(groovy.lang.Closure<CopySpec> configureClosure) |
addValidator, 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, toString
protected void buildWarTemplate()
public CopySpec getWebInf()
@InputFiles @Optional public FileCollection getClasspath()
public void setClasspath(FileCollection classpath)
public void classpath(Object... classpath)
@InputFile @Optional public File getWebXml()
public void setWebXml(File webXml)
public File getDestinationDir()
public void setDestinationDir(File destinationDir)