- Oqriqaginal message - Google Web Toolkit http://groups.google.com...
Sent from Gmail for mobile On 4/9/09, Google-Web-Toolkit group <nore...@googlegroups.com> wrote: > > Google Web Toolkit > http://groups.google.com/group/Google-Web-Toolkit?hl=en > > Google-Web-Toolkit@googlegroups.com > > Today's topics: > > * Announcing GWT 1.6...and quite a bit more - 2 messages, 2 authors > http://groups.google.com/group/Google-Web-Toolkit/t/608c6f80cce0a9f9?hl=en > * GWT + Google Maps [ERROR] Unable to load module entry point class - 7 > messages, 2 authors > http://groups.google.com/group/Google-Web-Toolkit/t/4906aa1932a67241?hl=en > * Overcoming the client "same host" security problem for Ajax debugging? - 1 > messages, 1 author > http://groups.google.com/group/Google-Web-Toolkit/t/c7ec712360d1714e?hl=en > * New Plugin and GWTShell - 2 messages, 2 authors > http://groups.google.com/group/Google-Web-Toolkit/t/c48549d926f555cc?hl=en > * 1.6.4 - duplicate onKeyDown events - 7 messages, 3 authors > http://groups.google.com/group/Google-Web-Toolkit/t/caed4260f8d3e680?hl=en > * Static variable in runasync feature GWT - 2 messages, 2 authors > http://groups.google.com/group/Google-Web-Toolkit/t/5463ec9be67aa570?hl=en > * GWT 1.6 with Maven and build system questions/survey... - 1 messages, 1 > author > http://groups.google.com/group/Google-Web-Toolkit/t/791832a0e177e87e?hl=en > > ============================================================================== > TOPIC: Announcing GWT 1.6...and quite a bit more > http://groups.google.com/group/Google-Web-Toolkit/t/608c6f80cce0a9f9?hl=en > ============================================================================== > > == 1 of 2 == > Date: Thurs, Apr 9 2009 1:11 pm > From: Miguel Méndez > > > Sounds good -- I just wanted to double check that I understood where you > were coming from. > > On Thu, Apr 9, 2009 at 4:04 PM, tsegismont <tsegism...@gmail.com> wrote: > >> >> I mean making the name of the war folder configurable, indeed. >> >> I'll open a new thread in this group if I think about something else. >> >> Regards >> >> On Apr 9, 9:59 pm, Miguel Méndez <mmen...@google.com> wrote: >> > You mean making the name of the war folder configurable? Or is there >> > something else? (Just trying to make sure that we agree on what layout >> > means). >> > >> > >> > >> > On Thu, Apr 9, 2009 at 3:49 PM, tsegismont <tsegism...@gmail.com> wrote: >> > >> > > Miguel, >> > >> > > Allowing to configure the layout structure is the only aspect I have >> > > in mind right now. But without this I cannot seamlessly run Maven, >> > > m2eclipse and Google Eclipse together. >> > >> > > Thanks for answering so quick ! >> > >> > > On Apr 9, 7:51 pm, Miguel Méndez <mmen...@google.com> wrote: >> > > > There isn't a dedicated group, but we do monitor this one for >> > > > issues. >> We >> > > > tried to keep the configuration to a minimum for this release. >> > >> > > > What aspects would you need to be able to change in order to make >> > > > the >> > > plugin >> > > > more Maven friendly? >> > >> > > > On Thu, Apr 9, 2009 at 8:31 AM, tsegismont <tsegism...@gmail.com> >> wrote: >> > >> > > > > I tried the plugin and it works fine. But it seems to be not much >> > > > > configurable opposite to command line tools : you have to stick to >> the >> > > > > default project layout for instance, which is not very convenient >> for >> > > > > a Maven project. >> > >> > > > > Did I miss something ? >> > >> > > > > Is there a dedicated group to talk about Google Eclipse plugin ? >> > >> > > > > @Bruce: sorry, at first I'd replied to you only >> > >> > > > > On 8 avr, 05:57, Bruce Johnson <br...@google.com> wrote: >> > > > > > Hi Folks! >> > >> > > > > > Exciting news today. Rather than attempting to describe >> everything >> > > here, >> > > > > let >> > > > > > me point you to some blog posts that hopefully you will find >> > > interesting: >> > >> > > > > > GWT 1.6 and friends: >> > > > > >> http://googlewebtoolkit.blogspot.com/2009/04/introducing-gwt-16-and-f. >> > > .. >> > >> > > > > > Seriously this time, the new language on App Engine: Javahttp:// >> > > > > googleappengine.blogspot.com/2009/04/seriously-this-time-new-l... >> > >> > > > > > Google Plugin for Eclipse -- Peanut Butter to Eclipse's >> > > Chocolatehttp:// >> > > > > googlewebtoolkit.blogspot.com/2009/04/google-plugin-for-eclips... >> > >> > > > > > -- Bruce, on behalf of the GWT, App Engine, and Google Plugin >> teams >> > >> > > > -- >> > > > Miguel >> > >> > -- >> > Miguel >> > >> > > > -- > Miguel > > > > > == 2 of 2 == > Date: Thurs, Apr 9 2009 1:29 pm > From: Daniel Jue > > > 2009/4/8 Miguel Méndez <mmen...@google.com> > >> >> >> On Wed, Apr 8, 2009 at 9:43 AM, Stan B <stan...@gmail.com> wrote: >> >>> >>> Thank you, can't wait to dig in! >>> >>> Does the Google/GWT plugin for Eclipse create the service stubs (Async/ >>> Sync/Impl classes) and modify the web.xml to add the servlet for you >>> like Cypal Studio? >>> >> >> We did not include that feature in this release, but we are considering >> it. >> > > > Please do add the service stubs and allow it to sync the stubs like Cypal! > > When I am programming with GWT I am constantly adding and refactoring the > rpc classes/interfaces, and it is such a pain to manually keep things in > sync, no pun intended. It would be nice if there was an add rpc wizard > which also modified your web.xml, but that would just be icing on the cake. > > Daniel > > > > > > ============================================================================== > TOPIC: GWT + Google Maps [ERROR] Unable to load module entry point class > http://groups.google.com/group/Google-Web-Toolkit/t/4906aa1932a67241?hl=en > ============================================================================== > > == 1 of 7 == > Date: Thurs, Apr 9 2009 1:16 pm > From: nmadzharov > > > Hi, im on the project again! > > I am using the new gwt 1.6 with google maps. > > I have done the gwt tutorial successfully, THen I have modified the > xml and html files as usual and : > > - I have placed the gwt-maps conents into ExampleWebApp\war\WEB-INF > \lib > - I have done Buidl Path -> Add JARs : gwt-maps.jar.. > > the project still gives the same error :( > > What am I doing wrong ? > > > > == 2 of 7 == > Date: Thurs, Apr 9 2009 1:18 pm > From: Eric Ayers > > > Are you sure you can reach the Maps API site? Put this URL in your web > browser: > > http://maps.google.com/maps?file=api&v=2 > > You should get back a hunk of javascript > > > On Thu, Apr 9, 2009 at 4:10 PM, nmadzharov <nmadzha...@gmail.com> wrote: > >> >> hi ,im on the project once again. >> >> now im using the new gwt 1.6. >> >> I have done the following: >> >> I have placed gwt-maps in \war\WEB-INF\lib >> Then i have done Build Path-> Add Jar : gwt-maps.jar .. >> >> Now when I start the project it gives me the same error as before. >> What am I doing wrong ? >> >> Kind regards, >> >> Nikolay Madzharov >> > >> > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://code.google.com/webtoolkit/ > > > > > == 3 of 7 == > Date: Thurs, Apr 9 2009 1:24 pm > From: nmadzharov > > > Yes, I reach it. > > var G_INCOMPAT = false;function GScript(src) {document.write('<' + > 'script src="' + src + '"' +' type="text/javascript"><' + '/script>');} > function GBrowserIsCompatible() {if (G_INCOMPAT) return > false;return .............. > > > > == 4 of 7 == > Date: Thurs, Apr 9 2009 1:29 pm > From: Eric Ayers > > > You need to go back to firebug and look at the network view and make sure > the URL is loading when you run your app. The error you have sent indicates > that it is not. > > On Thu, Apr 9, 2009 at 4:24 PM, nmadzharov <nmadzha...@gmail.com> wrote: > >> >> Yes, I reach it. >> >> var G_INCOMPAT = false;function GScript(src) {document.write('<' + >> 'script src="' + src + '"' +' type="text/javascript"><' + '/script>');} >> function GBrowserIsCompatible() {if (G_INCOMPAT) return >> false;return .............. >> > >> > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://code.google.com/webtoolkit/ > > > > > == 5 of 7 == > Date: Thurs, Apr 9 2009 1:47 pm > From: nmadzharov > > > 1. http://code.google.com/eclipse/docs/creating_new_webapp.html - It > works fine > 2. I unzip gwt-maps-1.0.3.tar.gz into > C:\Documents and Settings\nmadzharov\Desktop\TSPGoogleMaps\workspace > \ExampleWebApp\war\WEB-INF\lib > 3.Build Path -> Libraries -> Jars: gwt-maps.jar > 4. I modify all the files as the ones below: > http://code-it.info/TSPGoogleMaps/ > 5.I got the above mentioned errors > > I will see what I can do with firebug but it usually gives me no > errors > > > > > == 6 of 7 == > Date: Thurs, Apr 9 2009 1:53 pm > From: nmadzharov > > > :( > > project now works when browsed in FireFox!!!! > it does not when I run it in hosted mode google browser > > > > > > == 7 of 7 == > Date: Thurs, Apr 9 2009 5:04 pm > From: Eric Ayers > > > If you are working on Windows, any Internet Explorer settings you have will > also affect the hosted mode browser, as it simply imbeds IE. Does your > project work in Internet Explorer? maybe it has to do with proxy or > security settings? > > On Thu, Apr 9, 2009 at 4:53 PM, nmadzharov <nmadzha...@gmail.com> wrote: > >> >> :( >> >> project now works when browsed in FireFox!!!! >> it does not when I run it in hosted mode google browser >> >> >> > >> > > > -- > Eric Z. Ayers - GWT Team - Atlanta, GA USA > http://code.google.com/webtoolkit/ > > > > > > ============================================================================== > TOPIC: Overcoming the client "same host" security problem for Ajax > debugging? > http://groups.google.com/group/Google-Web-Toolkit/t/c7ec712360d1714e?hl=en > ============================================================================== > > == 1 of 1 == > Date: Thurs, Apr 9 2009 1:40 pm > From: Jeff Chimene > > > On 04/09/2009 10:51 AM, Dominique wrote: >> I have been very excited about using GWT for developing some client >> side code for my Web site but I have hit a wall with the client "same >> host" security restriction. My client side code needs to make >> extensive calls to the server to get data so I need to be able to >> debug this scenario. I've tried the NetBeans IDE and Eclipse and have >> found some comments online regarding solutions to this problem in both >> environments but I was unable to get either working after a few days >> each. Debugging still accesses a different port than 80 which is what >> the Ajax calls use. Can anyone point me to concrete steps for how to >> setup my environment so I can debug my code when it is running against >> my server? Here's what I have: >> >> Windows XP OS >> Apache Web server running my Web site, accessed via localhost:80 >> NetBeans 6.5.1 and Tomcat running localhost >> Eclipse 3.4.2 with Cypal plugin >> GWT 1.5.3 >> >> I am willing to pay someone to help me get this started as I'd really >> hate to have to switch to another technology (investigating Yahoo UI >> and jScript now). >> >> Dominique >> > Hi, > > Are you using the -noserver function? Your setup sounds quite common. > Perhaps I'm missing something... > > > > > > ============================================================================== > TOPIC: New Plugin and GWTShell > http://groups.google.com/group/Google-Web-Toolkit/t/c48549d926f555cc?hl=en > ============================================================================== > > == 1 of 2 == > Date: Thurs, Apr 9 2009 1:44 pm > From: Jason Essington > > > Thanks Miguel! > > For everyone else: > > In this case both were using 1.6.4 > > It seems that the plugin wants to not only see that you are using > 1.6.4, but also have a war/WEB-INF/web.xml file. > > so, to fix older projects with this problem you have to: > 1) un-check the "Use GWT" box in the Project Properties > 2) close the properties dialog > 3) add the war structure > 4) THIS IS VERY IMPORTANT: refresh (f5) the project > 5) re-check the "use GWT" box in project properties > > Then enjoy debugging using the new HostedMode > > -jason > > On Apr 9, 2009, at 1:27 PM, Miguel Méndez wrote: > >> Projects that are not war style, 1.6, projects are launched using >> the GWT 1.5 style shell by the plugin. >> >> Please see the "Working with GWT 1.5 and earlier projects" section >> in the following doc for more information: >> http://code.google.com/eclipse/docs/existingprojects.html >> . >> >> On Thu, Apr 9, 2009 at 2:59 PM, Isaac Truett <itru...@gmail.com> >> wrote: >> >> One's using GWT 1.5 and the other is GWT 1.6? >> >> >> >> On Thu, Apr 9, 2009 at 2:56 PM, Jason Essington >> <jason.essing...@gmail.com> wrote: >> > >> > I have a project that has been using GWT since the beta days. I just >> > converted it to a "GWT project" for use with the new plugin ... >> > >> > now when I debug (debug as a webapp) I get the complaint that >> GWTShell >> > is deprecated, and to use HostedMode ... >> > >> > problem is, the plugin doesn't give you any way to choose. >> > >> > another test project that I just created does not display this >> message >> > on debug, so something must be triggering the use of one vs the >> other, >> > anyone have any idea what it could be? >> > >> > -jason >> > >> > > >> > >> >> >> >> >> >> -- >> Miguel >> >> > > > > > > > == 2 of 2 == > Date: Thurs, Apr 9 2009 4:08 pm > From: Vitali Lovich > > > Generally, you might want to turn on the always refresh projects on startup > option & continually refresh files. > > On Thu, Apr 9, 2009 at 4:44 PM, Jason Essington > <jason.essing...@gmail.com>wrote: > >> Thanks Miguel! >> >> For everyone else: >> >> In this case both were using 1.6.4 >> It seems that the plugin wants to not only see that you are using 1.6.4, >> but also have a war/WEB-INF/web.xml file. >> >> so, to fix older projects with this problem you have to: >> 1) un-check the "Use GWT" box in the Project Properties >> 2) close the properties dialog >> 3) add the war structure >> 4) THIS IS VERY IMPORTANT: refresh (f5) the project >> 5) re-check the "use GWT" box in project properties >> >> Then enjoy debugging using the new HostedMode >> >> -jason >> >> On Apr 9, 2009, at 1:27 PM, Miguel Méndez wrote: >> >> Projects that are not war style, 1.6, projects are launched using the GWT >> 1.5 style shell by the plugin. >> >> Please see the "Working with GWT 1.5 and earlier projects" section in the >> following doc for more information: >> http://code.google.com/eclipse/docs/existingprojects.html. >> >> On Thu, Apr 9, 2009 at 2:59 PM, Isaac Truett <itru...@gmail.com> wrote: >> >>> >>> One's using GWT 1.5 and the other is GWT 1.6? >>> >>> >>> >>> On Thu, Apr 9, 2009 at 2:56 PM, Jason Essington >>> <jason.essing...@gmail.com> wrote: >>> > >>> > I have a project that has been using GWT since the beta days. I just >>> > converted it to a "GWT project" for use with the new plugin ... >>> > >>> > now when I debug (debug as a webapp) I get the complaint that GWTShell >>> > is deprecated, and to use HostedMode ... >>> > >>> > problem is, the plugin doesn't give you any way to choose. >>> > >>> > another test project that I just created does not display this message >>> > on debug, so something must be triggering the use of one vs the other, >>> > anyone have any idea what it could be? >>> > >>> > -jason >>> > >>> > > >>> > >>> >>> >>> >> >> >> -- >> Miguel >> >> >> >> >> >> > >> > > > > > > ============================================================================== > TOPIC: 1.6.4 - duplicate onKeyDown events > http://groups.google.com/group/Google-Web-Toolkit/t/caed4260f8d3e680?hl=en > ============================================================================== > > == 1 of 7 == > Date: Thurs, Apr 9 2009 2:16 pm > From: jchimene > > > OK, so I've isolated it to the following routine inside > com.google.gwt.user.client.ui.Composite.class > > @Override > public void onBrowserEvent(Event event) { > // Fire any handler added to the composite itself. > super.onBrowserEvent(event); > > // Delegate events to the widget. > widget.onBrowserEvent(event); > } > > > How do I declare my class so that the two onBrowserEvent() calls don't > wind up in the same routine? > > On Apr 8, 6:51 pm, jchimene <jchim...@gmail.com> wrote: >> Hi, >> >> Is anybody else seeing duplicate events with a (now deprecated) >> KeyBoardListener? >> >> I get duplicate events even when I replace the deprecated handler with >> the 1.6 event version. The target/source widget IDs are the same for >> both events. >> >> The problem does not occur using the 1.5.3 library. >> >> This is pretty simple stuff: >> suggestBox.addKeyboardListener(new KeyboardListenerAdapter() { >> public void onKeyDown(Widget sender, char keyCode, int modifiers) >> { >> if (191 == (int)keyCode) { // question mark >> GWT.log("help",null); >> } >> } >> >> }); > > > > == 2 of 7 == > Date: Thurs, Apr 9 2009 3:20 pm > From: jchimene > > > Hi, > > The similar routine from the 1.5.3 library does not have the duplicate > calls: > > com.google.gwt.user.client.ui.Composite.class > > @Override > public void onBrowserEvent(Event event) { > // Delegate events to the widget. > widget.onBrowserEvent(event); > } > > Was this a bugfix for the 1.6 revision? If so, how do I prevent the > duplicate call to the SuggestBox widget? > > > > == 3 of 7 == > Date: Thurs, Apr 9 2009 3:34 pm > From: Jason Essington > > > I'm guessing don't call super.onBrowserEvent() in composite, just > delegate ... > > -jason > > On Apr 9, 2009, at 4:20 PM, jchimene wrote: > >> >> Hi, >> >> The similar routine from the 1.5.3 library does not have the duplicate >> calls: >> >> com.google.gwt.user.client.ui.Composite.class >> >> @Override >> public void onBrowserEvent(Event event) { >> // Delegate events to the widget. >> widget.onBrowserEvent(event); >> } >> >> Was this a bugfix for the 1.6 revision? If so, how do I prevent the >> duplicate call to the SuggestBox widget? >> > > > > > > > == 4 of 7 == > Date: Thurs, Apr 9 2009 3:36 pm > From: Sumit Chandel > > > Hi jchimene, > Thanks for catching this. What you've discovered is essentially a bug. I > reproduced it on my end and can confirm that events will fire twice for > pretty much any class extending Composite because of the two onBrowserEvent > calls in the Composite class (one to super, the other from the wrapped > widget). > > It looks like the rationale for making this change was discussed in Issue > #3211 (link below). While it seems to make sense, I think this case of > Composites wasn't considered, and so we're seeing double-fire events like > the one in your code snippet above. > > Issue #3211: > http://code.google.com/p/google-web-toolkit/issues/detail?id=3211 > > A potential workaround you can use in the case of the SuggestBox would be to > extend it and override the onBrowserEvent() method once more, this time > making a single call to onBrowserEvent from the wrapped widget. > > E.g.: > > public class MySuggestBox extends SuggestBox { > @Override > public void onBrowserEvent(Event event) { > getWidget().onBrowserEvent(event); > } > } > > Give that a try and let us know how it goes. Meanwhile, I'll file an issue > on the tracker for this bug and let you know once it's reported so you can > follow up on it. > > Hope that helps, > -Sumit Chandel > > On Thu, Apr 9, 2009 at 3:20 PM, jchimene <jchim...@gmail.com> wrote: > >> >> Hi, >> >> The similar routine from the 1.5.3 library does not have the duplicate >> calls: >> >> com.google.gwt.user.client.ui.Composite.class >> >> @Override >> public void onBrowserEvent(Event event) { >> // Delegate events to the widget. >> widget.onBrowserEvent(event); >> } >> >> Was this a bugfix for the 1.6 revision? If so, how do I prevent the >> duplicate call to the SuggestBox widget? >> > >> > > > > > == 5 of 7 == > Date: Thurs, Apr 9 2009 4:13 pm > From: Sumit Chandel > > > Issue #3533 submitted: > http://code.google.com/p/google-web-toolkit/issues/detail?id=3533 > > Thanks, > -Sumit Chandel > > On Thu, Apr 9, 2009 at 3:36 PM, Sumit Chandel > <sumitchan...@google.com>wrote: > >> Hi jchimene, >> Thanks for catching this. What you've discovered is essentially a bug. I >> reproduced it on my end and can confirm that events will fire twice for >> pretty much any class extending Composite because of the two >> onBrowserEvent >> calls in the Composite class (one to super, the other from the wrapped >> widget). >> >> It looks like the rationale for making this change was discussed in Issue >> #3211 (link below). While it seems to make sense, I think this case of >> Composites wasn't considered, and so we're seeing double-fire events like >> the one in your code snippet above. >> >> Issue #3211: >> http://code.google.com/p/google-web-toolkit/issues/detail?id=3211 >> >> A potential workaround you can use in the case of the SuggestBox would be >> to extend it and override the onBrowserEvent() method once more, this time >> making a single call to onBrowserEvent from the wrapped widget. >> >> E.g.: >> >> public class MySuggestBox extends SuggestBox { >> @Override >> public void onBrowserEvent(Event event) { >> getWidget().onBrowserEvent(event); >> } >> } >> >> Give that a try and let us know how it goes. Meanwhile, I'll file an issue >> on the tracker for this bug and let you know once it's reported so you can >> follow up on it. >> >> Hope that helps, >> -Sumit Chandel >> >> On Thu, Apr 9, 2009 at 3:20 PM, jchimene <jchim...@gmail.com> wrote: >> >>> >>> Hi, >>> >>> The similar routine from the 1.5.3 library does not have the duplicate >>> calls: >>> >>> com.google.gwt.user.client.ui.Composite.class >>> >>> @Override >>> public void onBrowserEvent(Event event) { >>> // Delegate events to the widget. >>> widget.onBrowserEvent(event); >>> } >>> >>> Was this a bugfix for the 1.6 revision? If so, how do I prevent the >>> duplicate call to the SuggestBox widget? >>> >> >>> >> > > > > > == 6 of 7 == > Date: Thurs, Apr 9 2009 4:18 pm > From: Jeff Chimene > > > On 04/09/2009 03:36 PM, Sumit Chandel wrote: >> public class MySuggestBox extends SuggestBox { >> �...@override >> ��public void onBrowserEvent(Event event) { >> �� �getWidget().onBrowserEvent(event); >> ��} >> } > Hi Sumit, > > Thanks for the follow-up! > > I'll implement that code. There can be little doubt that overriding to > the 1.5.x behavior will address the issue. > > Cheers, > jec > > > > > == 7 of 7 == > Date: Thurs, Apr 9 2009 4:43 pm > From: Jeff Chimene > > > On 04/09/2009 03:36 PM, Sumit Chandel wrote: >> Hi jchimene, >> >> Thanks for catching this. What you've discovered is essentially a bug. >> I reproduced it on my end and can confirm that events will fire twice >> for pretty much any class extending Composite because of the two >> onBrowserEvent calls in the Composite class (one to super, the other >> from the wrapped widget). >> >> It looks like the rationale for making this change was discussed in >> Issue #3211 (link below). While it seems to make sense, I think this >> case of Composites wasn't considered, and so we're seeing double-fire >> events like the one in your code snippet above. >> >> Issue #3211: >> http://code.google.com/p/google-web-toolkit/issues/detail?id=3211 >> >> A potential workaround you can use in the case of the SuggestBox would >> be to extend it and override the onBrowserEvent() method once more, >> this time making a single call to onBrowserEvent from the wrapped widget. >> >> E.g.: >> >> public class MySuggestBox extends SuggestBox { >> �...@override >> ��public void onBrowserEvent(Event event) { >> �� �getWidget().onBrowserEvent(event); >> ��} >> } >> >> Give that a try and let us know how it goes. Meanwhile, I'll file an >> issue on the tracker for this bug and let you know once it's reported >> so you can follow up on it. >> >> > 'ta bien > > public class JecSuggestBox extends SuggestBox { > > public JecSuggestBox(MultiWordSuggestOracle multiWordSuggestOracle) { > super(multiWordSuggestOracle); > } > > public void onBrowserEvent(Event event) { > getWidget().onBrowserEvent(event); > } > } > > > > > > > ============================================================================== > TOPIC: Static variable in runasync feature GWT > http://groups.google.com/group/Google-Web-Toolkit/t/5463ec9be67aa570?hl=en > ============================================================================== > > == 1 of 2 == > Date: Thurs, Apr 9 2009 3:34 pm > From: Ghostcoder > > > I have a doubt > > GWT.runAsync(new RunAsyncCallback() { > public void onFailure(Throwable err) { > } > > public void onSuccess() { > > some static method (method is a huge chunk of > code) > > } > }); > > Will the static method javascript be downloaded when the application > starts or when the code reaches the point ? > > How does static variables and methods behave in runasync feature ? > > Thank you > > > > == 2 of 2 == > Date: Thurs, Apr 9 2009 3:38 pm > From: Vitali Lovich > > > Code referenced outside of the runAsync callback will be brought in on > startup. If you only refer to that static function in the runAsync part (or > in code brought in as a result) then it'll be downloaded in the background > as expected. > > You can use the SOYC tool to figure out exactly what's going on. > > On Thu, Apr 9, 2009 at 6:34 PM, Ghostcoder <thanneer.ma...@gmail.com> wrote: > >> >> I have a doubt >> >> GWT.runAsync(new RunAsyncCallback() { >> public void onFailure(Throwable err) { >> } >> >> public void onSuccess() { >> >> some static method (method is a huge chunk of >> code) >> >> } >> }); >> >> Will the static method javascript be downloaded when the application >> starts or when the code reaches the point ? >> >> How does static variables and methods behave in runasync feature ? >> >> Thank you >> > >> > > > > > > ============================================================================== > TOPIC: GWT 1.6 with Maven and build system questions/survey... > http://groups.google.com/group/Google-Web-Toolkit/t/791832a0e177e87e?hl=en > ============================================================================== > > == 1 of 1 == > Date: Thurs, Apr 9 2009 4:25 pm > From: Tony Strauss > > > I also believe in the importance of build systems! :) > > My company's current project (medium size, about 32,000 lines of code) > uses a handwritten Ant build system. We do, however, use the Maven > Ant tasks to manage our project's external dependencies. In addition > to using Ant in our builds, we also use it for most of our deployment > tasks. We develop on Windows (eclipse) and Linux (command-line and > emacs), and the build system accommodates this. > > From our build files, we: > 1.) Call the GWT compiler directly. > 2.) Massage the output to fit our deployment needs. > 3.) Run jetty > 4.) Run GWT hosted mode (with --noserver, which then interacts with > the jetty instance from step 3). > > In general, I'm pretty happy with the build system. It is flexible > enough for our needs, and is smart enough to build only what it needs > to. It is, however, a large portion of our code base (about 4,000 > lines of Ant XML, which is over 10% of the code base). > > Tony > -- > Tony Strauss > Designing Patterns, LLC > http://www.designingpatterns.com > http://blogs.designingpatterns.com > > On Apr 9, 11:03 am, Benju <b...@fastcastmedia.com> wrote: >> I am curious if anybody using Maven+GWT has tried moving to GWT 1.6 >> yet. I noticed there is no public repository containing the 1.6 >> realease only RC, Beta, and Milestones. I can always manually deploy >> GWT to our internal repository but it's a bit of a pain. >> >> Also, if anybody is using GWT+Maven who prefers the Codehaus plugin >> and who the Google Code GWT-Maven plugin? From what I understand >> these two Maven plugins are merging in the long term so that only the >> Codehaus plugin will be actively developed. >> >> Finally I would also like to post the following question to the GWT >> community. What do you use for setting up your builds? I've always >> been of the opinion that a good build system is of cardinal >> importance, especially on larger projects. At this time I have seen >> the following options... >> >> Hand written Ant file >> -Calling the GWT compiler directly >> -Maven >> -with the codehaus plugin (http://mojo.codehaus.org/gwt-maven- >> plugin/) >> -with the Google Code GWT-Maven plugin (http://code.google.com/p/ >> gwt-maven/) >> -Intellij Idea's built in GWT support >> -eclipse with special GWT support (I believe some plugins exist >> including the recently released Google one) >> -Netbeans gwt4NB (https://gwt4nb.dev.java.net/) > > > > ============================================================================== > > 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 or > visit http://groups.google.com/group/Google-Web-Toolkit?hl=en > > To unsubscribe from this group, send email to > google-web-toolkit+unsubscr...@googlegroups.com > > To change the way you get mail from this group, visit: > http://groups.google.com/group/Google-Web-Toolkit/subscribe?hl=en > > To report abuse, send email explaining the problem to ab...@googlegroups.com > > ============================================================================== > Google Groups: http://groups.google.com/?hl=en > -- Sent from Gmail for mobile | mobile.google.com --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---