Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Sharing content between web projects
Sharing content between web projects [message #229969] Thu, 02 April 2009 21:08 Go to next message
Alex Hall is currently offline Alex HallFriend
Messages: 1
Registered: July 2009
Junior Member
I'm developing with Eclipse 3.3 using the WTP all-in-one installation. We
have an existing dynamic web project which has a bunch of WebContent
(JSP's, XML configuration, etc), some Java classes, and a whole host of
web module dependencies on other projects and third-party libraries. Call
this the "standard" application. Now, I want to create a new "custom"
application that reproduces all of the content and dependencies defined by
the standard application, but also needs a handful of additional
dependencies on libraries which cannot be distributed with the standard
application. I would like to set this up in such a way that changes to
the content or dependencies of the standard project are automatically
propagated to the custom project. Unfortunately, it appears that the J2EE
Module Dependencies editor in the project properties only lets you add
dependencies to plain Java projects in the workspace and not to other web
projects. Any suggestions? Thanks in advance.
Re: Sharing content between web projects [message #229988 is a reply to message #229969] Fri, 03 April 2009 07:19 Go to previous messageGo to next message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
Registered: July 2009
Senior Member
Alex Hall wrote:
> I'm developing with Eclipse 3.3 using the WTP all-in-one installation.
> We have an existing dynamic web project which has a bunch of WebContent
> (JSP's, XML configuration, etc), some Java classes, and a whole host of
> web module dependencies on other projects and third-party libraries.
> Call this the "standard" application. Now, I want to create a new
> "custom" application that reproduces all of the content and dependencies
> defined by the standard application, but also needs a handful of
> additional dependencies on libraries which cannot be distributed with
> the standard application. I would like to set this up in such a way
> that changes to the content or dependencies of the standard project are
> automatically propagated to the custom project. Unfortunately, it
> appears that the J2EE Module Dependencies editor in the project
> properties only lets you add dependencies to plain Java projects in the
> workspace and not to other web projects. Any suggestions? Thanks in
> advance.

There's is whole group of people including myself who face this problem
(we should open a Facebook group). There are some tricks you can play
like Eclipse links but they're just hacks. In the Maven world this known
as "WAR overlay" and none of the existing three Maven plugins address it.

The problem is way worse when you want to share JSPs between projects.

Cheers
Philippe
Re: Sharing content between web projects [message #230009 is a reply to message #229988] Fri, 03 April 2009 19:46 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Rather than a Facebook group (I know you are joking), have you created an
enhancement request for this feature? Having active enhancement requests
with lots of people expressing interest via comments and votes is a good
way to make sure that a feature is considered during planning.

- Konstantin
Re: Sharing content between web projects [message #230081 is a reply to message #230009] Mon, 06 April 2009 07:18 Go to previous messageGo to next message
Philippe Marschall is currently offline Philippe MarschallFriend
Messages: 121
Registered: July 2009
Senior Member
Konstantin Komissarchik wrote:
> Rather than a Facebook group (I know you are joking), have you created
> an enhancement request for this feature? Having active enhancement
> requests with lots of people expressing interest via comments and votes
> is a good way to make sure that a feature is considered during planning.
> - Konstantin
>

https://bugs.eclipse.org/bugs/show_bug.cgi?id=271281

happy voting
Re: Sharing content between web projects [message #230088 is a reply to message #230081] Mon, 06 April 2009 08:46 Go to previous message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

Philippe Marschall ha scritto:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=271281
>
> happy voting

It might be a duplicate of
https://bugs.eclipse.org/bugs/show_bug.cgi?id=107039, which has already
3 votes (mine, too! :-D).

Mauro.
Previous Topic:Error with Automatic Updates
Next Topic:Simplistic XML Text Editor
Goto Forum:
  


Current Time: Tue Apr 23 16:19:25 GMT 2024

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

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

Back to the top