EJBDeploy
This task generates deployment code and RMIC code for an EJB Project. Only available where EJB deploy tools are available.
Parameters
Attribute Description Required EJBProject Name of the EJB Project (Case Sensitive) Yes IgnoreErrors Do not halt for compilation or validation errors No, default is false NoValidate Disable the validation steps No, default is false Quiet Only output errors, suppress informational messages No, default is false Use35Rules <deprecated>-Replaced by "Compatible35". No, default is false Compatible35 Use the WebSphere 3.5 compatible mapping rules No, default is false CodeGen Only generate the deployment code, do not run RMIC or Javac No, default is false Examples
- Generate Deployment code and RMIC code for "EJBProject", run validation on the project, and print out any errors while compiling/validating the project. If there are errors the operation comes to a halt:
<ejbDeploy EJBProject="EJBProject" />- Generate Deployment code and RMIC code for "EJBProject" and run validation on the project. But if there are any errors while validating/compiling, the errors are reported and the operation continues:
<ejbDeploy EJBProject="EJBProject" IgnoreErrors="true"/>- Generate Deployment code and RMIC code for "EJBProject" but do not run the validation steps. If there are any errors while compiling, the errors are reported and the operation comes to a halt.
<ejbDeploy EJBProject="EJBProject" NoValidate="true"/>- Generate Deployment code and RMIC code for "EJBProject". Use WebSphere Version 3.5 mapping rules instead of Version 4.0. Run validation on the project, but if there are any errors while validating or compiling, the errors are ignored and the operation continues:
<ejbDeploy EJBProject="EJBProject" Compatible35="true"/>- Generate Deployment code and RMIC code for "EJBProject". Do not run the validation on the project and do not display any messages expect for error messages, in which case the operation comes to a halt:
<ejbDeploy EJBProject="EJBProject" NoValidate="true" Quiet="true"/>- Generate Deployment code for "EJBProject". Run validation on the project, but ignore generation of the RMIC code:
<ejbDeploy EJBProject="EJBProject" CodeGen="true"/>
Parent topic
Working with Ant
Related tasks
AccessBeanRegeneration
EJBExport