Home
Overview
Available Tasks
 AppClientExport
 EARExport
 EJBDeploy
 EJBExport
 UtilJar
 WARExport

WARExport

Description

This task performs the same operation as the WAR file export wizard for exporting a Web Project to a WAR file.

Parameters

Attribute Description Required
WARProjectName Name of the Web Project (Case Sensitive) Yes
WARExportFile Absolute path of the WAR file. Yes
ExportSource Whether to include source files or not. No, default is false

Examples

<warExport WARProjectName="ProjectWeb" WARExportFile="C:\ProjectWeb.war"/>

Exports the project "ProjectWeb" to "ProjectWeb.war" in the C Drive.

<warExport WARProjectName="ProjectWeb" WARExportFile="C:\ProjectWeb.war" ExportSource="true"/>
Exports the project "ProjectWeb" with the source files to "ProjectWeb.war" in the C Drive.