Monday, November 28, 2011

Re: Trouble running application on Tomcat but runs fine through Eclipse

Are you sure these instructions are safe? One of the steps recommends

"On the Web Module page, set the Content directory to src/main/webapp
and click Finish"

so wouldn't that cause things to be generated in src/main/webapp when
you said it shouldn't? - Dave


On Nov 28, 11:28 am, Thomas Broyer <t.bro...@gmail.com> wrote:
> You shouldn't EVER run DevMode from your src/main/webapp. "src" is for the
> *sources* in Maven, nothing should be generated in there that you wouldn't
> want to commit/push to your SCM.
> It's also a bad idea because you wouldn't have your dependencies in the
> WEB-INF/lib, so a few things will break (loading resources for instance,
> the way JPA, JDO, or Spring DI do it).
>
> Follow this recipe instead:http://code.google.com/eclipse/docs/faq.html#gwt_with_maven

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

No comments:

Post a Comment