Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Share Source between 2 web projects
Share Source between 2 web projects [message #161412] Tue, 18 July 2006 13:41 Go to next message
Rahul Kumar is currently offline Rahul KumarFriend
Messages: 4
Registered: July 2009
Junior Member
Hi -

How do I share the source code between two different web projects? I am
able to share source between a web project and multiple Java projects.

Please let me know.

Thanks.

Rahul
Re: Share Source between 2 web projects [message #161423 is a reply to message #161412] Tue, 18 July 2006 14:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wayne.beaton._NOSPAM_eclipse.org

Rahul Kumar wrote:
> Hi -
>
> How do I share the source code between two different web projects? I am
> able to share source between a web project and multiple Java projects.
>
> Please let me know.
>
> Thanks.
>
> Rahul
>

Put the common code in a Java project and have both web projects
reference it as a "J2EE Module Dependency" (in the project properties).
This has the same effect as packaging the Java project as a JAR and
putting into the WEB-INF/lib directory (which is exactly what will
happen when you export the Web Project).

Wayne
Re: Share Source between 2 web projects [message #161505 is a reply to message #161423] Tue, 18 July 2006 20:21 Go to previous message
Rahul Kumar is currently offline Rahul KumarFriend
Messages: 4
Registered: July 2009
Junior Member
No it cannot find any of the classes.

Thanks.

Rahul
Previous Topic:Share Source between 2 web projects
Next Topic:Need help displaying the filesystem in a view
Goto Forum:
  


Current Time: Tue Apr 16 09:36:35 GMT 2024

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

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

Back to the top