| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//IETF//DTD HTML 4.0//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html><head> |
| <!-- /******************************************************************************* |
| * Copyright (c) 2000, 2006 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.wst.doc.user/common.css"/> |
| <title>Exporting Web Archive (WAR) files</title> |
| </head> |
| <body id="twcrewar"><a name="twcrewar"><!-- --></a> |
| <h1 class="topictitle1">Exporting Web Archive (WAR) files</h1> |
| <div><div class="section"> <p> A Web archive (WAR) file is a packaged Web application that |
| can be exported to test, publish, and deploy the resources developed within |
| a Web project.</p> |
| <p>To export a WAR file from a Web project, do the following: </p> |
| </div> |
| <ol><li class="stepexpand"><span>Right click on a Web project folder and select <strong>Export</strong> from |
| the pop-up menu. Then select<strong> WAR file</strong> in the Export window and then |
| select <strong>Next</strong>.</span></li> |
| <li class="stepexpand"><span>Specify the Web project you want to export (this field is primed |
| if you used the pop-up menu to open the wizard), and specify a location for |
| the new WAR file</span></li> |
| <li class="stepexpand"><strong>Optional: </strong><span>Optionally, supply WAR export <span>Options</span>, |
| such as whether or not to include Java™ source files in the WAR, and whether |
| to overwrite any existing resources during the export process. </span> Source |
| files are not usually included in a WAR file, because they are not necessary |
| for the server to run the web application.</li> |
| <li class="stepexpand"><span>Click <span><b>Finish</b></span>.</span></li> |
| </ol> |
| </div> |
| <div><div class="relconcepts"><strong>Related concepts</strong><br> |
| <div><a href="cwwarovr.html">Web archive (WAR) files</a></div> |
| </div> |
| </div> |
| </body></html> |