Wednesday, December 15, 2010

Jetty WTP problems (Jetty is publishing to temp dir)

Hi,

I'm using Jetty WTP. When I publish my web application to the server it gets published in 2 places - under workspace metadata, and extracted to a temporary directory. If I then change a web page, the wtp location is updated, and Jetty will re-extract the war to a different temporary directory. Jetty serves files from the temporary directory.

This is causing me a lot of grief because when I run DevMode I need to give it the location of the war. I give it the only well-known and unchanging location (i.e. the one in workspace metadata). At startup DevMode creates additional files in this war so it can work properly (the modulename.nocache.js files, etc). The problem is that Jetty doesn't serve from this directory! I get HTTP 404 errors because the Javascript files cannot be found.

How is one supposed to use Jetty WTP with GWT? (The docs at http://code.google.com/eclipse/docs/faq.html#gwt_in_eclipse_for_java_ee implies it's possible).

Thanks,

Pete

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate