Home
Overview
Available Tasks
 AppClientExport
 EARExport
 EJBDeploy
 EJBExport
 UtilJar
 WARExport

EJBExport

Description

This task performs the same operation as the EJB JAR file export wizard for exporting an EJB Project to an EJB Jar file.

Parameters

Attribute Description Required
EJBProjectName Name of the EJB Project (Case Sensitive) Yes
EJBExportFile Absolute path of the EJB JAR file. Yes
ExportSource Whether to include source files or not. No, default is false

Examples

<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar"/>

Exports the project "EJBProject" to "EJBProject.jar" in the C Drive.

<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar" ExportSource="true"/>
Exports the project "EJBProject" with the source files to "EJBProject.jar" in the C Drive.