Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT SuperDev - Can't find GWT Modules

I have followed the steps given on this page - getting-started-with-the-superdevmode

but I am still getting message - Can't find any GWT Modules on this page. I did some more googling but could not find any solution until now.

I am using GWT 2.6.1 and eclipse kepler 64 bit on ubuntu.

Here are the steps I did.

  1. Created a new Web app project for GAE, using GWT 2.6.1 and GAE sdk 1.9.6.
  2. Go to Run configurations. Create a new configuration for a "Java Application". Change the main class, Argument and add jar file as shown in the screenshot.
  3. Check the apps .gwt.xml file. It already has <add-linker name="xsiframe"/>. I have tried adding devModeRedirectEnabled property also. It did not help.
  4. GWT compile the project.
  5. Run the application as Web application. Default jetty config serves the application at http://localhost:8888/SuperDev.html. I opened up this page in firefox. I can see the page content.

  6. Launch the Java application configuration. It does compile again and gives a success message and tells me to launch http://localhost:9876/

  7. I opened it in firefox and it shows -enter image description here

  8. Dragged Dev Mode On to firefox's bookmark. And clicked.

  9. I get the message - Can't find any GWT Modules on this page.

Following are the configurations for my superdev mode java app. Did I miss anything? enter image description here

enter image description here

enter image description here

like image 279
NRJ Avatar asked Jun 16 '14 01:06

NRJ


1 Answers

You need to click the bookmarklet when viewing your compiled web app.

The last steps should therefore be:

  • Dragged Dev Mode On to firefox's bookmark.
  • Switched back to my application at http://localhost:8888/SuperDev.html and clicked the bookmark

Once you have the bookmarklets, you actually don't really need to open http://localhost:9876 anymore (you'll find compile logs there, and can browser your code, including the code generated by GWT generators; so it can still be useful).

like image 114
Thomas Broyer Avatar answered Nov 15 '22 23:11

Thomas Broyer