Saturday, August 27, 2011

Re: Minor but frustrating roadblocks

I'm don't understand well what do you need

2011/8/27 Russ Abbott <russ.abbott@gmail.com>
I keep getting hung up on minor but frustrating road blocks.

I'm trying to run the History example. My problem is that I can't figure out how to construct a web app into which to copy the example. Is there some place that tells me all the pieces one needs -- and how they have to be linked together -- to run an application?

In this case I created a Web App (in eclipse) and turned off the part that generated code. I created a war/web.xml file and included a <welcome-file-list> that listed BrowserHistoryExample.html as the Welcome page. I created a war/BrowserHistoryExample.html page. When I try to run it I got an error message saying that I have not specified the module to be run. 

I then created a historyExample/BrowserHistoryExample.gwt.xml file that declared a module with rename-to set to 'browserHistoryExample' and the entry point class set to 'historyExample.BrowserHistoryExample'.  (I had declared the package to be historyExample when I created the project.)

Now when I try to run it, it attempts to open a completely different page -- another application I had been working on.  This happens even though I had deleted all the Run Configurations for both BrowserHistoryExample and the other application.  

This is the URL it generates to double click on: http://127.0.0.1:8888/BrowserHistoryExample.html?gwt.codesvr=127.0.0.1:9997

I also cleared the cache of the browser. I have no idea where to look to see why it is attempting to open the wrong page.

What I would really like is a page that tells me which files are necessary (the two xml files, the entry point file, and the html file, plus any others that are needed) what those files must contain, how the names are necessary to run, which names are necessary to match up, and all the places the system looks when it makes decisions about how to launch the application.

Thanks.
 
-- Russ

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

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