geronimo-user mailing list archives

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

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
fine.

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
something?

I already had a look at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=118622 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.

Thanks,
Jens.

Mime
View raw message