Reputation: 29
I checked out a project from svn. The project have a folder named as "ws" which contains WebContent folder. But the lib folder is outside the WebContent folder and under another folder under "ws" folder. I found out I have to move the lib folder to WEB-INF folder in WebContent folder, so eclipse can find the libraries I need.
Would anyone show me how to manually set the path so eclipse can load the libraries from the original lib without moving the lib to WEB-INF?
Thanks
Upvotes: 0
Views: 1502
Reputation: 33024
You can edit the Deployment Assembly which controls how the app deployment is assembled. Right-click the project and select Properties; select Deployment Assembly and then use Add... to include your project's libraries (JARs) in the deployed WEB-INF/lib
folder.
If you've already included the libraries on the project Build Path, there's an option in the Add... dialog to include them directly. Otherwise you can just add a folder itself.
Upvotes: 1