Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse: Dependent Web Projects Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse: Dependent Web Projects" Watch "Eclipse: Dependent Web Projects" New topic

Eclipse: Dependent Web Projects

Luke Murphy
Ranch Hand

Joined: May 12, 2010
Posts: 300
I have two web projects in Eclipse. The first project called BasePrj contains Tags and artifacts which are intended to be used by other projects. The other Project called ApplicationPrj uses all files in BasePrj. Obviously I can package up BasePrj and import it into ApplicationPrj. But I want to see the changes instantly.

So taking a very simple example, BasePrj has the file BaseHelloWorld.html in the root. This file (along with every other file in BaseHelloWorld) get imported into ApplicationProj. When I go to localhost:8080/ApplicationProj/BaseHelloWorld.html, I will see it. However, when I change this file, I want to be instantly be able to see the change in my deployed ApplicationProj. Any ideas?

Consider Paul's rocket mass heater.
subject: Eclipse: Dependent Web Projects
Similar Threads
EJB 3.0 and jsp
Run As --> Run on server in Eclipse
Getting started - env issues
Not able to read XML file from dependent project
Import Netbeans Maven Enterprise Project in Eclipse