blob: 880f9d001f4330490a6df4da04ae0404b088fca7 [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>EJBExport</title>
</head>
<body id="tantejbe"><a name="tantejbe"><!-- --></a>
<h1 class="topictitle1">EJBExport</h1>
<div><p>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.</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="17.073170731707318%" id="d0e20">Attribute</th>
<th align="left" valign="top" width="57.3170731707317%" id="d0e22">Description</th>
<th align="left" valign="top" width="25.609756097560975%" id="d0e24">Required</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="17.073170731707318%" headers="d0e20 ">EJBProjectName</td>
<td align="left" valign="top" width="57.3170731707317%" headers="d0e22 ">Name of the EJB Project (<em>Case Sensitive</em>)</td>
<td align="left" valign="top" width="25.609756097560975%" headers="d0e24 ">Yes</td>
</tr>
<tr><td align="left" valign="top" width="17.073170731707318%" headers="d0e20 ">EJBExportFile</td>
<td align="left" valign="top" width="57.3170731707317%" headers="d0e22 ">Absolute path of the EJB JAR file.</td>
<td align="left" valign="top" width="25.609756097560975%" headers="d0e24 ">Yes</td>
</tr>
<tr><td align="left" valign="top" width="17.073170731707318%" headers="d0e20 ">ExportSource</td>
<td align="left" valign="top" width="57.3170731707317%" headers="d0e22 ">Whether to include source files or not.</td>
<td align="left" valign="top" width="25.609756097560975%" headers="d0e24 ">No, default is <em>false</em></td>
</tr>
<tr><td align="left" valign="top" width="17.073170731707318%" headers="d0e20 ">Overwrite</td>
<td align="left" valign="top" width="57.3170731707317%" headers="d0e22 ">Whether to overwrite if the file already exists.</td>
<td align="left" valign="top" width="25.609756097560975%" headers="d0e24 ">No, default is<em>false</em></td>
</tr>
</tbody>
</table>
</div>
<p><span class="uicontrol">Examples</span></p>
<ul><li>Export the project "EJBProject" to "EJBProject.jar" in the C Drive: <pre>&lt;ejbExport
EJBProjectName="EJBProject"
EJBExportFile="C:\EJBProject.jar"/&gt;</pre>
</li>
<li>Export the project "EJBProject" with the source files to "EJBProject.jar"
in the C Drive: <pre>&lt;ejbExport
EJBProjectName="EJBProject"
EJBExportFile="C:\EJBProject.jar"
ExportSource="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>