Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Dependent projects
Dependent projects [message #198605] Tue, 21 August 2007 18:15 Go to next message
Steve Whatmore is currently offline Steve WhatmoreFriend
Messages: 95
Registered: July 2009
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

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.

Re: Dependent projects [message #198968 is a reply to message #198605] Fri, 24 August 2007 04:12 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4029
Registered: July 2009
Senior Member

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 Web Tools Platform
Previous Topic:Best Practice: Custom Publishing
Next Topic:Suggested webtools redesign
Goto Forum:

Current Time: Sat Apr 10 23:19:14 GMT 2021

Powered by FUDForum. Page generated in 0.02185 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top