This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have 2 web projects in WSAD 5.1. I would like to use one within the other. I have tried adding the dependency by selecting the necessary web project under 'Java Build Path' and 'Project References' in the Properties of the other web project, however I keep getting:
Emm, You have to give people more than two hours to answer
The build path is a compile time path. You need to set the "java jar dependencies" on the web project. This is a runtime path. You can get to it by right clicking the project -> properties -> java jar dependencies. Then just select the other web project.
Still no headway here. I have 2 Dynamic Web Projects (1) webRedirect and (2) webUsedByOthers.
I would like to use the classes in webUsedByOthers (a utility project) from webRedirect (or any other web project). They both belong to the same EAR file. (Jeanne - In WSAD 5.1 I am unable to select anything when in Properties --> Java JAR Dependencies.)
- I have selected webUsedByOthers in Properties --> Project References and Properties --> Java Build Path -- no luck (class not found)
- I then included <base>\webUsedByOthers\WebContent\WEB-INF\classes to my WSAD/WTE server instance's Environment --> Class Path -- luck!
- I'm now trying to deploy to WAS 5.0 and don't see Class Path settings in the admin console -- I've tried to use the Environment --> Shared Libraries --- no luck (class not found)
Any ideas? [ January 03, 2005: Message edited by: emm raha ]
author & internet detective