On Tue, 7 Dec 2004 15:10:39 -0600, Duncan Krebs <[EMAIL PROTECTED]> wrote:

Hi,

> I'm trying to figure out how I can make changes to the projects referenced by 
> the webapp in 
> eclipse and then have tomcat5 recognize the change and reload the context. I 
> imagine to do
>  this I'd have to define the reference to these projects in a different way 
> and also change 
> their target path somewhere in the WEB-INF folder of the webapp. The only 
> problem here 
> though is eclipse will wipe out other classes in the bin that should not be 
> deleted.  Any 
> ideas or is this not making sense? - Duncan

I had the same problem and resolved it like this :

- Your webapp eclipse project must reference the other eclipse
projetcs (Build Path/Projects). If you generate your eclipse
configuration files (.project and  .classpath) with maven, add the
"eclipse.dependency" property on your dependencies witch are eclipse
projects. (http://maven.apache.org/reference/plugins/eclipse/)

- Start Tomcat using the sysdeo plugin :
http://www.sysdeo.com/eclipse/tomcatPlugin.html
and use the devloader
(http://www.sysdeo.com/eclipse/readmeDevLoader.html). It will override
the webapp class loader witch will also search in the referenced
projects.


-- 
Thomas Recloux

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to