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:why 3.2 not has 'override and commit'?
Next Topic:Incorrect Tool Tip in Ant's build.xml
Goto Forum:
  


Current Time: Sun Apr 23 21:47:57 GMT 2017

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

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