Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Dependent projects
Dependent projects [message #198605] Tue, 21 August 2007 14:15 Go to next message
Steve Whatmore is currently offline Steve Whatmore
Messages: 95
Registered: July 2009
Member
Good afternoon,

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
files?

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.

Thanks in advance.

Whatty
Re: Dependent projects [message #198968 is a reply to message #198605] Fri, 24 August 2007 00:12 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2128
Registered: July 2009
Senior Member
Steve,
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.

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:Best Practice: Custom Publishing
Next Topic:Suggested webtools redesign
Goto Forum:
  


Current Time: Wed Apr 16 03:38:10 EDT 2014

Powered by FUDForum. Page generated in 0.02690 seconds