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
<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar"/>
<ejbExport EJBProjectName="EJBProject" EJBExportFile="C:\EJBProject.jar" ExportSource="true"/>