Maybe I am missing something, but I am trying to setup two separate web
projects, one with a shared component (including JSP pages) that the other
web project would reference.
This would allow me me to create subsystems that can be shared across web
applications and just referenced by the projects that need these components.
I got this to work relatively easily with standard Java projects, but am
having a hell of a time with web projects in that the shared project is not
being added to the webapp path of the parent project.
I have read a number of posts related to this (I believe) but have not found
a solution to this problem.
1) Is this possible?
2) How do you properly setup this configuration so I can shared components /
projects in this manner?
3) If this is not possible using the project dependencies, is there an
alternative way to accomplish this, using something like ANT or possible JAR
I myself am very much under the belief that this should in fact be possible,
otherwise it is a bit of a PITA (Pain in the Ass) why trying to setup shared
components for web projects.
WTP 2.0 lets you define project-level dependencies from the "J2EE
Module Dependencies" property page of the web project. From what
I can tell, however, you can not declare that one dynamic web
project has a dependency on another dynamic web project.