blob: e4987c78c822e63cd7296c254930761427378294 [file] [log] [blame]
kprice9c922d82006-08-30 22:07:19 +00001<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
2<html lang="en-us" xml:lang="en-us">
4<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
kpricea99d2212008-04-23 22:51:09 +00005<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 Contributors: IBM Corporation - initial API and implementation" />
6<meta name="DC.rights.owner" content="(C) Copyright 2000, 2008" />
kprice9c922d82006-08-30 22:07:19 +00007<meta content="public" name="security" />
8<meta content="index,follow" name="Robots" />
9<meta http-equiv="PICS-Label" content='(PICS-1.1 "" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "" l gen true r (n 0 s 0 v 0 l 0) "" l gen true r (SS~~000 1))' />
10<meta content="task" name="DC.Type" />
11<meta name="DC.Title" content="Adding Web library projects" />
kprice96ee3b52008-05-15 00:05:07 +000012<meta content="Web projects, virtual JAR files and projects, virtual JAR files associations, Web library projects" name="DC.subject" />
13<meta content="Web projects, virtual JAR files and projects, virtual JAR files associations, Web library projects" name="keywords" />
kprice9c922d82006-08-30 22:07:19 +000014<meta content="XHTML" name="DC.Format" />
15<meta content="twplib" name="DC.Identifier" />
16<meta content="en-us" name="DC.Language" />
17<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
syeshin53f4c652005-07-28 15:41:59 +000018<title>Adding Web library projects</title>
syeshin66078272005-09-20 16:53:38 +000019</head>
syeshin53f4c652005-07-28 15:41:59 +000020<body id="twplib"><a name="twplib"><!-- --></a>
kprice9c922d82006-08-30 22:07:19 +000021
syeshin53f4c652005-07-28 15:41:59 +000023<h1 class="topictitle1">Adding Web library projects</h1>
kprice9c922d82006-08-30 22:07:19 +000024
27<div class="section"> <p>Web library projects allow you to associate Java™ projects
syeshin53f4c652005-07-28 15:41:59 +000028with "virtual" JAR files in a Web project's WEB-INF/lib directory. You can
syeshin53f4c652005-07-28 15:41:59 +000029reference JAR files that exist elsewhere in the Enterprise Application project
syeshin53f4c652005-07-28 15:41:59 +000030that contains your Web project, if they are in the Web project's build path,
syeshin53f4c652005-07-28 15:41:59 +000031and avoid the need to explicitly copy these JAR files into the project's lib
syeshin53f4c652005-07-28 15:41:59 +000032folder before you publish the Web application to a server.</p>
kprice9c922d82006-08-30 22:07:19 +000033<p>To set up
34these associations:</p>
syeshin53f4c652005-07-28 15:41:59 +000035 </div>
kprice9c922d82006-08-30 22:07:19 +000036
38<li class="stepexpand"><span>Right click on a Web project and select <span class="uicontrol">Properties</span> from
lmandel49d6a1a2006-01-23 07:32:18 +000039the pop-up menu.</span> </li>
kprice9c922d82006-08-30 22:07:19 +000040
kpriceccffd252008-04-23 23:15:02 +000041<li class="stepexpand"><span>Click on <span class="uicontrol">Java EE Module Dependencies</span></span>
kprice9c922d82006-08-30 22:07:19 +000042</li>
kpriceccffd252008-04-23 23:15:02 +000044<li class="stepexpand"><span>Set up your associations in the Java EE Module Dependencies window</span>
kprice9c922d82006-08-30 22:07:19 +000045</li>
47<li class="stepexpand"><span>Click <span><span class="uicontrol">OK</span></span> when you are done.</span>
lmandel49d6a1a2006-01-23 07:32:18 +000050</ol>
kprice9c922d82006-08-30 22:07:19 +000051
syeshin53f4c652005-07-28 15:41:59 +000052</div>
kprice9c922d82006-08-30 22:07:19 +000053