WTP Bugzilla #130863 GERONIMODEVTOOLS-74 Thanks for the quick response.
On 3/7/06, Sachin Patel <[EMAIL PROTECTED]> wrote: > Ok. This is definitely a WTP bug then. Would you mind opening a > bugzilla against the J2EE WTP component stating that war export fails > with lib dependencies? Also, could you open a jira in > GERONIMODEVTOOLS linking it to the bugzilla number. I can then make > sure it gets addressed in WTP 1.0.2. > > Thanks. > > - sachin > > > > On Mar 7, 2006, at 9:36 AM, Jens Nicolay wrote: > > > With the web library dependency the WAR export fails: dialog stays > > open after clicking on finish, invalid .WAR written to disk with .TMP > > files alongside it that do not get deleted. > > > > Without the web library dependency the WAR export succeeds: dialog > > closes, valid .WAR file written. > > > > On 3/7/06, Sachin Patel <[EMAIL PROTECTED]> wrote: > >> I'm curious to know if the utility jar gets packaged when you export > >> the web project out as a .war. Can you try that and crack it open to > >> see whats there? > >> > >> - sachin > >> > >> > >> > >> On Mar 7, 2006, at 6:59 AM, Jens Nicolay wrote: > >> > >>> 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. > >> > >> > >
