How can I configure the GWT Designer in the Google eclipse plugin - gwt

I created a GWT project and everything was great, but then I decided to change the entry point of the application.
It turns out that the class implementing EntryPoint has to be at top level inside the client package.
com.company.project.myui.client.WebUI was my original setup - I changed it to
com.company.project.myui.client.ui.NewEntryPoint
When I realized that this is not a supported configuration, I changed it back and everything is compiling, but now the GWT designer expects my views to be somewhere under
com.company.project.myui.client.ui.client which is wrong and it wont parse any of the ui classes.
I can't figure out where it is getting this configuration from.
Any help will be greatly appreciated!

You should provide a test case and a more complete error description (a complete stack trace at minimum).

Fixed it by deleting the second bundle and its bundle.xml configuration file.
Still, in my opinion this was unexpected behavior from the GWT designer.

Related

Missing required module after adding a framwork manually

i am going to import a framework in our project provided by company but unfortunately after spending 3 days and searching a lot on internet and also applied all the techniques already suggested in the stack overflow i did not able to over come this issue.after adding the framework to the projects directory and adding it in the build setting still i am facing an error saying Missing required module hub
Please any one have any idea how to overcome this issue.any help would be appreciated.
following is my X Code setting with imported framework.
try this, Click on the file module from file navigator on the right check if its assigned to target from file inspector

GWT Lifecycle Flow

Hi i am new to GWT but i have gone through and understood the Functionalities and what GWT do ! but i was not able to understand the Lifecycle or Work Flow of GWT when we will create a project
Example
I have created the GWT project so after i deploy it from where it will start like
web.xml or *.gwt.xml
and where it will go to
Please guide me through this.what is the Flow for GWT from where it will start and proceed.
What you are looking for is called the GWT bootstrap process. It is explained quite well in the official documentation, see the points 1 to 5.
Mind that the above explanations are only correct for production mode (once you app is compiled and deployed). Running the app from your IDE using the GWT developer mode is a whole different story.
Your question sounds to me a little bit ambiguous or too much generic.
For a better understanding of GWT Projects you have to read this: https://developers.google.com/web-toolkit/doc/latest/DevGuideOrganizingProjects
from gwt.xml you will specify the entry point class which is the starting point of the gwt. The entry point class contains the onload module function which will be called first. So from onmoduleload() you will start writing the first code to execute.
GWT UI is build over the root panel, so all the widgets that you put will bind over the root panel in the onmoduleload() code.
Hope this helps for first shot

how to debug GWT 2.4 in sigel with eclipse?

Exists some way to do hot redeploy when developing with gwt 2.4 in eclipse so i can make some change in the view like the text of a label and then press refresh or something like that and the modification appear? that problem is because the project i'm running takes at least 50 minutes to compile and wait 50 minutes just for one text of a label for example is hard...
Well ok, you're question is somewhat vague, but here's some points that hopefuly will help:
Yep, GWT compilation is slow. If you have a big GWT project, it might take good minutes for it to compile. This is sort of a known issue. What you can do to solve this is split your project into multiple GWT libraries and just compile the library you're currently working with.
Regarding hot deploy: your gwt project has two types of code: client code and server side code. The client side code (which is translated to Javascript by the GWT compiler) is hot-deployable. If you follow the instructions here:
https://developers.google.com/web-toolkit/gettingstarted
you'll have a "magic button" that lets you hot deploy your project into any of the more popular browsers. This means that you can modify your client-side code, refresh your browser and it's updated.
For the server-side code that doesn't work. AFAIK, you need to re-compile your project for those modification to be taken into account.
Have you tried GWT Designer?
Read more : https://developers.google.com/web-toolkit/tools/gwtdesigner/

GWT compiler doesn't create symbolMaps in the right place

I recently integrated gwt-log into my GWT and Maven based project mostly because of it's ability to automatically deobfuscate client side stack traces on the server. To make this possible gwt-log needs a so called symbol-map which maps all of the obfuscated symbol names to the original Java symbol names. The GWT compiler is capable of generating these symbol maps but for some reason they are saved to a strange location, eg.:
target/project-name-1.0-SNAPSHOT/project-name/.junit_symbolMaps/0F9FD6EF6A1BC63EA834AC33C7ED13F3.symbolMap
According to the GWT Maven Plugin Documentation the GWT compiler has a "-deploy" parameter which determines where to create files like that and which per default points to "WEB-INF/deploy". But even if I manually set this parameter to the correct location the compiler still creates the symbol-maps in the wrong folder.
I even downloaded the GWT Maven Plugin sources and added some log output to find out whether or not the "-deploy" parameter is passed correctly to the compiler but all seems fine.
Has anybody experienced a similar behavior?
Thanks!
Michael
Disable JUnit GWT Module.
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/552a9578a76587ae#

Three20 dependency problem

I checked out the three20 source and was trying to follow this
guide to build an iphone app using the framework. Within this guide, Templates are used which I checked out too. They ought to compile properly, but I get the following error:
File /Users/myUser/programming/three20/src/build/Debug-iphonesimulator/libThree20.a depends on itself. This target might include its own product.
Did anyone ever solve that issue? I read it was about including something you want to create which is not possible. Anyway any solution I found did not help here.
I actually did not even change anything! Any ideas?
Okay I fixed this by opening the three20.xcodeproj and unchecking the target box for libThree20.a (while leaving it checked in my project that is using three20).
This has at least got me building and running, will report if any problems come up later.