Groovy Documentation

org.gradle.plugins.ear
[Groovy] Class EarPluginConvention

java.lang.Object
  org.gradle.plugins.ear.EarPluginConvention

class EarPluginConvention

Property Summary
String appDirName

The name of the application directory, relative to the project directory.

DeploymentDescriptor deploymentDescriptor

A custom deployment descriptor configuration.

String libDirName

The name of the library directory in the EAR file.

 
Constructor Summary
EarPluginConvention(FileResolver fileResolver)

 
Method Summary
void appDirName(String appDirName)

Allows changing the application directory.

EarPluginConvention deploymentDescriptor(Closure configureClosure)

Configures the deployment descriptor for this EAR archive.

void libDirName(String libDirName)

Allows changing the library directory in the EAR file.

void setAppDirName(String appDirName)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Property Detail

appDirName

String appDirName
The name of the application directory, relative to the project directory. Default is "src/main/application".


deploymentDescriptor

DeploymentDescriptor deploymentDescriptor
A custom deployment descriptor configuration. Default is an "application.xml" with sensible defaults.


libDirName

String libDirName
The name of the library directory in the EAR file. Default is "lib".


 
Constructor Detail

EarPluginConvention

EarPluginConvention(FileResolver fileResolver)


 
Method Detail

appDirName

void appDirName(String appDirName)
Allows changing the application directory. Default is "src/main/application".
Parameters:
appDirName


deploymentDescriptor

EarPluginConvention deploymentDescriptor(Closure configureClosure)
Configures the deployment descriptor for this EAR archive.

The given closure is executed to configure the deployment descriptor. The DeploymentDescriptor is passed to the closure as its delegate.

Parameters:
configureClosure - The closure.
Returns:
This.


libDirName

void libDirName(String libDirName)
Allows changing the library directory in the EAR file. Default is "lib".


setAppDirName

void setAppDirName(String appDirName)


 

Gradle API 1.12