|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.tasks.ide.eclipse.EclipseWtp
class EclipseWtp extends ConventionTask
Generates Eclipse configuration files for Eclipse WTP.
Field Summary | |
---|---|
static java.lang.String |
WTP_FILE_DIR
|
static java.lang.String |
WTP_FILE_NAME
|
Constructor Summary | |
EclipseWtp()
|
Method Summary | |
---|---|
protected void
|
generateWtp()
|
java.lang.Object
|
getDeployName()
Returns the deploy name for this project. |
java.lang.Object
|
getOutputDirectory()
Returns the java-output-path to be used by the wtp descriptor file. |
List
|
getProjectDependencies()
Returns the project dependencies to be transformed into eclipse project dependencies. |
List
|
getWarLibs()
Returns a list with library paths to be deployed as war lib dependencies. |
Map
|
getWarResourceMappings()
Returns the war resource mappings |
boolean
|
isFailForMissingDependencies()
Returns whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
void
|
setDeployName(java.lang.Object deployName)
Set the deploy name for this project. |
void
|
setFailForMissingDependencies(boolean failForMissingDependencies)
Sets whether the build should fail if lib dependencies intended to be used by this task can not be resolved. |
void
|
setOutputDirectory(java.lang.Object outputDirectory)
Sets the java-output-path to be used by the wtp descriptor file. |
void
|
setProjectDependencies(List projectDependencies)
Sets the project dependencies to be transformed into eclipse project dependencies. |
void
|
setWarLibs(List warLibs)
Sets a list with library paths to be deployed as war lib dependencies. |
void
|
setWarResourceMappings(Map warResourceMappings)
Maps a deploy-path to source-paths. |
Field Detail |
---|
static final java.lang.String WTP_FILE_DIR
static final java.lang.String WTP_FILE_NAME
Constructor Detail |
---|
EclipseWtp()
Method Detail |
---|
@TaskAction protected void generateWtp()
public java.lang.Object getDeployName()
public java.lang.Object getOutputDirectory()
public List getProjectDependencies()
public List getWarLibs()
public Map getWarResourceMappings()
public boolean isFailForMissingDependencies()
public void setDeployName(java.lang.Object deployName)
public void setFailForMissingDependencies(boolean failForMissingDependencies)
public void setOutputDirectory(java.lang.Object outputDirectory)
public void setProjectDependencies(List projectDependencies)
public void setWarLibs(List warLibs)
public void setWarResourceMappings(Map warResourceMappings)
Groovy Documentation