Home
Overview
Available Tasks
 AppClientExport
 EARExport
 EJBDeploy
 EJBExport
 UtilJar
 WARExport

EARExport

Description

This task performs the same operation as the EAR file export wizard for exporting an Enterprise Application Project to an EAR file.

Parameters

Attribute Description Required
EARProjectName Name of the Enterprise Application Project (Case Sensitive) Yes
EARExportFile Absolute path of the EAR file. Yes
ExportSource Whether to include source files or not. No, default is false

Examples

<earExport EARProjectName="EARProject" EARExportFile="C:\EARProject.ear"/>

Exports the project "EARProject" to "EARProject.ear" in the C Drive.

<earExport EARProjectName="EARProject" EARExportFile="C:\EARProject.ear" ExportSource="true"/>
Exports the project "EARProject" with the source files to "EARProject.ear" in the C Drive.