Generates the
ear files for a given engine or web application.
Example Building an engine ear:
Specify a nested element for each application you want to include in the .ear.
To generate only the .war file for each of the web applications, see tasks
<buildworkspace>, <buildpapiws>, <buildfeeds>, <buildconsole>, <buildportaladmin>.
Example: Building .ear containing only the Process Execution Engine application.
<target name="build-engine" description="Build engine ear">
<fuego.j2ee:buildear fuegobasedir="${fuego.basedir}"
destfile="${destination.file}" displayName="${displayName}"
workdir="${fuego.workdir}"
directoryfile="${fuego.directory.file}"
engineid="${engine.name}"/>
includelibs="true"/>
<fuego.j2ee:engine/>
</fuego.j2ee:buildear>
</target>
| Attribute |
Description |
Type |
Required? |
| destdir |
The destination directory where the archive file will be written. The file name of the destination archive is
calculated based on the module included in the ear. This ear should contain a single module.
|
File
|
Yes required if destFile has not been specified
|
| includelibs |
Include the required libs for the ear inside the ear itself.
|
boolean
|
No Defaults to True if an Engine is included in this ear, and defaults to False otherwise.
|
| directorypreset |
Specify a "preset" for authentication to the BPM directory.
|
String
|
No Defaults to the "engine" preset.
|
| destfile |
The file name of the destination archive file.
|
File
|
Yes required if destDir has not been specified
|
| engineid |
The Fuego Server identification.
The server is used to obtain the Application Server Vendor and configure the EAR based on it.
|
String
|
Yes
|
| verbose |
Verbose output.
|
boolean
|
No Default is false
|
| displayname |
The description of the ear application.
|
String
|
No
|
| fuegobasedir |
Path to BPM Enterprise installation directory.
|
File
|
No Defaults to value of fuego.basedir property of your
Ant script.
|
| loaderref |
Reference to BPM classloader. Used internally.
|
Reference
|
No
|
| templateset |
|
String
|
?
|
| directoryfile |
Path to the directory.xml configuration file, used to connect to the BPM
directory.
|
File
|
No
|
| workdir |
A writable directory where temporary files are generated.
All the content of the workDir will be delete before executing the task
|
File
|
Yes The directory must exist and it must be writable.
|
<feeds>
Indicates the creation of the Feeds war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<portal>
Indicates the creation of the Portal war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<papiwsforwls92>
Indicates the creation of the PAPI-WS war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<console>
Indicates the creation of the WebConsole war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<workspace>
Indicates the creation of the Workspace war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| type |
|
String
|
?
|
| uri |
URI for this web application module.
|
String
|
No
|
<papiws>
Indicates the creation of the PAPI-WS war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<portaladmin>
Indicates the creation of the Portal Admin war
| Attribute |
Description |
Type |
Required |
| expanded |
If set to true, this application module is generated in a directory, instead of a
.war archive file.
|
boolean
|
No Defaults to false
|
| uri |
URI for this web application module.
|
String
|
No
|
<engine>
Indicate the creation of the engine ear
| Attribute |
Description |
Type |
Required |