I've been trying to create a gwt-lib that contains some static web resources (fonts, css, ...) to be used in depending projects. Where should I place these files? They used to be in the "public" directory on the same level as client/server/shared in the old days when there way just a single project layout. I'd like to find them in the resulting war when declaring the library as a dependency. Is this still possible or do I have to replicate the static web resources in each project that requires the gwt-lib?
On Monday, March 19, 2018 at 4:03:50 PM UTC+1, dflorey wrote: > > Thanks, that was the missing info I was looking for (just checked the > maven-plugin help etc.)!! > What is the recommended setup nowadays when using Eclipse? > Is it recommended to use the Eclipse plugin(s) for GWT/GAE or is it better > to run everything from the command line? > > Thanks again, you are the man! > > On Mon, Mar 19, 2018 at 3:41 PM, Thomas Broyer <[email protected]> wrote: > >> >> >> On Monday, March 19, 2018 at 2:31:34 PM UTC+1, dflorey wrote: >>> >>> As I test I just created a blank test project from the archetype. >>> I did not manage to run it either using "maven gwt:devmode". >>> Is there some additional configuration required to tell the plugin where >>> to find the webapp? >>> The server launches just fine, an ancient swing window pops up, but the >>> index.html is not there when going to 127.0.0.1:8888 >>> >>> Any ideas? >>> >> >> gwt:devmode will *not* package the app, you need to first do a "mvn >> package" to prepare the webapp; and do a "mvn package" again anytime you >> change any source file and/or dependency (you can configure Maven and/or >> your IDE to directly place classes from the module into the webapp's >> WEB-INF/classes; this saves you a few "mvn package"). >> >> When using external servers (recommended), you can configure them to >> automatically reload the webapp when a class is changed, and to pick web >> resources right from src/main/webapp. >> See >> https://github.com/tbroyer/gwt-maven-archetypes#start-the-development-mode >> Webapp will be on http://localhost:8080 (by default), served by the >> jetty-maven-plugin (or tomcat7-maven-plugin), configured to pick up the >> shared classes right from *-shared/target/classes (where your IDE will put >> them). >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "GWT Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/google-web-toolkit/-7o22adLgls/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/google-web-toolkit. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
