Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a3a65761740f9874c9167af109c5e8f4b6e665cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<?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 content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta name="copyright" content="Copyright (c) 2000, 2008 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" />
<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
<meta content="public" name="security" />
<meta content="index,follow" name="Robots" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta content="task" name="DC.Type" />
<meta name="DC.Title" content="Exporting Web Archive (WAR) files" />
<meta content="exporting, WAR files, Web projects, exporting WAR files" name="DC.subject" />
<meta content="exporting, WAR files, Web projects, exporting WAR files" name="keywords" />
<meta scheme="URI" name="DC.Relation" content="../topics/cwwarovr.html" />
<meta content="XHTML" name="DC.Format" />
<meta content="twcrewar" name="DC.Identifier" />
<meta content="en-us" name="DC.Language" />
<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
<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><span class="uicontrol">Finish</span></span>.</span></li>

</ol>

</div>

<div><div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../topics/cwwarovr.html">Web archive (WAR) files</a></div>
</div>
</div>

</body>
</html>

Back to the top