blob: 725d83e9db745c5a0bb789c0b242982cfd4b4985 [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>EARExport</title>
</head>
<body id="tanteare"><a name="tanteare"><!-- --></a>
<h1 class="topictitle1">EARExport</h1>
<div><p>This task performs the same operation as the EAR file export wizard
for exporting an Enterprise Application Project to an EAR file.</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 valign="top" width="22.64808362369338%" id="d0e21">Attribute</th>
<th valign="top" width="56.79442508710801%" id="d0e23">Description</th>
<th align="left" valign="top" width="20.557491289198605%" id="d0e25">Required</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="22.64808362369338%" headers="d0e21 ">EARProjectName</td>
<td valign="top" width="56.79442508710801%" headers="d0e23 ">Name of the Enterprise Application Project (<em>Case Sensitive</em>)</td>
<td align="left" valign="top" width="20.557491289198605%" headers="d0e25 ">Yes</td>
</tr>
<tr><td valign="top" width="22.64808362369338%" headers="d0e21 ">EARExportFile</td>
<td valign="top" width="56.79442508710801%" headers="d0e23 ">Absolute path of the EAR file.</td>
<td align="left" valign="top" width="20.557491289198605%" headers="d0e25 ">Yes</td>
</tr>
<tr><td valign="top" width="22.64808362369338%" headers="d0e21 ">ExportSource</td>
<td valign="top" width="56.79442508710801%" headers="d0e23 ">Whether to include source files or not.</td>
<td align="left" valign="top" width="20.557491289198605%" headers="d0e25 ">No, default is <em>false</em></td>
</tr>
<tr><td valign="top" width="22.64808362369338%" headers="d0e21 ">IncludeProjectMetaFiles</td>
<td valign="top" width="56.79442508710801%" headers="d0e23 ">Whether to include the project meta-data files that include the Java™ build
path, the project names, etc. Used when reimporting as binary projects.</td>
<td align="left" valign="top" width="20.557491289198605%" headers="d0e25 ">No, default is <em>false</em></td>
</tr>
<tr><td valign="top" width="22.64808362369338%" headers="d0e21 ">Overwrite</td>
<td valign="top" width="56.79442508710801%" headers="d0e23 ">Whether to overwrite if the file already exists.</td>
<td align="left" valign="top" width="20.557491289198605%" headers="d0e25 ">No, default is <em>false</em></td>
</tr>
</tbody>
</table>
</div>
<p><span class="uicontrol">Examples</span></p>
<ul><li>Export the project "EARProject" to "EARProject.ear" in the C Drive: <pre>&lt;earExport EARProjectName="EARProject" EARExportFile="C:\EARProject.ear"/&gt;</pre>
</li>
<li>Export the project "EARProject" with the source files to "EARProject.ear"
in the C Drive: <pre>&lt;earExport EARProjectName="EARProject" EARExportFile="C:\EARProject.ear" ExportSource="true"/&gt;</pre>
</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../topics/ph-antj2ee.html" title="">Ant tasks for J2EE</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="../topics/tantautoappinstall.html" title="This task uses the WebSphere Rapid Deploy feature to install an application.">autoAppInstall</a></div>
<div><a href="../topics/tantappc.html" title="This task performs the same operation as the Application Client export wizard for exporting an Application Client Project to an Application Client JAR file.">AppClientExport</a></div>
<div><a href="../topics/tantutil.html" title="(DEPRECATED) This task compresses source and/or build output of a Java project into a JAR file and places the JAR file in an Enterprise Application Project.">UtilJar</a></div>
<div><a href="../topics/tantware.html" title="This task performs the same operation as the WAR file export wizard for exporting a Web Project to a WAR file.">WARExport</a></div>
</div>
</div></body>
</html>