blob: 62e883b2d633744a4f0f7f61a4b6dee6b5d27fab [file] [log] [blame]
<?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>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&#8482; 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 <b>Properties</b> from
the pop-up menu.</span> </li>
<li class="stepexpand"><span>Expand <b>J2EE Module Dependencies</b></span></li>
<li class="stepexpand"><span>Set up your associations in the J2EE Module Dependencies window</span></li>
<li class="stepexpand"><span>Click <span><b>OK</b></span> when you are done.</span></li>
</ol>
</div>
<div></div>
</body></html>