blob: 94bafeb42c63253dbc68239c4cb1ea0d42bd883d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- /*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/ -->
<link rel="stylesheet" type="text/css" href="../../org.eclipse.wtp.doc.user/common.css" />
<title>EJBDeploy</title>
</head>
<body id="tantejbd"><a name="tantejbd"><!-- --></a>
<h1 class="topictitle1">EJBDeploy</h1>
<div><p>This task generates deployment code and RMIC code for an EJB Project.
Only available where EJB deploy tools are available.</p>
<div class="section"><p><span class="uicontrol">Parameters</span></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="border" border="1" rules="all"><thead align="left"><tr><th align="left" valign="top" width="13.186813186813188%" id="d0e20">Attribute</th>
<th align="left" valign="top" width="63.73626373626373%" id="d0e22">Description</th>
<th align="left" valign="top" width="23.076923076923077%" id="d0e24">Required</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">EJBProject</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Name of the EJB Project (<em>Case Sensitive</em>)</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">Yes</td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">IgnoreErrors</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Do not halt for compilation or validation errors</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">NoValidate</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Disable the validation steps</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">Quiet</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Only output errors, suppress informational messages</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">Use35Rules</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">&lt;deprecated&gt;-Replaced by "Compatible35".</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">Compatible35</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Use the WebSphere<sup>®</sup> 3.5
compatible mapping rules</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="13.186813186813188%" headers="d0e20 ">CodeGen</td>
<td align="left" valign="top" width="63.73626373626373%" headers="d0e22 ">Only generate the deployment code, do not run RMIC or
Javac</td>
<td align="left" valign="top" width="23.076923076923077%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
</tbody>
</table>
</div>
<p><span class="uicontrol">Examples</span></p>
<ul><li>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: <pre>&lt;ejbDeploy EJBProject="EJBProject" /&gt;</pre>
</li>
<li>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: <pre>&lt;ejbDeploy EJBProject="EJBProject" IgnoreErrors="true"/&gt;</pre>
</li>
<li>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. <pre>&lt;ejbDeploy EJBProject="EJBProject" NoValidate="true"/&gt;</pre>
</li>
<li>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: <pre>&lt;ejbDeploy EJBProject="EJBProject" Compatible35="true"/&gt;</pre>
</li>
<li>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: <pre>&lt;ejbDeploy EJBProject="EJBProject" NoValidate="true" Quiet="true"/&gt;</pre>
</li>
<li>Generate Deployment code for "EJBProject". Run validation on the project,
but ignore generation of the RMIC code: <pre>&lt;ejbDeploy EJBProject="EJBProject" CodeGen="true"/&gt;</pre>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/ph-antejb.html" title="">Ant tasks for EJB-enabled tools</a></div>
</div>
</div></body>
</html>