EJBExport
This task performs the same operation as the EJB JAR file export wizard for exporting an EJB Project to an EJB Jar file. This task is not available in products that do not include EJB development tools.
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 isfalse Examples
- Export the project "EJBProject" to "EJBProject.jar" in the C Drive:
<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar"/>- Export the project "EJBProject" with the source files to "EJBProject.jar" in the C Drive:
<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar" ExportSource="true"/>
Parent topic
Working with Ant
Related tasks
AccessBeanRegeneration
EJBDeploy