Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Where does WTP look for "Web App Libraries"?
Where does WTP look for "Web App Libraries"? [message #168527] Thu, 04 May 2006 14:42 Go to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

I'm using WTP 1.0.2, and I have the following project structure:

src/java/
src/web/
src/resources/
test/java/

Where does WTP look for the "Web App Libraries"? I tried creating a
"WEB-INF/lib/" under "src/web/", but the "Web App Libraries" still shows
up empty.

TIA,
Daniel Serodio
Re: Where does WTP look for "Web App Libraries"? [message #168574 is a reply to message #168527] Thu, 04 May 2006 20:47 Go to previous message
Dario Bassan is currently offline Dario BassanFriend
Messages: 8
Registered: July 2009
Junior Member
Daniel,
I think WTP cannot handle a "deploy-path" when you create it under a
"source folder" of your Java Build Path

Looking to the ".setting/.component" of a standard DynamicWebApp you find:

<wb-resource deploy-path="/" source-path="/WebContent"/>

If you change the Content Directory in PrjWizard it works again if the
folder is outside the java-output-path (Es: "/web/src"):

<wb-resource deploy-path="/" source-path="/web/src"/>

But creating inside src

<wb-resource deploy-path="/" source-path="/src/web"/>

it fails in different ways:
- "web" looks like a package.
- "MEAT-INF" created at root level "/" and not under "src/web"
- WebAbbLibrarires not updated when you copy jars under WEB-INF/lib

Ciao .

Dario
Previous Topic:problem using pageContext in jsp page
Next Topic:Web App deployment
Goto Forum:
  


Current Time: Thu Dec 18 07:29:11 GMT 2014

Powered by FUDForum. Page generated in 0.04824 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software