Home
Overview
Available Tasks (General)
projectBuild
compileWorkspace
getJavacErrorCount
getProjectData
setDebugInfo
Available Tasks (J2EE)
AppClientExport
EARExport
UtilJar
WARExport
Available Tasks (EJB enabled tools only)
AccessBeanRegeneration
EJBDeploy
EJBExport
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.  Not available in WSSD or WAS Express.

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
Overwrite
Whether to overwrite if the file already exists.
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.