Home
Overview
Available Tasks (General)
|
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 |
IncludeProjectMetaFiles |
Whether to include the project meta-data
files that include the Java build path, the project names, etc. Used
when reimporting as binary projects. |
No, default is false
|
Overwrite |
Whether to overwrite if the file
already exists. |
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. |