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 10:42 Go to next message
Eclipse User
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 16:47 Go to previous message
Dario Bassan is currently offline Dario Bassan
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 Aug 21 06:26:57 EDT 2014

Powered by FUDForum. Page generated in 0.01475 seconds