geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Nicolay" <>
Subject Eclipse + Geronimo web library dependencies
Date Tue, 07 Mar 2006 11:59:56 GMT

I'm trying to do something very simple but I cannot get it to work.

In Eclipse I create a new EAR project with a Web module.

In the Web application I create a servlet that simply prints "Hello"
on the response.

If I run the Web application on a Geronimo server and test the
servlet: no problem.

Now I create a new (simple) Java project, let's call it Utility, and I
define a web library dependency in my Web application to the Utility
project. In Utility project I define a simple class with a static
method that returns String.valueOf(currentTimeMillis). I change the
servlet to print the result of this method call. Everything compiles

Publish and run: nothing changed, still see "Hello".

Change the printed text back to "Hello again", run again: still
nothing changed. Take out the web library dependency, run again: I see
"Hello again".

So it seems that from the moment I introduce the web library
dependency, the servlet does not get recompiled. Am I missing

I already had a look at and comment #6
seems to tell the same story with less words.

I am using Geronimo 1.0, WPT 1.0.1, JDK 1.4.2_10, Eclipse 3.1.2.


View raw message