Hi Keith, can you tell how to configure Eclipse + Google Plugin for Eclipse (the newest version), so I can debug my GWT project with DB connections? Your previous solution doesn't work anymore (I can't find anythig about WAR in "Web Application property").
Thanks in advance, Neciu. On 18 Lut, 17:40, Keith Platfoot <[email protected]> wrote: > Hi Chris, > > Thanks for posting this. It's a good explanation of how to get WTP and GPE > 1.2 working together, which is not a trivial task. However, in the next > release of the plugin we're planning on making this integration a whole lot > easier<http://groups.google.com/group/google-web-toolkit/msg/8ff67143cce64e1...> > . > > With GPE 1.3, you'll be able to adapt an existing Dynamic Web Project as a > GWT project and debug using hosted/dev mode quite easily. Here's a sneak > preview of how this will work in GPE 1.3: > > 1. In your project's Properties dialog, select Google > Web Toolkit and > check the box: *Use Google Web Toolkit*. > > 2. Switch to the Web Application property page and change *WAR source > directory* to "WebContent" and uncheck the box: *Also use this directory as > the output WAR directory.* > * > * > 3. Start your project's server (be it GlassFish, Tomcat, etc.) using your > configured WTP server adapter. > > 4. Create a new Web Application launch configuration. On the Server tab, > uncheck: *Run built-in server* (since we want to use WTP's server adapter) > and on the GWT tab, change the -startupUrl argument to point to your server > (e.g.http://localhost:8080/WebApp) > > 5. Run/Debug your new launch configuration. The first time you do this, > you'll have to select the location of the WAR directory WTP is publishing to > (this is configurable, but I think by default it is > <workspace>/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/<project>). > > 6. Presto! GWT hosted/dev mode is now running in your own server, and you > can debug either server-side or client-side code, and get automatic redeploy > of modified class files or static resources thanks to WTP's auto-publish > mechanism. > > We're going to be uploading a preview built of GPE 1.3 later this month so > you can try it out for yourself and let us know what you think, ahead of the > official release. Stay tuned! > > Keith -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
