Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e4987c78c822e63cd7296c254930761427378294 (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
<?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="Adding Web library projects" />
<meta content="Web projects, virtual JAR files and projects, virtual JAR files associations, Web library projects" name="DC.subject" />
<meta content="Web projects, virtual JAR files and projects, virtual JAR files associations, Web library projects" name="keywords" />
<meta content="XHTML" name="DC.Format" />
<meta content="twplib" 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>Adding Web library projects</title>
</head>
<body id="twplib"><a name="twplib"><!-- --></a>


<h1 class="topictitle1">Adding Web library projects</h1>


<div>
<div class="section"> <p>Web library projects allow you to associate Java™ projects
with "virtual" JAR files in a Web project's WEB-INF/lib directory. You can
reference JAR files that exist elsewhere in the Enterprise Application project
that contains your Web project, if they are in the Web project's build path,
and avoid the need to explicitly copy these JAR files into the project's lib
folder before you publish the Web application to a server.</p>
<p>To set up
these associations:</p>
 </div>

<ol>
<li class="stepexpand"><span>Right click on a Web project and select <span class="uicontrol">Properties</span> from
the pop-up menu.</span> </li>

<li class="stepexpand"><span>Click on <span class="uicontrol">Java EE Module Dependencies</span></span>
</li>

<li class="stepexpand"><span>Set up your associations in the Java EE Module Dependencies window</span>
</li>

<li class="stepexpand"><span>Click <span><span class="uicontrol">OK</span></span> when you are done.</span>
</li>

</ol>

</div>


</body>
</html>

Back to the top