|
Re: Share Source between 2 web projects [message #161423 is a reply to message #161412] |
Tue, 18 July 2006 14:06 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.06269 seconds