Re: 404 not found when POSTing to servlet - GoDaddy issue
Hi Daniel, a 404 error code means the server can't find its way to the webservice, so my advice to you, copy all the contents of the WAR folder after GWT compilation process succeeded. The new folder that you have compress it and change its extension from .zip to .war Move that new folder (with .war extension) to tomcat webapps folder and restart tomcat. Tomcat will automatically deploy your application. Good luck! On Dec 1, 4:00 am, Daniel doubleagen...@gmail.com wrote: I've currently removed it and just uploaded it as a war file. I'm not sure - maybe Tomcat will fix the issue when it explodes. On Nov 30, 4:36 pm, Daniel doubleagen...@gmail.com wrote: I've been in touch with GoDaddy's tech support because I'm convinced that it's an issue with the directory layout and/or config files, but they keep telling me it's a different issue. Maybe it is (I don't really understand this apache/tomcat stuff). Site is atwww.codingventures.net/FrontEnd.html. GWT version is 1.7. I've done an ant build and just copied the contents of war/ to html/ recursively. Here's what the directory structure looks like: html/frontend/gwt/ html/frontend/generated html and javascript html/WEB-INF/web.xml html/WEB-INF/lib/gwt-servlet.jar html/WEB-INF/lib/jdbc-mysql.jar html/WEB-INF/classes html/WEB-INF/classes/org/...class files ...pretty standard I suppose (the dev guide says a separate WEB-INF/ classes directory is acceptable). The url-pattern tag in web.xml is '/ frontend/blog', and I've gotten a 500 error when going there in the browser once, and have gotten a blank white page otherwise. I've tried to follow the dev guide here:http://code.google.com/webtoolkit/doc/1.6/DevGuideDeploying.html, but can't figure it out - every attempt is met with frustration. Since tech support isn't very helpful I figured I'd turn here. packages are org.codingventures.blog.client server, server.admin_tools, server.test, server.utils. Here's the web.xml: ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- Servlets -- servlet servlet-nameblogServlet/servlet-name servlet-classorg.codingventures.blog.server.BlogServiceImpl/ servlet-class /servlet servlet-mapping servlet-nameblogServlet/servlet-name url-pattern/frontend/blog/url-pattern /servlet-mapping !-- Default page to serve -- welcome-file-list welcome-fileFrontEnd.html/welcome-file /welcome-file-list /web-app -- 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-tool...@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.
image Bundle
hi all; i have created myImageBundle that extends image bundle and i add the icons i want and everything went fine. but when i tried to modify the bundle and change the resources on each image and also i added a new image... it keeps building the old image with the old icons... i have deleted all the build project. and i am using the hosted mode to test it does anybody know how to solve this thanks -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~ ~~0598-534520~~ -- 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-tool...@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.
Re: MVP + UiBinder, thoughts?
Yes, it has nothing to do with MVP. If your team is small and none of them are designers i don't see a reason to use uibinder. -- 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-tool...@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.
Re: MVP + UiBinder, thoughts?
It´s pretty much a one man team (me), so maybe I won´t benefit very much from using the UiBinder then... On 1 Dec, 09:48, mariyan nenchev nenchev.mari...@gmail.com wrote: Yes, it has nothing to do with MVP. If your team is small and none of them are designers i don't see a reason to use uibinder. -- 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-tool...@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.
clear jetty cached data
hi can anybody please tell me how do i clear the jetty cached data in hosted mode.. -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~ -- 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-tool...@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.
Re: clear jetty cached data
I think restarting the server should work. -- 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-tool...@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.
Re: clear jetty cached data
and how to restart the server just restart eclipse or what thanks for ur answers On Tue, Dec 1, 2009 at 11:46 AM, Prashant antsh...@gmail.com wrote: I think restarting the server should work. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- ~~~With Regards~~~ Muhannad Dar-Nasser ~~Computer Systems Engineering~~ -- 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-tool...@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.
Re: clear jetty cached data
No. go to Console Tab Chage the display to [Web Application] Hit the red button to stop the server Start the server again -- 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-tool...@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.
Re: clear jetty cached data
On Dec 1, 11:03 am, Prashant antsh...@gmail.com wrote: No. go to Console Tab Chage the display to [Web Application] Hit the red button to stop the server Start the server again Er, with GWT 1.6/1.7, IIRC, there's a restart server button in the HostedMode window. With GWT 2.0 RC2 and the Eclipse plugin (version 1.2rc2), in the Development Mode view, there's a reload web server button (double yellow arrows). -- 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-tool...@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.
Re: clear jetty cached data
ohh, great. i never noticed that. -- 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-tool...@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.
Re: MVP + UiBinder, thoughts?
On Dec 1, 6:36 am, Dalla dalla_man...@hotmail.com wrote: OK, so if I understand you correctly, you´re not using the @UiHandler annotation at all? Sounds like a good approach which won´t affect the MVP pattern as we know it at all. Right; we only use @UiField and @UiField(provided=true). Well, there are some cases where we could use @UiHandler actually (in a view, we turn some ClickEvents into SelectionEvents), but the guy who worked on these view wasn't aware of @UiHandler, and I completely forgot about it too, so I didn't catch when reviewing his code ;-) -- 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-tool...@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.
Re: MVP + UiBinder, thoughts?
On Dec 1, 9:48 am, mariyan nenchev nenchev.mari...@gmail.com wrote: Yes, it has nothing to do with MVP. If your team is small and none of them are designers i don't see a reason to use uibinder. We're a small team (4 full-time devs, only 2 of them working on client code; none of us is designer) and we do use UiBinder for nearly 2 months (2.0 MS1) and find it very useful, and productivity gain! For best performances (we're targeting IE6, as it's our client's company standard, unfortunately), we started doing some screens using HTMLPanel. UiBinder binder makes the code: - easier to read (Eclipse is not good at formatting String concatenations, much better at formatting XML) - faster to write and less error-prone (now that we have auto- completion and validation for GWT widgets in the Eclipse plugin) - easier to understand, because the Java code for the view is simpler Compared to our legacy app (UiBinder is used in a new app, to work side-by-side with a year-and-half-old GWT app still using widgets the GWT-1.7-way, without MVP, DI, etc.), the code is much cleaner with UiBinder. My only fear is that we hit the 31-stylesheets limit of IE, which might come quite quickly when using CssResource (both explicitly, and automagically through UiBinder) -- 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-tool...@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.
Re: Verification Email Process
Thank you very much Martin for your reply, Ill think about that :-). On Nov 27, 9:48 am, Martin Trummer martin.trum...@24act.at wrote: another benefit is, that you don't have the username in the url as a parameter when the app is started On 27 Nov., 10:37, Martin Trummer martin.trum...@24act.at wrote: If it works for you it must be right :) another aproach would be to write a small servlet that does the verification job: In this case the URL in the mail would point to the verification servlet. the servlet could check if everything is correct and the redirect to your application (or to an errorpage, or send back an errorpage directly, ..) this would have the benefit, that the servlets reaction time is instantaneous - no need to load your whole application before doing the verification. On 26 Nov., 13:02, Henry enricrequ...@gmail.com wrote: Hi guys, I have my GWT application and I need to implement a process to verify the email address when someone creates a new account. I've the URL (www.XX.com) which give me the whole application every time I hit it. In my process I'll send an email after the successful creation of the account, this email will have a link inside like that (www.XX.com? method=verifyusername=FFF), by hitting this URL the server will give me the application again like the first time, then on the onModule() of my entryPoint class, I'll take the parameters of this URL, and in that case, I'll make and asyncronohus call to the server to verify the email and wait for the callback to show a panel to the user saying that the email has been verify. Before getting that callback I can show something saying that the email has being verified while I'm waiting for the callback. Is it the right way to go? Thanks in advance. -- 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-tool...@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.
Re: How to disable default css
Yeah,I can delete it,but it will be generated automatically next time when I refresh hosted.html,even I have removed the entry inherits name='com.google.gwt.user.theme.standard.Standard' /,that is very very very annoying. On 30 nov, 10:38, Chris Moog christopherm...@googlemail.com wrote: You're right. The file is there by default (at least if you create a new project with the eclipse plugin). If you uncomment the inherits... section in your module.xml as you described it will not be interpreted by GWT and can be deleted. On 30 Nov., 08:49, Alex Luya alexander.l...@gmail.com wrote: Alex Luya Hi,I want todisableallcsscome with GWT,and have followed this thread,and commented the entry inherits name='com.google.gwt.user.theme.standard.Standard' / in Project.gwt.xml ,but seems thatstandardcssstill be generated in directory /war/project/gwt,so how todisableit thoroughly.Thank you in advanced. -- 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-tool...@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.
Is there any way disable default css permanently(GWT RC 2)?
Hi,I want to disable all css come with GWT,and have followed this thread,and commented the entry inherits name='com.google.gwt.user.theme.standard.Standard' / in Project.gwt.xml ,but seems that standard css still be generated in directory /war/project/gwt every time when I refresh hosted.html,so how to disable it thoroughly. It is very,very,very annoying to delete it ? Thank you in advanced. -- 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-tool...@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.
Re: How to disable default css
it shouldn't happen, i am also not using gwt styles. try creating a new project and comment inherit tag before compiling it first time. -- 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-tool...@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.
Roadmap for GWT 2.0
Hi, Is there any estimations regarding the date of the release of GWT 2.0? Any rough estimation will do it (month / 3 months / 6 months)... Thanks, Nir [cid:image001.gif@01CA729D.0B545AB0] Nir Feldman Release Control RD Team Leader Hewlett-Packard Company +972-3-5399896 Phone +972-54-7213833 Cell +972-3-5331617 Fax nir.feld...@hp.commailto:nir.feld...@hp.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-tool...@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. inline: image001.gif
How to force div widgets to be on the same row? (not use table)
hi experts, As you know, a lot of widgets in GWT are implemented by div, such as buttons. So, if I try to put some of these widgets together, each of them will automatically get into the second row by the nature of div. I don't want to use horizontal panel (basically a table) to force them into the same row, because I want to minimize the usage of table to keep the rendering speed. So I am currently using css: display: inline-block. But it does not work for all browsers. So, I am wondering what are you guys using to put these divs into the same row? Thanks! Autumn -- 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-tool...@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.
OOPHM not connecting to Code Server
When running in Development mode from the Eclipse plugin, the DevMode console does not indicate any URL, and starting DevMode does not open a browser. From the UsingOOPHM wiki link, I found the text: If you start DevMode in a browser without the plugin, you will get to the page allowing you to install the plugin. If you want to install it ahead of time, you can go directly to that missing-plugin page to install the plugin. Since nothing appeared, I went to the missing-plugin page to install the plugin, and found references to the gwt.hosted query param. Our GWT pages are all served via servlets from a context URL of / webconfig/*. We do not have a static HTML page. I tried to follow the same pattern by navigating in FF to localhost:/webconfig/default? gwt.hosted=localhost:9997 . Our application does seem to load and function normally, but although I had run the DevMode configuration from Eclipse's Debug menu, breakpoints don't work and I never see a connection from the OOPHM plugin noted in the logs. I even suspended the Code Server thread from within the DevMode JVM to see if it ever returned from the ServerSocket.accept() (it didn't). It seems as though the URL I'm using is bypassing the mechanism that invokes the OOPHM plugin. Another anomaly that I think might be related is that when creating or editing a Run/Debug Configuration, the GWT tab on the configuration dialog appears different when I select my GWT project (it's missing the Browser URL field and replaces the Compiler Shell section with a Development Mode section, see attached images for details). I idly wondered if it was related to our GWT bootstrap HTML pages being generated by servlets, so I mention it here. I found this: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b3c69a212002444b/95f9e9a0d65347f5?lnk=gst but I verified the gwt-servlet.jar was the same in the 2.0rc2 dir and my war/WEB-INF/lib dir . This looks like maybe the URL field is no longer valid: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b688ac3e31802a6/bbc44affbff385e0 But in any case, perhaps my servlet is handling things before it gets to yours? FWIW, I do have load-on-startup tags in my web.xml . Thanks for any help, Adam -- 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-tool...@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.
Please Suggest Me Good Book for GWT
Hi, I am learning the GWT, So please suggest me good book to start, which is availabe in bangalore(India). thanks, Pruthvi. -- 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-tool...@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.
Any Gwt-Mosaic user here? I've got a problem:my DropdownPanel is transparent ...
Hello everybody, I've try to post my problem in Gwt-Mosaic Group,but I haven't got any reply. So I came here to find if anyone can help me at this problem. in my project ,I need a dropdown tree,so a extends ComboBoxBase and Override it's abstract method, everything is perfactly matched my requirement,except one thing...the dropdownPanel(actually it is a PopupPanel) is transparent. I've tried many methods ...but I'm failure... any one here can't give me a little help ? any idea will be greatly greatly ..(greatly)^100 .. appricated! thanks! -- 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-tool...@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.
Deploying a project
Hello all, Am really new to GWT and am using google plugin for eclipse which great for development as it starts the project in hosted mode, but my problem I need to deploy my sample on a real AS like JBoss, how can I do that? how can I create a war file for my project? What file structure should it contain? I new that maybe it is very stupid but am not able to do :-/ Thanks in advance... -- 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-tool...@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.
Re: OOPHM not connecting to Code Server
Two additional pieces of information: 1. It worked in 1.7.1, but I was upgraded to a 64-bit machine running Ubuntu 9.10, which does not include libstdc++5 anymore. I'm upgrading to 2.0 because I can't use 1.7.1 hosted mode anymore. 2. The reference to images below because I was originally writing a bug report, but I thought I'd ask to make sure I didn't have an obvious configuration issue before reporting it, so please ignore that part :) Thanks to anyone who can help, Adam On Dec 1, 12:03 am, ahawtho adam.hawtho...@gmail.com wrote: When running in Development mode from the Eclipse plugin, the DevMode console does not indicate any URL, and starting DevMode does not open a browser. From the UsingOOPHM wiki link, I found the text: If you start DevMode in a browser without the plugin, you will get to the page allowing you to install the plugin. If you want to install it ahead of time, you can go directly to that missing-plugin page to install the plugin. Since nothing appeared, I went to the missing-plugin page to install the plugin, and found references to the gwt.hosted query param. Our GWT pages are all served via servlets from a context URL of / webconfig/*. We do not have a static HTML page. I tried to follow the same pattern by navigating in FF to localhost:/webconfig/default? gwt.hosted=localhost:9997 . Our application does seem to load and function normally, but although I had run the DevMode configuration from Eclipse's Debug menu, breakpoints don't work and I never see a connection from the OOPHM plugin noted in the logs. I even suspended the Code Server thread from within the DevMode JVM to see if it ever returned from the ServerSocket.accept() (it didn't). It seems as though the URL I'm using is bypassing the mechanism that invokes the OOPHM plugin. Another anomaly that I think might be related is that when creating or editing a Run/Debug Configuration, the GWT tab on the configuration dialog appears different when I select my GWT project (it's missing the Browser URL field and replaces the Compiler Shell section with a Development Mode section, see attached images for details). I idly wondered if it was related to our GWT bootstrap HTML pages being generated by servlets, so I mention it here. I found this:http://groups.google.com/group/google-web-toolkit/browse_thread/threa... but I verified the gwt-servlet.jar was the same in the 2.0rc2 dir and my war/WEB-INF/lib dir . This looks like maybe the URL field is no longer valid: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... But in any case, perhaps my servlet is handling things before it gets to yours? FWIW, I do have load-on-startup tags in my web.xml . Thanks for any help, Adam -- 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-tool...@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.
Re: Any Gwt-Mosaic user here? I've got a problem:my DropdownPanel is transparent ...
for a spell mistake this is any on here can give me.. instead of can't . sorry of making this spelling mistake ...maybe this is because problem hurt too much -- 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-tool...@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.
Re: OOPHM not connecting to Code Server
Hey Adam, Try adding the following to the program arguments of your launch configuration: -startupUrl webconfig/default Rajeev On Tue, Dec 1, 2009 at 12:03 AM, ahawtho adam.hawtho...@gmail.com wrote: When running in Development mode from the Eclipse plugin, the DevMode console does not indicate any URL, and starting DevMode does not open a browser. From the UsingOOPHM wiki link, I found the text: If you start DevMode in a browser without the plugin, you will get to the page allowing you to install the plugin. If you want to install it ahead of time, you can go directly to that missing-plugin page to install the plugin. Since nothing appeared, I went to the missing-plugin page to install the plugin, and found references to the gwt.hosted query param. Our GWT pages are all served via servlets from a context URL of / webconfig/*. We do not have a static HTML page. I tried to follow the same pattern by navigating in FF to localhost:/webconfig/default? gwt.hosted=localhost:9997 . Our application does seem to load and function normally, but although I had run the DevMode configuration from Eclipse's Debug menu, breakpoints don't work and I never see a connection from the OOPHM plugin noted in the logs. I even suspended the Code Server thread from within the DevMode JVM to see if it ever returned from the ServerSocket.accept() (it didn't). It seems as though the URL I'm using is bypassing the mechanism that invokes the OOPHM plugin. Another anomaly that I think might be related is that when creating or editing a Run/Debug Configuration, the GWT tab on the configuration dialog appears different when I select my GWT project (it's missing the Browser URL field and replaces the Compiler Shell section with a Development Mode section, see attached images for details). I idly wondered if it was related to our GWT bootstrap HTML pages being generated by servlets, so I mention it here. I found this: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b3c69a212002444b/95f9e9a0d65347f5?lnk=gst but I verified the gwt-servlet.jar was the same in the 2.0rc2 dir and my war/WEB-INF/lib dir . This looks like maybe the URL field is no longer valid: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/b688ac3e31802a6/bbc44affbff385e0 But in any case, perhaps my servlet is handling things before it gets to yours? FWIW, I do have load-on-startup tags in my web.xml . Thanks for any help, Adam -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: Deploying a project
Hi, you can use this ant-target to create a war file: target name=war depends=build description=Create a war file zip destfile=MyApp.war basedir=war/ /target I recommend to create the project structure with the webAppCreator (included inside the google-gwt-directory). I've written a tutorial how to do that: http://blog.jdevelop.eu/2009/11/11/create-a-gwt-application-from-scratch/ Have a lot of fun! On 1 Dez., 14:22, cutout33 cutou...@gmail.com wrote: Hello all, Am really new to GWT and am using google plugin for eclipse which great for development as it starts the project in hosted mode, but my problem I need to deploy my sample on a real AS like JBoss, how can I do that? how can I create a war file for my project? What file structure should it contain? I new that maybe it is very stupid but am not able to do :-/ Thanks in advance... -- 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-tool...@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.
Re: Deploying a project
The following overview may be of assistance as well: http://code.google.com/webtoolkit/doc/1.6/DevGuideDeploying.html On Tue, Dec 1, 2009 at 10:12 AM, gwtfanb0y siegfried.b...@googlemail.comwrote: Hi, you can use this ant-target to create a war file: target name=war depends=build description=Create a war file zip destfile=MyApp.war basedir=war/ /target I recommend to create the project structure with the webAppCreator (included inside the google-gwt-directory). I've written a tutorial how to do that: http://blog.jdevelop.eu/2009/11/11/create-a-gwt-application-from-scratch/ Have a lot of fun! On 1 Dez., 14:22, cutout33 cutou...@gmail.com wrote: Hello all, Am really new to GWT and am using google plugin for eclipse which great for development as it starts the project in hosted mode, but my problem I need to deploy my sample on a real AS like JBoss, how can I do that? how can I create a war file for my project? What file structure should it contain? I new that maybe it is very stupid but am not able to do :-/ Thanks in advance... -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: Please Suggest Me Good Book for GWT
Safari has a few that are great as well.Beginning Google Web Toolkit got me up and running in a few hours. http://my.safaribooksonline.com/9781430210313 You read it online so its available globally. John- On Mon, Nov 30, 2009 at 9:58 PM, Pruthvi Raj pruthvi...@gmail.com wrote: Hi, I am learning the GWT, So please suggest me good book to start, which is availabe in bangalore(India). thanks, Pruthvi. -- 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-tool...@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. -- 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-tool...@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.
Re: Any Gwt-Mosaic user here? I've got a problem:my DropdownPanel is transparent ...
Hey, Try their irc channel, it's listed on the project page - I was able to get help from the guys there. It looks like a very decent alternative to gxt and smartgwt, and while it doesn't provide that many widgets, it solves a few layout and structuring issues very nicely. regards, --andrius aka phuqit On Dec 1, 5:08 pm, lijnge lollypop1...@gmail.com wrote: for a spell mistake this is any on here can give me.. instead of can't . sorry of making this spelling mistake ...maybe this is because problem hurt too much -- 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-tool...@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.
GWT 2.0.0 rc2 - failing to compile annotation (when used with Maven plugin 1.2-SNAPSHOT)
I have a class in the client subpackage (lets call it Foo) that has an annotation (say @Bar) that is in a client.gwt.rpc sub-package. This construct compiles fine with GWT eclipse plugin (1.2 rc2, eclipse galileo) but when I compile using the maven plugin, I get a ClassNotFoundException in the compile phase and the compiler says [WARN] Ignoring unresolvable annotation type ... Has anyone run into a similar problem or does anyone have a workaround? Thanks K -- 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-tool...@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.
Re: Google Gadget: works in hosted mode, but not in web mode (iGoogle)
OK thanks! So I have made it with RPC now and in hosted mode, it works well again! But if I want to change it in a gadget the compiler writes the following error message: Compiling module com.google.gwt.sample.cnsnews_rpc_gadget.CADENASNews_RPC_Gadget Computing all possible rebind results for 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' Rebinding com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget Invoking generate-with class='com.google.gwt.gadgets.rebind.GadgetGenerator'/ [ERROR] Generator 'com.google.gwt.gadgets.rebind.GadgetGenerator' threw threw an exception while rebinding 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' java.lang.NullPointerException at com.google.gwt.gadgets.rebind.GadgetGenerator.generateGadgetManifest (GadgetGenerator.java:274) at com.google.gwt.gadgets.rebind.GadgetGenerator.generate (GadgetGenerator.java:142) at com.google.gwt.dev.cfg.RuleGenerateWith.realize (RuleGenerateWith.java:49) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind (StandardRebindOracle.java:113) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind (StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:172) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:161) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers (Precompile.java:204) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile (JavaToJavaScriptCompiler.java:250) at com.google.gwt.dev.Precompile.precompile(Precompile.java:300) at com.google.gwt.dev.Compiler.run(Compiler.java:170) at com.google.gwt.dev.Compiler$1.run(Compiler.java:124) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:131) I'm already using the gwt-gadgets-noredist.jar file! Any suggestions? On 30 Nov., 17:52, Eric Ayers zun...@google.com wrote: See the Gadget RPC example in the gwt-google-apis project for how to set the proxy in request builder. http://code.google.com/p/gwt-google-apis On Mon, Nov 30, 2009 at 10:17 AM, flokay f.kar...@cadenas.de wrote: Hi, I've got an issue with my Google Gadget: - I'm trying to read an XML file via RequestBuilder and show it in the gadget (only for testing purpose) - If I try it in hosted mode with onModuleLoad() method and so on, it works well - But if i add it to iGoogle the string variable of response.getText() is empty in Firefox and in IE there appears the following message: ...url.. is invalid or violates the same-origin security restriction - My XML file from which should be read is exactly in the same directory as my gadget XML file, so there actually couldn't be a same- origin security restriction. - I'm using GWT 1.7.1! I've tried to fix this since over a week now and I don't know what else to do! Could anbody help me? Best regards, flokay -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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-tool...@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.
Re: How to run GWT 2.0 RC2's hosted mode with another server?
Based on the fact that the plugin is attempting to launch GWTShell, it may not recognize your app as a web app. This is typically the case when it doesn't find a war/WEB-INF/web.xml file in the project root. Can you confirm that this directory structure is in place? Also, what version of GWT and GPE were you using to previously build your application? On Tue, Dec 1, 2009 at 1:56 AM, Jan Ehrhardt jan.ehrha...@googlemail.comwrote: I'm using the Web App launch configuration and the plugin version, which is linked on the GWT 2.0 RC2 wiki page http://code.google.com/p/google-web-toolkit/wiki/GWT_2_0_RC Regards Jan Ehrhardt On Mon, Nov 30, 2009 at 4:07 PM, Chris Ramsdale cramsd...@google.comwrote: As a follow-up, are you using Web App Launch configurations or regular Java launch configurations? Also would you mind checking which version of the Google Eclipse Plugin you have installed? You can do this via Help-Install New Software and clicking on the already installed link in the lower right hand corner. On Mon, Nov 30, 2009 at 9:00 AM, Chris Ramsdale cramsd...@google.comwrote: Jan, The -style argument has been removed when running in development mode (formerly hosted mode). It is now configurable via the UI or an Ant property when you compile your code. The UI settings are available by right clicking on the project name, selecting Google-GWT Compile. From the resulting view you will see options for Log level and Output style. In order to set the output style via Ant, add the following to your build.xml file under the gwtc target: arg value=-style/ arg value=PRETTY/ What other error are you seeing when specifying the codeServerPort? On Mon, Nov 30, 2009 at 5:59 AM, Jan Ehrhardt jan.ehrha...@googlemail.com wrote: Hi, I'm currently looking how our existing project can be updated to GWT 2.0 when it's released, but I'm running into some trouble. We use Eclipse with the Google plugin and currently we've got one web project, which will be started as a web project running on an Eclipse server runtime. This runtime can be a Tomcat or a WebSphere. We've got another project, which contains the GWT stuff. Our GWT launch configuration is done with the following properties: - Run internal server is deselected - The GWT URL is pointed to 'http://localhost:8080/our-app' This worked well. We've to compile the GWT project once to JavaScript contained in the web project. We launch the Eclipse server runtime on ' http://localhost:8080/' and then we start our hosted browser. The hosted browser detects to module contained in the page ' http://localhost:8080/our-app' and replaces it with the stuff contained in our GWT project. Now I've installed GWT 2.0 RC2 and the required version of the plugin. I've changed the GWT SDK in the project properties. The first point was, that the text field for inserting my external URL was gone. Additionally, I got the following Error: Unknown argument: -style Google Web Toolkit 2.0.0-rc2 GWTShell [-noserver] [-port port-number | auto] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-codeServerPort port-number | auto] [-out dir] [url] where -noserverPrevents the embedded web server from running -portSpecifies the TCP port for the embedded web server (defaults to ) -whitelist Allows the user to browse URLs that match the specified regexes (comma or space separated) -blacklist Prevents the user browsing URLs that match the specified regexes (comma or space separated) -logdir Logs to a file in the given directory, as well as graphically -logLevelThe level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL -gen Debugging: causes normally-transient generated types to be saved in the specified directory -codeServerPort Specifies the TCP port for the code server (defaults to 9997) -out The directory to write output files into (defaults to current) and url Automatically launches the specified URL I tried some other configuration like adding the URL as a program argument, which brought another error. Can anybody tell me how to configure this scenario in the correct way? Or won't there be any possibility with GWT 2.0? Regards Jan Ehrhardt -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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
Re: Roadmap for GWT 2.0
it should be soon because they are at rc2. usually after rc2 it is the final which usually is in 2 weeks On Dec 1, 5:43 am, Feldman, Nir nir.feld...@hp.com wrote: Hi, Is there any estimations regarding the date of the release of GWT 2.0? Any rough estimation will do it (month / 3 months / 6 months)... Thanks, Nir [cid:image001@01CA729D.0B545AB0] Nir Feldman Release Control RD Team Leader Hewlett-Packard Company +972-3-5399896 Phone +972-54-7213833 Cell +972-3-5331617 Fax nir.feld...@hp.commailto:nir.feld...@hp.com image001.gif 2KViewDownload -- 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-tool...@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.
Re: How to force div widgets to be on the same row? (not use table)
You can try playing with something like div div style=float: leftstuff/div div style=float: leftmore stuff/div /div I've done some fairly complex layouts w/o tables. If you search for layout omit tables kind of query you should find several examples from those who shun tables as layout canvas. I think alistapart would be a good starting point. Nevertheless, shunning tables yet still using GWT is like running down an up escalator. Just saying. On Mon, Nov 30, 2009 at 5:03 PM, Qiushuang Zhang autumnc...@gmail.comwrote: hi experts, As you know, a lot of widgets in GWT are implemented by div, such as buttons. So, if I try to put some of these widgets together, each of them will automatically get into the second row by the nature of div. I don't want to use horizontal panel (basically a table) to force them into the same row, because I want to minimize the usage of table to keep the rendering speed. So I am currently using css: display: inline-block. But it does not work for all browsers. So, I am wondering what are you guys using to put these divs into the same row? Thanks! Autumn -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: Problems using SliderBar from incubator project
I found that the link in step one is stale and that the link to use is the one in step 2. The documentation for the Slider is nonexistant and for that matter the documentation incubator is pretty weak. For example it still isn't clear to me when I should use the gen2 package. I know it is open source but for the only link i could find to use on how to use the incubator to be wrong is not good. This link has a number of comments that say that the posting on how to use the incubator is wrong and no-one has corrected it. Being as it is a wiki can I update it? If so, I will. http://code.google.com/p/google-web-toolkit-incubator/wiki/HowToUseTheIncubator On Nov 19, 4:16 pm, Steve Souza st...@stevesouza.com wrote: http://groups.google.com/group/google-web-toolkit On Thu, Nov 19, 2009 at 4:15 PM, steve souza jamon...@gmail.com wrote: I am using the SliderBar in the incubation project and have a few questions. My general question is how do I use the Slider bar with the incubator project for GWT 1.7? I did the following. 1) Followed the instructions for using the incubator here. http://code.google.com/p/google-web-toolkit-incubator/wiki/HowToUseTh... In particular I downloaded the jar from this link. One thing I noticed this didn't have a version on it, so I am not sure or not it is for 1.7? 2) I saw that there was a download for 1.7 incubator here. What is the difference between this and the above jar? Eclipse needed this jar and gwt needed the previous one, however they don't seem to be compatible. http://code.google.com/p/google-web-toolkit-incubator/wiki/Downloads?... 3) I had read that the newer slider is import com.google.gwt.gen2.picker.client.SliderBar; and not import com.google.gwt.widgetideas.client.SliderBar However, -- 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-tool...@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.
Re: MVP + UiBinder, thoughts?
I found MVP works great with UiBinder. MVP pattern abstracts logic from widget so that most of logic(i.e., calculation, rpc calls) can be mocked and tested in plain junit test cases separately from those have to be run in GWTTestCases. What's left in the V part are now layout code in the widget which usually are lots of messy code with panels, styling, and positioning. UiBinder cleans up the mess with html. On Dec 1, 5:54 am, Thomas Broyer t.bro...@gmail.com wrote: On Dec 1, 9:48 am, mariyan nenchev nenchev.mari...@gmail.com wrote: Yes, it has nothing to do with MVP. If your team is small and none of them are designers i don't see a reason to use uibinder. We're a small team (4 full-time devs, only 2 of them working on client code; none of us is designer) and we do use UiBinder for nearly 2 months (2.0 MS1) and find it very useful, and productivity gain! For best performances (we're targeting IE6, as it's our client's company standard, unfortunately), we started doing some screens using HTMLPanel. UiBinder binder makes the code: - easier to read (Eclipse is not good at formatting String concatenations, much better at formatting XML) - faster to write and less error-prone (now that we have auto- completion and validation for GWT widgets in the Eclipse plugin) - easier to understand, because the Java code for the view is simpler Compared to our legacy app (UiBinder is used in a new app, to work side-by-side with a year-and-half-old GWT app still using widgets the GWT-1.7-way, without MVP, DI, etc.), the code is much cleaner with UiBinder. My only fear is that we hit the 31-stylesheets limit of IE, which might come quite quickly when using CssResource (both explicitly, and automagically through UiBinder) -- 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-tool...@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.
Re: Google Gadget: works in hosted mode, but not in web mode (iGoogle)
This may be a conflict between different versions of xerces, because this part of the code is creating a new XML document. You should be using the -noredist.jar file, and expecting to resolve xerces in your GWT build. Are you explicitly including xerces in your build classpath? It may help to checkout the gwt-gadgets project from code and build a fresh .jar along with the version of GWT and xerces you are using. On Tue, Dec 1, 2009 at 10:37 AM, flokay f.kar...@cadenas.de wrote: OK thanks! So I have made it with RPC now and in hosted mode, it works well again! But if I want to change it in a gadget the compiler writes the following error message: Compiling module com.google.gwt.sample.cnsnews_rpc_gadget.CADENASNews_RPC_Gadget Computing all possible rebind results for 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' Rebinding com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget Invoking generate-with class='com.google.gwt.gadgets.rebind.GadgetGenerator'/ [ERROR] Generator 'com.google.gwt.gadgets.rebind.GadgetGenerator' threw threw an exception while rebinding 'com.google.gwt.sample.cnsnews_rpc_gadget.client.CADENASNews_RPC_Gadget' java.lang.NullPointerException at com.google.gwt.gadgets.rebind.GadgetGenerator.generateGadgetManifest (GadgetGenerator.java:274) at com.google.gwt.gadgets.rebind.GadgetGenerator.generate (GadgetGenerator.java:142) at com.google.gwt.dev.cfg.RuleGenerateWith.realize (RuleGenerateWith.java:49) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.tryRebind (StandardRebindOracle.java:113) at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind (StandardRebindOracle.java:62) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:172) at com.google.gwt.dev.shell.StandardRebindOracle.rebind (StandardRebindOracle.java:161) at com.google.gwt.dev.Precompile $DistillerRebindPermutationOracle.getAllPossibleRebindAnswers (Precompile.java:204) at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile (JavaToJavaScriptCompiler.java:250) at com.google.gwt.dev.Precompile.precompile(Precompile.java:300) at com.google.gwt.dev.Compiler.run(Compiler.java:170) at com.google.gwt.dev.Compiler$1.run(Compiler.java:124) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java: 88) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger (CompileTaskRunner.java:82) at com.google.gwt.dev.Compiler.main(Compiler.java:131) I'm already using the gwt-gadgets-noredist.jar file! Any suggestions? On 30 Nov., 17:52, Eric Ayers zun...@google.com wrote: See the Gadget RPC example in the gwt-google-apis project for how to set the proxy in request builder. http://code.google.com/p/gwt-google-apis On Mon, Nov 30, 2009 at 10:17 AM, flokay f.kar...@cadenas.de wrote: Hi, I've got an issue with my Google Gadget: - I'm trying to read an XML file via RequestBuilder and show it in the gadget (only for testing purpose) - If I try it in hosted mode with onModuleLoad() method and so on, it works well - But if i add it to iGoogle the string variable of response.getText() is empty in Firefox and in IE there appears the following message: ...url.. is invalid or violates the same-origin security restriction - My XML file from which should be read is exactly in the same directory as my gadget XML file, so there actually couldn't be a same- origin security restriction. - I'm using GWT 1.7.1! I've tried to fix this since over a week now and I don't know what else to do! Could anbody help me? Best regards, flokay -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Eric Z. Ayers Google Web Toolkit, Atlanta, GA USA -- You received this message because you are subscribed to the Google
Re: Roadmap for GWT 2.0
On Tue, Dec 1, 2009 at 6:43 AM, Feldman, Nir nir.feld...@hp.com wrote: Hi, Is there any estimations regarding the date of the release of GWT 2.0? Any rough estimation will do it (month / 3 months / 6 months)… Thanks, Nir If you're considering 2.0, you should have some of your team reviewing RC2. It's stable enough to use in an evaluation -- 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-tool...@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.
Re: mozilla-hosted-browser.conf and Gentoo Linux
A couple things: - You don't need to establish such an Eclipse - browser link for GWT. Eclipse has a lot of web development framework you don't need for developing w/ GWT. - For versions of GWT 2.0, you test your compiled code in any of the Linux browsers. This means deploying and serving the JavaScript in response to an HTTP request. That is a step that you ordinarily don't do while in the code-compile-debug loop. You don't need Eclipse Web development for this. Simply compile the code in GWT, deploy it to a web server, start your browser outside Eclipse, navigate to the URL. - You don't say which GWT version you're using. For anything 2.0, GWT provides its own browser for Linux. It's a standalone version of FireFox packaged for embedded development in tools like GWT called XULRunner. Please note that this hosted mode browser is what you will use most when developing GWT code. GWT is designed to test your application before it's compiled; which means that you won't use a standalone browser while testing your application (for GWT 2.0) - The upshot is that what you're trying to do probably isn't what you want On Sun, Nov 29, 2009 at 4:12 PM, Mary-Anne Wolf mgw...@comcast.net wrote: I am trying to get some existing GWT code to work in hosted mode within Eclipse 3.4 on Gentoo Linux on i686 hardware. I tried adding /usr/lib/mozilla-firefox into mozilla-hosted- browser.conf and I get the error ** Unable to find a usable Mozilla install ** I tried adding /usr/bin/konqueror and got the same result. So I found discussion from 2007 which says GWT refuses to work on Linux with Firefox. Okay. I am flexible. What browser should I use? Where do I get it from? It is possible that I need to set something so that the mozilla-hosted-browser file will be found. The code I am trying to make work only has one copy of it, so I am guessing I do not need to move the file. I am finding discussions of doing GWT on 64 bit linux, so I know SOMEBODY has gotten this to work. Thanks. Mary-Anne -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: How to force div widgets to be on the same row? (not use table)
And considering the complexity of the js-generated pages, a few tables probably doesn't hurt that much. I mean, I've not seen any slow rendering issues in my experience. But there are certainly times when it's nicer to have it clean, and there are some widgets like InnerHTML and InnerLabel that use span instead of div. -- 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-tool...@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.
Re: mozilla-hosted-browser.conf and Gentoo Linux
Please note the change in the 2nd bullet point. There is no GWT version dependency when running compiled code. On Tue, Dec 1, 2009 at 9:47 AM, Jeff Chimene jchim...@gmail.com wrote: A couple things: - You don't need to establish such an Eclipse - browser link for GWT. Eclipse has a lot of web development framework you don't need for developing w/ GWT. - You test your compiled code in any of the Linux browsers. This means deploying and serving the JavaScript in response to an HTTP request. That is a step that you ordinarily don't do while in the code-compile-debug loop. You don't need Eclipse Web development for this. Simply compile the code in GWT, deploy it to a web server, start your browser outside Eclipse, navigate to the URL. - You don't say which GWT version you're using. For anything 2.0, GWT provides its own browser for Linux. It's a standalone version of FireFox packaged for embedded development in tools like GWT called XULRunner. Please note that this hosted mode browser is what you will use most when developing GWT code. GWT is designed to test your application before it's compiled; which means that you won't use a standalone browser while testing your application (for GWT 2.0) - The upshot is that what you're trying to do probably isn't what you want -- 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-tool...@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.
Re: Any Gwt-Mosaic user here? I've got a problem:my DropdownPanel is transparent ...
hi andrius, thanks alot for your reply, The irc channel? I can't find it on the project page ? and... the project page you mean is the gwt-mosaic project page? On 12月1日, 下午11时29分, Andrius Juozapaitis andri...@gmail.com wrote: Hey, Try their irc channel, it's listed on the project page - I was able to get help from the guys there. It looks like a very decent alternative to gxt and smartgwt, and while it doesn't provide that many widgets, it solves a few layout and structuring issues very nicely. regards, --andrius aka phuqit On Dec 1, 5:08 pm, lijnge lollypop1...@gmail.com wrote: for a spell mistake this is any on here can give me.. instead of can't . sorry of making this spelling mistake ...maybe this is because problem hurt too much -- 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-tool...@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.
Re: I18N Date problem
Using the following code snippet I was unable to reproduce your issue: 1. Updated my gwt.xml to include Hungarian locale support: inherits name=com.google.gwt.i18n.I18N/ extend-property name=locale values=hu/ 2. Updated my main .html to set the locale to Hungarian: meta name=gwt:property content=locale=hu 3. Tested in both development and production mode using the GWT code sample found in the javadoc: http://google-web-toolkit.googlecode.com/svn/javadoc/1.6/com/google/gwt/user/datepicker/client/DatePicker.html In either mode, the updated values passed in via onValueChange() are consistent. Are you doing something more complex when retrieving and storing the updated value? Also, are you noticing this behavior in a particular browser, or is it happening across the board? On Wed, Nov 25, 2009 at 11:58 AM, armogur armo...@gmail.com wrote: i just trying this new 2.0 rc1 gwit, and have a problem with the handling of the date (it is actually java.util.Date). using locale hu, with setting it in my Application.gwt.xml and in the hosting html. in my application, which is manages entities, and some entity have Date type field, i am selecting the date with datepicker on the frontend ui, and when persisting it in development mode everything is ok, but when i compile it and deploy it to tomcat, and using this application in production mode, the persisted date int the database is one day before what is actually i selected in the browser! the database in both cases are the same! could this wrong behaviour is my mistake, or it is the fault of GWT? can someone confirm this? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: How to force div widgets to be on the same row? (not use table)
On Dec 1, 5:10 pm, Jeff Chimene jchim...@gmail.com wrote: Nevertheless, shunning tables yet still using GWT is like running down an up escalator. Just saying. Not when you consider using UiBinder and/or the new Layout widgets. Just saying. ;-) -- 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-tool...@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.
Re: Development Mode Firefox 64bit Linux Issue
Are you using the missing plugin page to download the plugin? Also, what version of Firefox are you running, and on which Linux distro? - Chris On Wed, Nov 25, 2009 at 4:08 PM, andreit anto...@optonline.net wrote: Same here, I am on Firefox 64bit Linux too. It fails to recognize that plugin already has been installed. Today I've updated plugin to to a latest version 0.9.7135.20091123192202, but still facing the same issue. On Nov 25, 10:16 am, alexmat alex...@gmail.com wrote: Dev mode starts up fine. Point firefox at the url, download and install plugin. Restart... and it asks me to install the plugin again. It is already installed though. Anyone else seeing this? Any advice? -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: MVP + UiBinder, thoughts?
Lots of good thoughts. Cleaning up the code inside the view sounds really nice, so I guess I´ll be sticking with UiBinder after all :-) Does anyone know any good resources for testing examples using GWT? I would be interested in examples using plain JUnit aswell as GWTTestCase. On 1 Dec, 17:12, uwfrog alfred.qy...@gmail.com wrote: I found MVP works great with UiBinder. MVP pattern abstracts logic from widget so that most of logic(i.e., calculation, rpc calls) can be mocked and tested in plain junit test cases separately from those have to be run in GWTTestCases. What's left in the V part are now layout code in the widget which usually are lots of messy code with panels, styling, and positioning. UiBinder cleans up the mess with html. On Dec 1, 5:54 am, Thomas Broyer t.bro...@gmail.com wrote: On Dec 1, 9:48 am, mariyan nenchev nenchev.mari...@gmail.com wrote: Yes, it has nothing to do with MVP. If your team is small and none of them are designers i don't see a reason to use uibinder. We're a small team (4 full-time devs, only 2 of them working on client code; none of us is designer) and we do use UiBinder for nearly 2 months (2.0 MS1) and find it very useful, and productivity gain! For best performances (we're targeting IE6, as it's our client's company standard, unfortunately), we started doing some screens using HTMLPanel. UiBinder binder makes the code: - easier to read (Eclipse is not good at formatting String concatenations, much better at formatting XML) - faster to write and less error-prone (now that we have auto- completion and validation for GWT widgets in the Eclipse plugin) - easier to understand, because the Java code for the view is simpler Compared to our legacy app (UiBinder is used in a new app, to work side-by-side with a year-and-half-old GWT app still using widgets the GWT-1.7-way, without MVP, DI, etc.), the code is much cleaner with UiBinder. My only fear is that we hit the 31-stylesheets limit of IE, which might come quite quickly when using CssResource (both explicitly, and automagically through UiBinder) -- 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-tool...@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.
Re: OOPHM not connecting to Code Server
Thanks Rajeev, I added that and I have good news and bad news: The good news is that adding the cmdline arg did cause the Development Mode tab in Eclipse to display a URL: http://localhost:8080/webconfig/default?gwt.codesvr=127.0.1.1:9997, and I was able to paste that into firefox. The bad news is that doing so did not seem to change anything about the execution. No breakpoints, no attempt to connect to the code server, etc.. If you have any more ideas about this, I'd very much appreciate it. Side question: Does the use of the gwt.codesvr query parameter trigger the OOPHM plugin, or is it something else? Thanks, Adam On Dec 1, 10:07 am, Rajeev Dayal rda...@google.com wrote: Hey Adam, Try adding the following to the program arguments of your launch configuration: -startupUrl webconfig/default Rajeev On Tue, Dec 1, 2009 at 12:03 AM, ahawtho adam.hawtho...@gmail.com wrote: When running in Development mode from the Eclipse plugin, the DevMode console does not indicate any URL, and starting DevMode does not open a browser. From the UsingOOPHM wiki link, I found the text: If you start DevMode in a browser without the plugin, you will get to the page allowing you to install the plugin. If you want to install it ahead of time, you can go directly to that missing-plugin page to install the plugin. Since nothing appeared, I went to the missing-plugin page to install the plugin, and found references to the gwt.hosted query param. Our GWT pages are all served via servlets from a context URL of / webconfig/*. We do not have a static HTML page. I tried to follow the same pattern by navigating in FF to localhost:/webconfig/default? gwt.hosted=localhost:9997 . Our application does seem to load and function normally, but although I had run the DevMode configuration from Eclipse's Debug menu, breakpoints don't work and I never see a connection from the OOPHM plugin noted in the logs. I even suspended the Code Server thread from within the DevMode JVM to see if it ever returned from the ServerSocket.accept() (it didn't). It seems as though the URL I'm using is bypassing the mechanism that invokes the OOPHM plugin. Another anomaly that I think might be related is that when creating or editing a Run/Debug Configuration, the GWT tab on the configuration dialog appears different when I select my GWT project (it's missing the Browser URL field and replaces the Compiler Shell section with a Development Mode section, see attached images for details). I idly wondered if it was related to our GWT bootstrap HTML pages being generated by servlets, so I mention it here. I found this: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... but I verified the gwt-servlet.jar was the same in the 2.0rc2 dir and my war/WEB-INF/lib dir . This looks like maybe the URL field is no longer valid: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... But in any case, perhaps my servlet is handling things before it gets to yours? FWIW, I do have load-on-startup tags in my web.xml . Thanks for any help, Adam -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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.
Re: Google Web Toolkit 2.0 RC2 Now Available
It seems that my FF 3.5.5 is still crashing from time to time under RC2. It even crashes when I'm not doing something explicitly with the browser, such as restarts in Eclipse. -- 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-tool...@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.
Development mode + JBOSS
Hi, How can i configure some app running in development mode with GEP to talk with ejbs deployed on jboss as. I am using MVP pattern and gwt 2.0, my rpc calls are with the new Command (Action) based api. Regards. -- 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-tool...@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.
Re: Google Web Toolkit 2.0 RC2 Now Available
We're aware of the Firefox plugin crashes and are actively working on a fix. The issue can be tracked here: http://code.google.com/p/google-web-toolkit/issues/detail?id=4230 Problems such as this can be frustrating and we appreciate everyone's patience. On Tue, Dec 1, 2009 at 1:12 PM, Open eSignForms yoz...@gmail.com wrote: It seems that my FF 3.5.5 is still crashing from time to time under RC2. It even crashes when I'm not doing something explicitly with the browser, such as restarts in Eclipse. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
EXCEPTION_ACCESS_VIOLATION in HotSpot Virtual Machine:
I'm hitting the error shown below in my code in the following manner... Working with a fairly complex object composed of several component objects - so quite a bit of memory probably... a) Editing an object, saving the results, then without clearing the screen, request the another object via RPC with the intention of refilling the screen with the new fresh values for the new object. When the RPC send attempts to happen, the browser (IE or hosted) vanishes. If I'm in hosted mode then Eclipse console contains the error and reference to a detailed error file. (attached). b) Interesting! If instead of requesting a new object to edit, I instead go to the menu and re-draw the screen from scratch - then no error occurs. Theories: a) We're running out of memory and I need to up the memory (can that be done in IE browser running javascript?) b) The UI and its ties to the data module object is getting totally confused by swapping the model out from under it. The detail file included seems to be hinting at memory, but I may be reading it wrong. Any ideas from anyone out there? If it is memory, how does one go about increasing memory in a running javascript application? # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x420c87ea, pid=1552, tid=5616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_18-b02 mixed mode) # Problematic frame: # C [Dxtrans.dll+0x87ea] # # An error report file with more information is saved as hs_err_pid1552.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # -- 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-tool...@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. hs_err_pid1552.log Description: Binary data
Re: Simple Label+TextBox combo
I have found that using InnerLabel with InnerHTML and a TextBox, I can come close to making it cleaner HTML than the overhead of a table just to put a label and input field together, with something like: FlowPanel nameAndLabel = new FlowPanel(); InlineLabel label = new InlineLabel(Name); TextBox nameField = new TextBox(); nameField.setValue(Bob); nameAndLabel.add(label); nameAndLabel.add( new InlineHTML(br/) ); nameAndLabel.add(nameField); But the Label class doesn't actually generate a label tag, so the label is not also associated with the TextBox for accessibility (it's just a span). The idea of having labeled input fields is so basic, that there must be a nicer solution. I noted that RadioButton does a good job of associating the label with the radio button itself. Is there something comparable in GWT 2 to make the label/TextBox (or other input widgets) go together to produce simple HTML like: labelNamebr/input /label Thanks for any tips -- 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-tool...@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.
Re: EXCEPTION_ACCESS_VIOLATION in HotSpot Virtual Machine:
I had the same issue with GWT 2.0.0-rc1 and rc2 with JDK1.5 update 22. I switched to JDK 1.6 and the problem went away. I only had this happen in development mode, and consistently so. On Tue, Dec 1, 2009 at 1:47 PM, Bruce Petro brucepe...@gmail.com wrote: I'm hitting the error shown below in my code in the following manner... Working with a fairly complex object composed of several component objects - so quite a bit of memory probably... a) Editing an object, saving the results, then without clearing the screen, request the another object via RPC with the intention of refilling the screen with the new fresh values for the new object. When the RPC send attempts to happen, the browser (IE or hosted) vanishes. If I'm in hosted mode then Eclipse console contains the error and reference to a detailed error file. (attached). b) Interesting! If instead of requesting a new object to edit, I instead go to the menu and re-draw the screen from scratch - then no error occurs. Theories: a) We're running out of memory and I need to up the memory (can that be done in IE browser running javascript?) b) The UI and its ties to the data module object is getting totally confused by swapping the model out from under it. The detail file included seems to be hinting at memory, but I may be reading it wrong. Any ideas from anyone out there? If it is memory, how does one go about increasing memory in a running javascript application? # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x420c87ea, pid=1552, tid=5616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_18-b02 mixed mode) # Problematic frame: # C [Dxtrans.dll+0x87ea] # # An error report file with more information is saved as hs_err_pid1552.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # -- 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-tool...@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. -- 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-tool...@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.
Re: EXCEPTION_ACCESS_VIOLATION in HotSpot Virtual Machine:
Thanks! I cannot switch java versions but I can work on memory issues in general. BTW: I was sloppy. I failed to mention I'm working in 1.6.4 version. Also, if others are searching this in the future, I believe I should abandon the UI - model links as an issue. The reason is the detail file indicates memory AND debugging, the crash consistently comes at the moment of the send to the RPC for the next object and I would presume RPC send cycles are a high-point in memory and resource usages. On Tue, Dec 1, 2009 at 2:11 PM, Karthik Abram karthik.ab...@gmail.comwrote: I had the same issue with GWT 2.0.0-rc1 and rc2 with JDK1.5 update 22. I switched to JDK 1.6 and the problem went away. I only had this happen in development mode, and consistently so. On Tue, Dec 1, 2009 at 1:47 PM, Bruce Petro brucepe...@gmail.com wrote: I'm hitting the error shown below in my code in the following manner... Working with a fairly complex object composed of several component objects - so quite a bit of memory probably... a) Editing an object, saving the results, then without clearing the screen, request the another object via RPC with the intention of refilling the screen with the new fresh values for the new object. When the RPC send attempts to happen, the browser (IE or hosted) vanishes. If I'm in hosted mode then Eclipse console contains the error and reference to a detailed error file. (attached). b) Interesting! If instead of requesting a new object to edit, I instead go to the menu and re-draw the screen from scratch - then no error occurs. Theories: a) We're running out of memory and I need to up the memory (can that be done in IE browser running javascript?) b) The UI and its ties to the data module object is getting totally confused by swapping the model out from under it. The detail file included seems to be hinting at memory, but I may be reading it wrong. Any ideas from anyone out there? If it is memory, how does one go about increasing memory in a running javascript application? # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x420c87ea, pid=1552, tid=5616 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_18-b02 mixed mode) # Problematic frame: # C [Dxtrans.dll+0x87ea] # # An error report file with more information is saved as hs_err_pid1552.log # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # -- 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.comgoogle-web-toolkit%2bunsubscr...@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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Update to big application with GWT client (Project Kaiser)
Hi, I'd love to introduce update to big application which uses GWT as a client, we are developing together with GWT from the beginning, so here are some results of few years, think it will be interested. -Project Management (unlimited projects hierarchy) -Issue tracking -Forums You can take a look at it here http://www.projectkaiser.com:8080/pk Regards, Maxim -- 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-tool...@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.
Re: OOPHM not connecting to Code Server
Hi all, This is resolved, but I'm sorry to say I can't say exactly what the problem was. There's a few things I did that seemed as though they may have helped: 1. We have a complex classloader structure in our servlets. We add files to certain jar files, and because of this, there was a stray copy of gwt-user.jar from 1.7.0 somewhere in our build process. 2. It may have been that compiling used 1.7.1 due to some old dependencies in our custom Ant scripts, and so things were working in production mode. 3. I'm not sure what caused the OOPHM plugin to connect to the Code Server after all, my guess is that it was due to the difference between the gwt.codesvr and gwt.hosted query parameters. Adam On Dec 1, 12:43 pm, ahawtho adam.hawtho...@gmail.com wrote: Thanks Rajeev, I added that and I have good news and bad news: The good news is that adding the cmdline arg did cause the Development Mode tab in Eclipse to display a URL:http://localhost:8080/webconfig/default?gwt.codesvr=127.0.1.1:9997, and I was able to paste that into firefox. The bad news is that doing so did not seem to change anything about the execution. No breakpoints, no attempt to connect to the code server, etc.. If you have any more ideas about this, I'd very much appreciate it. Side question: Does the use of the gwt.codesvr query parameter trigger the OOPHM plugin, or is it something else? Thanks, Adam On Dec 1, 10:07 am, Rajeev Dayal rda...@google.com wrote: Hey Adam, Try adding the following to the program arguments of your launch configuration: -startupUrl webconfig/default Rajeev On Tue, Dec 1, 2009 at 12:03 AM, ahawtho adam.hawtho...@gmail.com wrote: When running in Development mode from the Eclipse plugin, the DevMode console does not indicate any URL, and starting DevMode does not open a browser. From the UsingOOPHM wiki link, I found the text: If you start DevMode in a browser without the plugin, you will get to the page allowing you to install the plugin. If you want to install it ahead of time, you can go directly to that missing-plugin page to install the plugin. Since nothing appeared, I went to the missing-plugin page to install the plugin, and found references to the gwt.hosted query param. Our GWT pages are all served via servlets from a context URL of / webconfig/*. We do not have a static HTML page. I tried to follow the same pattern by navigating in FF to localhost:/webconfig/default? gwt.hosted=localhost:9997 . Our application does seem to load and function normally, but although I had run the DevMode configuration from Eclipse's Debug menu, breakpoints don't work and I never see a connection from the OOPHM plugin noted in the logs. I even suspended the Code Server thread from within the DevMode JVM to see if it ever returned from the ServerSocket.accept() (it didn't). It seems as though the URL I'm using is bypassing the mechanism that invokes the OOPHM plugin. Another anomaly that I think might be related is that when creating or editing a Run/Debug Configuration, the GWT tab on the configuration dialog appears different when I select my GWT project (it's missing the Browser URL field and replaces the Compiler Shell section with a Development Mode section, see attached images for details). I idly wondered if it was related to our GWT bootstrap HTML pages being generated by servlets, so I mention it here. I found this: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... but I verified the gwt-servlet.jar was the same in the 2.0rc2 dir and my war/WEB-INF/lib dir . This looks like maybe the URL field is no longer valid: http://groups.google.com/group/google-web-toolkit/browse_thread/threa... But in any case, perhaps my servlet is handling things before it gets to yours? FWIW, I do have load-on-startup tags in my web.xml . Thanks for any help, Adam -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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.
gwt 2.0 rc2 - which junit? 3 or 4?
I was just looking at the improvements related to GwtTestCase in Gwt2.0 and I was wondering which JUnit framework should I use now? Is it ok to use JUnit4? or should I still use JUnit3? -- 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-tool...@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.
Tomcat security + GWT = misery
I have a GWT application that makes some server side web service calls to a Spring web service on the same machine (Ubuntu 9.04 and Tomcat 6). I've spent countless hours trying to get security to allow these calls to go through in my GWT application. Finally, after all of that, I now have gwt rpc serialization errors for types I am not even trying to serialize: SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.PropertyPermission' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. I had already added a similar class to my gwt.rpc file for a previous error. Why do I have to do this? At this point I I am tempted to just turn off tomcat security. All I want to do is have my GWT application be able to make a server side web service call, which works perfectly on my local Windows XP machine. -- 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-tool...@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.
Re: gwt 2.0 rc2 - which junit? 3 or 4?
I just tried running it in either JUnit4 or TestNG and that doesn't seem to be possible. Looks like for now you have to just start issue 1683: http://code.google.com/p/google-web-toolkit/issues/detail?id=1683 -- Arthur Kalmenson On Tue, Dec 1, 2009 at 3:14 PM, Marko Vuksanovic markovuksano...@gmail.com wrote: I was just looking at the improvements related to GwtTestCase in Gwt2.0 and I was wondering which JUnit framework should I use now? Is it ok to use JUnit4? or should I still use JUnit3? -- 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-tool...@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. -- 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-tool...@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.
Re: Debugging serialization problems in 1.5.3
I'm still trying to make progress. I've found the *.rpc.log files generated by the GWT compiler. Each of the classes I care about appears, and the one that are causing me problems: blah.blah.blih.GetUser Serialization Status: Instantiable while some parent classes are marked as serializable.The GetUser class, when sent from the client to the server raises an exception as not being IsSerializable and so not valid according to the LegacySerializationPolicy. I've checked; the various *.rpc files do exist on the server. How can I get these Serializable classes recognized by GWT? Eric -- 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-tool...@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.
Using sounds in GWT
I wanted to play in my site some .wav songs. When some one want to listen this song I get the bytes in DB e create some file .wav and use the GWT-Voice to play it, but I need to delete this file after it is load to the application and using .wav and GWT-Voice I can't know when this file is completely loaded. Can anyone help me? -- 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-tool...@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.
Re: GWT, Wave extensions API tutorials/resources
Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Hope this helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.html and you already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. 3. Your Wave project is Java project. You choose where it's hosted locally or in public (you can at code.google.com). For Java project, you still need java bild tool (ant or ivy) 4. Oo, sorry I did not understand (and recently began to study English =)) 5. Create an installer - # 3 java bild tool can be? if you mean Wave-robot-installer, then it is sort of resolved at link robot with the Wave. # 1 Deploy - http://code.google.com/appengine/docs/java/tools/eclipse.html In some issues I could be wrong. I look forward to account for wavesandbox, and do not have practice with the Wave. While we are working on server-side logic and server side configuration, Wave- client for us mocks. When there is access to the sandbox, then let us touch Wave. On Dec 1, 12:27 pm, Angel Marquez angel.marq...@gmail.com wrote: I guess to be more specific I'm looking for a tutorial that went from: 1. Setting up App Engine for a robot 2. Installing GWT using the eclipse plugin 3. Creating a Wave specific project under subversion 4. Incorporating a gadget that utilized gMap, twitter, mashup..webService that illustrated the state change mecha with a focus on healthy collaboration. 5. Create an installer, deploy. A scalable tutorial. For song writing or screen plays or something where you could create one piece and use it as a building block. I want a clean path from inception to completion. Am I asking for to much? On Mon, Nov 30, 2009 at 11:14 PM, Angel Marquez angel.marq...@gmail.comwrote: Awesome. I'll take a look. The capabilities.xml has me. Are gadgets going to be the iPhone equiv? Thank you. On Sun, Nov 29, 2009 at 9:51 AM, mass0ne ctg.m...@gmail.com wrote: Gadgetshttp://code.google.com/p/cobogwave/ Robots also like to javahttp://code.google.com/apis/wave/ On Nov 28, 11:27 pm, Angel Marquez angel.marq...@gmail.com wrote: Anyone know of any good resources for developing wave extensions with gwt? -a -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
GWT 2.0 books
Is anyone aware of new books coming out that discuss GWT 2.0? Thanks! -- 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-tool...@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.
Re: Tomcat security + GWT = misery
I also had some weird problem like this when I tried to deploy one of my project the first time on Mac OS 10.6 server. The solution was really simple... I had some libraries that I needed to put in the server lib folder. It was a pain in the ass to figure this out, but now it's working fine, I didn't have to turn off security and well.. I can simply copy/past my projects ! Hope it'll help you. Christian On Tue, Dec 1, 2009 at 3:57 PM, bradrover brk...@gmail.com wrote: I have a GWT application that makes some server side web service calls to a Spring web service on the same machine (Ubuntu 9.04 and Tomcat 6). I've spent countless hours trying to get security to allow these calls to go through in my GWT application. Finally, after all of that, I now have gwt rpc serialization errors for types I am not even trying to serialize: SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'java.util.PropertyPermission' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized. I had already added a similar class to my gwt.rpc file for a previous error. Why do I have to do this? At this point I I am tempted to just turn off tomcat security. All I want to do is have my GWT application be able to make a server side web service call, which works perfectly on my local Windows XP machine. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: GWT, Wave extensions API tutorials/resources
Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine Yes, I have read this section and am hesitant to progress. I just went through the GWT App Engine getting started areas and have convinced myself I understand how things relate to one another; but, I am unclear on how get my thoughts off the ground. I know what I want to do and am pretty sure I can fit myself into the structure...but, again I am cautious. 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.html and you already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. Gotcha. I have experimented with the plugins on a mac and pc and the one thing that I don't like is the need to have your App Engine name available. I for see this being a pain. I stop when something doesn't seem right. 3. Your Wave project is Java project. You choose where it's hosted locally or in public (you can at code.google.com). For Java project, you still need java bild tool (ant or ivy) I thought the eclipse plugin handled the build auto pilot style. I'm sure it is just running ant, rake, whatever behind the scenes; but, once you run in dev mode I think the build.xml is just read in command line format. 4. Oo, sorry I did not understand (and recently began to study English =)) I'm sure it was my poor english not yours. Maybe I could clarify, not sure what didn't make sense. 5. Create an installer - # 3 java bild tool can be? if you mean Wave-robot-installer, then it is sort of resolved at link robot with the Wave. # 1 Deploy - http://code.google.com/appengine/docs/java/tools/eclipse.html Yep, I have gone through this section. Good stuff. I should do it again. In some issues I could be wrong. I look forward to account for wavesandbox, and do not have practice with the Wave. Me too. I think I am putting the want out into the ethers of the wire in hopes of receiving an email from the GWT group with a synthesized tutorial section that encompasses all three technologies (GWT, App Enging, Wave, even project hosting). I'm a dreamer. While we are working on server-side logic and server side configuration, Wave- client for us mocks. When there is access to the sandbox, then let us touch Wave. Sounds good let me know when we have sandbox access : ) I've tried... Thank you for your help. On Dec 1, 12:27 pm, Angel Marquez angel.marq...@gmail.com wrote: I guess to be more specific I'm looking for a tutorial that went from: 1. Setting up App Engine for a robot 2. Installing GWT using the eclipse plugin 3. Creating a Wave specific project under subversion 4. Incorporating a gadget that utilized gMap, twitter, mashup..webService that illustrated the state change mecha with a focus on healthy collaboration. 5. Create an installer, deploy. A scalable tutorial. For song writing or screen plays or something where you could create one piece and use it as a building block. I want a clean path from inception to completion. Am I asking for to much? On Mon, Nov 30, 2009 at 11:14 PM, Angel Marquez angel.marq...@gmail.com wrote: Awesome. I'll take a look. The capabilities.xml has me. Are gadgets going to be the iPhone equiv? Thank you. On Sun, Nov 29, 2009 at 9:51 AM, mass0ne ctg.m...@gmail.com wrote: Gadgetshttp://code.google.com/p/cobogwave/ Robots also like to javahttp://code.google.com/apis/wave/ On Nov 28, 11:27 pm, Angel Marquez angel.marq...@gmail.com wrote: Anyone know of any good resources for developing wave extensions with gwt? -a -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com
Re: Update to big application with GWT client (Project Kaiser)
That's looking really nice. Well done. Are you wrapping any third-party javascript libraries? Is your results table with resizeable columns made completely with GWT or are you using a third-party library? Same question for the rich text editor. I'd also be interested to know how you implemented your security. What framework did you use? Regards, Jeff On Dec 2, 8:21 am, Maxim maxim...@gmail.com wrote: Hi, I'd love to introduce update to big application which uses GWT as a client, we are developing together with GWT from the beginning, so here are some results of few years, think it will be interested. -Project Management (unlimited projects hierarchy) -Issue tracking -Forums You can take a look at it herehttp://www.projectkaiser.com:8080/pk Regards, Maxim -- 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-tool...@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.
Re: Update to big application with GWT client (Project Kaiser)
That's looking really nice. Well done. Are you wrapping any third-party javascript libraries? Is your results table with resizeable columns made completely with GWT or are you using a third-party library? Same question for the rich text editor. I'd also be interested to know how you implemented your security. What framework did you use? Regards, Jeff On Dec 2, 8:21 am, Maxim maxim...@gmail.com wrote: Hi, I'd love to introduce update to big application which uses GWT as a client, we are developing together with GWT from the beginning, so here are some results of few years, think it will be interested. -Project Management (unlimited projects hierarchy) -Issue tracking -Forums You can take a look at it herehttp://www.projectkaiser.com:8080/pk Regards, Maxim -- 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-tool...@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.
Re: GWT 1.7 + Datasource
I am also very interested in this capability. After spending this entire day researching the question and then attempting various combinations of code in web-jetty.xml configuration files I am not convinced it is possible yet. I have succeeded in deploying gwt code built using the instantiations plug-in to a glassfish server and accessing a mysql database. However, I would like to have the analogous capabilitiy on my development platform -- hence the need for the gwt hosted mode server (jetty) to be able to access datasources. The current version of jetty distributed with the latest gwt (1.7.1) hosted mode is jetty 6.1.11. This version of jetty apparently did not incorporate jdbc support. Rather, jdbc capability was distributed separately in another package (jetty.plus...?) for 6.1.11. It appears that jetty 7.0 (which has migrated over to the eclipse foundation for future development) does incorporate a jdbc capability as part of its core distribution. But this version of jetty is not available (yet) as part of gwt. So it looks like we wait for gwt to upgrade to jetty 7.0. If someone has another idea for how to get the gwt hosted mode server to recognize and connect to datasources (specifically mysql), I'm all ears. On Oct 17, 4:49 pm, rernst rerns...@gmail.com wrote: I am trying to implement a Datasource with the hosted mode server. This has turned out to be very confusing. The otherwise excellent book 'GWT in Practice' make reference to a Tomcat lite directory structure which I am unable to find. Other references in this group seem to point at Jetty but I can't really find a jetty launcher script. I should note that I am using the Instantiations Eclipse plugin but I doubt that this plays into the runtime configuration. I am looking for a context.xml file but cannot lcate anything besides the basic web.xml. I can make JDBC calls (JavaDB) via embedded and network driver just fine but establishing a connection every time seems the wrong way to go (am I mistaken). Instead I wanted to use connection pooling with a Datasource as I would in a production environment. Looking at some of the posts I am not the only one with this desire but can't seem to find an answer that appears fitting. Note that I am familiar on how to configure a Datasource in Tomcat but the embedded server seems to work in mysterious ways ;-). Any pointers on how to get this accomplished appreciated. -- 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-tool...@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.
Re: Google Web Toolkit 2.0 RC2 Now Available
Hoping that the Firefox plugin update that just occurred for FF 3.5.5 here will resolve this. At least when it crashes it checks for updates smile. I'll keep you posted on my experience. You guys are great. Thanks! -- 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-tool...@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.
JavaDoc Annotation to Skip Method Compilation
I was wondering if there's a way (such as a javadoc annotation) to tell the GWT Compiler to ignore a method during compilation. The example I have is of a class that has a constructor that uses reflection to do something during creation. Since GWT can't support reflection, and the constructor is not the default constructor, nor is that constructor used by GWT, I'd like to simply have GWT ignore its existence. Any ideas? Thanks! Here's an example of the constructor I'd like to have GWT skip: public NumericId(String id) throws IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException{ this.id = (T)this.id.getClass().getDeclaredConstructor (String.class).newInstance(id); } -- 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-tool...@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.
Re: using 2 or more GWT modules in a single html page
I don't want to put all the GWT modules in a single .nocach.js.. A single module doesn't mean a huge .nocache.js. GWT 2.0 introduces developer guided code splitting. Using this approach, it is still one single monolithic compile, but the output is multiple js files that get downloaded on demand. It takes a bit to configure your app properly, but is worth it. Search with the key words GWT.runAsync(), Story of Your Compile or Developer guided code splitting if you want to learn more about it. ..every time I add or remove a module, whole GWT code will be needed to recompiled Thats true. As far as I know, there is no way around this. But its better that you (=developer) spend 4-5 minutes at compile time rather than forcing your user to wait an extra few seconds at run time. Thirdly, it will load lots of redundant (GWT) modules which will slow down my app if more modules in future I am afraid that is exactly what you are doing when you put two modules on the same page. Say you put two modules - alpha/alpha.nocache.js and beta/beta.nocache.js on the same page. Both these modules would use some common classes from the JRE library. This common code will end up in alpha.nocache.js as well as beta.nocache.js. There is no way to prevent downloading the common code twice. Doesn't stop there. GWT puts resources under the appropriate module folder. So, standard.css would get downloaded twice - one for each module, even though the standard.css is exactly the same. --Sri 2009/12/1 Prashant antsh...@gmail.com Actually, my app manages data/content in form of modules and each module has its own GWT module to help it add/update data. A module may or may not load depending on request, so, corresponding GWT module may or may not load. I don't want to put all the GWT modules in a single .nocach.js because I am not managing whole DOM instead just a piece of it and I cannot stick with single .html. Secondly, It will break the modularity of code, every time I add or remove a module, whole GWT code will be needed to recompiled. Thirdly, it will load lots of redundant (GWT) modules which will slow down my app if more modules in future. I hope, I made myself clear. I little bit modified my code, making it less history dependent. And, I guess (didn't tested), it works fine if I use (import) *History* with only one module (tell me if I am wrong). So, I can use history with my main module and keep other small/helper modules away from it. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: JavaDoc Annotation to Skip Method Compilation
Join the club on this wish list item. I'm not sure why so much energy was put into 2.0 without including such a feature that would make integrating client code with server code so much easier -- rather than having to build glue code around each side of the RPC. -- 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-tool...@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.
Re: JavaDoc Annotation to Skip Method Compilation
On Wed, Dec 2, 2009 at 04:10, Yozons Support on Gmail yoz...@gmail.com wrote: Join the club on this wish list item. I'm not sure why so much energy was put into 2.0 without including such a feature that would make integrating client code with server code so much easier -- rather than having to build glue code around each side of the RPC. Notting stopping you from implementing it if it's so valueble for you. -- 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-tool...@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.
Re: JavaDoc Annotation to Skip Method Compilation
How? We'd love to do it, but I suspect it's non-trivial, and if it is, then I'm sure others would like the ability since it would allow you to pass a server object into a client object to set some state without needing the method itself be part of the javascript generation. -- 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-tool...@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.
Invitation to connect on LinkedIn
LinkedIn Harry Holt requested to add you as a connection on LinkedIn: -- anoop, I'd like to add you to my professional network on LinkedIn. - Harry Accept invitation from Harry Holt http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1628110107_2/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cBYTc34Mcj4UczoNiiZ8sCJUjR9GoiYQc3ASc30Nc3ALrCBxbOYWrSlI/EML_comm_afe/ View invitation from Harry Holt http://www.linkedin.com/e/0KTeTtbYtbm5JbSbinTxnAy06bq_5bwL3KeK8pLeUQ4N5xBBedsR/blk/I1628110107_2/39vdP0Nc34Ne38SckALqnpPbOYWrSlI/svi/ -- DID YOU KNOW you can be the first to know when a trusted member of your network changes jobs? With Network Updates on your LinkedIn home page, you'll be notified as members of your network change their current position. Be the first to know and reach out! http://www.linkedin.com/ -- (c) 2009, LinkedIn Corporation -- 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-tool...@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.
Re: Google Web Toolkit 2.0 RC2 Now Available
Quick update: the new FF plugin seems to be working great. I've not used it enough to be sure, but it has not crashed since updating it. I have seen it run a bit slow after code changes and a reload, but it does resolve and continue to run perfectly. Being able to debug/test in FF with Firebug is a real gift and makes the 1.7 to 2.0 transition worth it by itself. Thank you much. This is really terrific -- 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-tool...@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.
Re: Update to big application with GWT client (Project Kaiser)
We use third-party software a little, in particular resizeable columns, rich text and security - all are our own development ( on the base of standard GWT widgets of course ). Third-party javascript is used e.g. for syntax highlighting purposes. Security is implemented as follows. Special RPC with user/password as parameters returns session identifier, this identifier is used in all subsequent calls. In other words software is mainly handmade. -- 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-tool...@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.
Re: GWT, Wave extensions API tutorials/resources
Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached(was attached, bounced, to large...). I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 10:06 PM, Angel Marquez angel.marq...@gmail.comwrote: Okay; so, I deployed the robot as described here: http://code.google.com/apis/wave/extensions/robots/java-tutorial.html http://code.google.com/apis/wave/extensions/robots/java-tutorial.htmlThis is my evidence: http://marquezwave.appspot.com/_wave/capabilities.xml http://marquezwave.appspot.com/_wave/capabilities.xmlNow, when I am I follow the instructions and add my best friend (simon marquezw...@appspot.com) to my contacts and then to my wave. nothing happens. Any ideas? Source attached. I figure I am pretty sure the screen shot of the capabilities.xml is not in sync with the example that proceeds it and if I wanted to use the screen example I would have to write the equivalent code in the servlet class. Anyhow now I tried deploying a second time and am getting an internal error and I didn't change anything. Ugh... On Tue, Dec 1, 2009 at 2:07 PM, Angel Marquez angel.marq...@gmail.comwrote: Awesome. I think your english is better than any language, computer or human, I attempt to learn will ever be. I think I knew I had to pull everything from different places and wanted it all at one place as the thought came to me. Use the Google plugin for Eclipse: http://code.google.com/eclipse/docs/creating_new_webapp.html case (you use == robot + gadgets): use GWT + GAE case (you use == only robot): use GAE case (you use == only gadgets): use GWT + GAE ps: taking into account the fact that gadgets hosted on App Engine Done this on 1.7 and 2.0. I get it, I think. Hope this helps. Even if it doesn't I appreciate your time. So, yes, it always helps. 0. gwt + iphone if you are looking specifically for iphone http://code.google.com/p/gwt-mobile-webkit/ This, at first glance, looks extremely helpful. 1. WaveRobot (under the hood AppEngine) - set up a simple and little http://code.google.com/apis/wave/extensions/robots/java-tutorial.html This document redirects to all the necessary information to configure the robot for AppEngine Yes, I have read this section and am hesitant to progress. I just went through the GWT App Engine getting started areas and have convinced myself I understand how things relate to one another; but, I am unclear on how get my thoughts off the ground. I know what I want to do and am pretty sure I can fit myself into the structure...but, again I am cautious. 2. not need to install GWT, install the plugin http://code.google.com/eclipse/docs/download.html and you already get the GWT and Appengine When creating a project just check what you need GWT, GAE or both. Gotcha. I have experimented with the plugins on a mac and pc and the one thing that I don't like is the need to have your App Engine name available. I for see this being a pain. I stop when something doesn't seem right. 3. Your Wave project is Java project. You choose where it's hosted locally or in public (you can at code.google.com). For Java project, you still need java bild tool (ant or ivy) I thought the eclipse plugin handled the build auto pilot style. I'm sure it is just running ant, rake, whatever behind the scenes; but, once you run in dev mode I think the build.xml is just read in command line format. 4. Oo, sorry I did not understand (and recently began to study English =)) I'm sure it was my poor english not yours. Maybe I could clarify, not sure what didn't make sense. 5. Create an installer - # 3 java bild tool can be? if you mean Wave-robot-installer, then it is sort of resolved at link robot with the Wave. # 1 Deploy - http://code.google.com/appengine/docs/java/tools/eclipse.html Yep, I have gone through this section. Good stuff. I should do it again. In some issues I could be wrong. I look forward to account for wavesandbox, and do not have practice with the Wave. Me too. I think I am putting the want out into the ethers of the wire in hopes of receiving an email from the GWT group with a synthesized tutorial section that encompasses all three technologies (GWT, App Enging, Wave, even
Re: How to force div widgets to be on the same row? (not use table)
haha, that is an interesting saying But don't you guys feel that GWT apps are very slow in loading? I suspect it is because there are tons of unnecessary tables... On Dec 1, 8:10 am, Jeff Chimene jchim...@gmail.com wrote: You can try playing with something like div div style=float: leftstuff/div div style=float: leftmore stuff/div /div I've done some fairly complex layouts w/o tables. If you search for layout omit tables kind of query you should find several examples from those who shun tables as layout canvas. I think alistapart would be a good starting point. Nevertheless, shunning tables yet still using GWT is like running down an up escalator. Just saying. On Mon, Nov 30, 2009 at 5:03 PM, Qiushuang Zhang autumnc...@gmail.comwrote: hi experts, As you know, a lot of widgets in GWT are implemented by div, such as buttons. So, if I try to put some of these widgets together, each of them will automatically get into the second row by the nature of div. I don't want to use horizontal panel (basically a table) to force them into the same row, because I want to minimize the usage of table to keep the rendering speed. So I am currently using css: display: inline-block. But it does not work for all browsers. So, I am wondering what are you guys using to put these divs into the same row? Thanks! Autumn -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@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-tool...@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.
Re: JavaDoc Annotation to Skip Method Compilation
A few people have already done some work on this. See this thread - http://groups.google.com/group/google-web-toolkit/browse_thread/thread/059b179bfbc9b718/32e690f42d8d5d66?#32e690f42d8d5d66 You may also want to star the issue http://code.google.com/p/google-web-toolkit/issues/detail?id=3769. Helps the google folks to know how many people want the issue resolved. --Sri 2009/12/2 Yozons Support on Gmail yoz...@gmail.com How? We'd love to do it, but I suspect it's non-trivial, and if it is, then I'm sure others would like the ability since it would allow you to pass a server object into a client object to set some state without needing the method itself be part of the javascript generation. -- 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@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-tool...@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.
Re: [gwt-contrib] GWT RC2 - Events are being hid by Layout layers in UIBinder
Thanks Joel. My current workaround is to use the old Horizontal/VerticalPanel widgets, so no harm, no foul. Looking forward to more examples! Stuart On Mon, Nov 30, 2009 at 12:20 PM, Joel Webber j...@google.com wrote: Stuart, Hiding/showing layers is slightly tricky (or at least non-obvious). I'm still working on examples in the documentation that should make it a lot clearer. In a nutshell, you need to actually show/hide the layer elements themselves. You can get the layer's element (referred to as a widget's container element) using *LayoutPanel.getWidgetContainerElement(Widget). Showing/hiding this element rather than the widget itself should get rid of any event problems. I'll make a point to add an example of this to the documentation. I didn't want to require the existence of the elements, but it proved impossible to support arbitrary CSS any other way (the existence of these elements makes it possible to efficiently account for margins, borders, and padding on the child widgets' elements). Cheers, joel. On Thu, Nov 26, 2009 at 2:33 AM, Stuart Moffatt stuartmoff...@gmail.comwrote: Env: GWTRC2 Safari Mac OS X. UI binding: {{{ g:LayoutPanel ui:field=layoutPanel g:layer myclient:MyEditor ui:field='myEditor'/ /g:layer g:layer myclient:MyLister ui:field='myLister'/ /g:layer /g:LayoutPanel }}} These two custom widgets sit right on top of each other visually. The reason is I want them to replace each other. Since MyLister is added last, I can trigger events from it. When I fire a certain event from MyLister, MyLister hides via setVisible(false) and MyEditor displays via setVisible(true) However, because MyEditor is a layer below MyLister, all events are hidden. E.g. onClick in widget in MyEditor does not fire. Is there any way (declaratively or programmatically) to swap the positions of the layers so that the visible layer is on top and can respond to events? sfm -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Revisiting the script-via-iframe default linkage
On Mon, Nov 30, 2009 at 10:28 PM, Matt Mastracci matt...@mastracci.com wrote: 2. onerror works some of the time in some of the browsers. It fails on various combinations of resolve errors, error status codes and other failure conditions. For all browsers (except Opera) that don't support it directly, It can be emulated with onreadystatechange/onload and lack of a JSONP callback. Can you expand on that? IE has script-tag callbacks that should be usable to detect download errors. What did you get working on other browsers? If there's a way to detect download failures on Firefox and on Webkit-based browser, then JSONP downloads are better than I thought. Lex -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Revisiting the script-via-iframe default linkage
Ray/Lex, I'm starting to think that the dynamic iframe might not be a bad first approach to this problem either. A single linker would be able to provide cross-domain-capable, multi-module-safe code that doesn't require any additional post-processing to support loading of fragments. It also runs in the global scope, saving the extra few ms per global access (http://blog.j15r.com/2009/08/where-should-i-define-javascript.html ). The method used to load the first and additional fragments could become a linker property. For our cross-domain loads, I'd like to have a strategy that tries to use cross-domain XMLHttpRequest first, assuming appropriate Access-Control-* headers on the other end, then falls back to script tags if this isn't available. The default could be something simple like script tags, or even standard XMLHttpRequest, assuming the auxiliary scripts are stored on the same domain. It still has the disadvantage of being slightly more magical, requiring tricks to work around IE's window event security, but the advantages are pretty substantial. It should be possible to write this linker as a drop-in replacement for today's XSLinker and IFrameLinkers without touching any code outside of com.google.gwt.core.linker. Matt. On 30-Nov-09, at 5:09 PM, Ray Cromwell wrote: Lex, JSONP loading + dynamic iframe seems like a straightforward viable option that doesn't require a lot of complicated compiler work, what do you think of providing this as an option? -Ray On Mon, Nov 30, 2009 at 12:29 PM, Lex Spoon sp...@google.com wrote: (Reposting to get it on the mailing list; first try bounced.) Hey, Matt, I agree with your analysis about the code-splitting issues. I've worked out a preliminary patch to do var renaming, but I haven't shared it yet because it's in a pretty early state. I could share it if you or someone is eager enough to see it that you're willing to hack some code to get to use it. To really get it polished up into a committable state, the main issue will be figuring out when to enable the rewrites.Whether to enable it or not depends on the choice of linker. For the off-domain loading, I was thinking to look into a JSONP-like downloader. That, too, is something that should only optionally be enabled, because it has worse download failure reporting. Thus, again the hardest part will be figuring out when to enable it. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Revisiting the script-via-iframe default linkage
Thanks for the test code and data, Matt! It sounds like enough browsers are covered that error reporting is no longer a major decider between XHR vs. script tags. Regarding iframes, be aware that some GWT users can't use them. I don't know all the reasons why, but one example reason is that iframes don't work reasonably on iPhones. So, we need to support non-iframe linkers for at least some use cases. Lex -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Removes the use of FinallyCommand in StackLayoutPanel.
LGTM http://gwt-code-reviews.appspot.com/115804 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] get RPC policy name from Java code
Reviewers: robertvawter_google.com, Description: Some GWT users want to build GWT RPC requests themselves, e.g. via building a raw HTML form. To do this, they need to supply the RPC policy name as part of the request, just like GWT RPC normally does. How shall they get the policy name? This patch exports the information via ServiceDefTarget. To get the policy name then looks similar to the way a the URL is set for where the RPC server lives: String policyName = ((ServiceDefTarget) GWT.create(MyRpcService.class)).getSerializationPolicyName(); Please review this at http://gwt-code-reviews.appspot.com/115805 Affected files: user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java user/src/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java Index: user/src/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java === --- user/src/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java (revision 7217) +++ user/src/com/google/gwt/user/client/rpc/impl/RemoteServiceProxy.java (working copy) @@ -212,6 +212,10 @@ clientSerializationStreamWriter.prepareToWrite(); return clientSerializationStreamWriter; } + + public String getSerializationPolicyName() { +return serializationPolicyName; + } /** * @see ServiceDefTarget#getServiceEntryPoint() Index: user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java === --- user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java (revision 7217) +++ user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java (working copy) @@ -34,6 +34,12 @@ super(Service implementation URL not specified); } } + + /** + * Return the strong name of the serialization policy to be used with this RPC + * instance. + */ + String getSerializationPolicyName(); /** * Gets the URL of a service implementation. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] Revisiting the script-via-iframe default linkage
To be clear, I don't know of any cases where people *can't* use iframes. There are some cases where teams have chosen to use script tags for an assumed performance benefit, but I don't know of anyone ever having measured it. Most of the time people use script tags for cross-site or late-loading behavior. If we could make iframes work for these cases, and show that there's no performance benefit to script tags, it may be less of an issue. The iPhone only has problems rendering iframes (it essentially drops their content into the outer page as though it were inline), but that's about it. On Tue, Dec 1, 2009 at 11:44 AM, Lex Spoon sp...@google.com wrote: Thanks for the test code and data, Matt! It sounds like enough browsers are covered that error reporting is no longer a major decider between XHR vs. script tags. Regarding iframes, be aware that some GWT users can't use them. I don't know all the reasons why, but one example reason is that iframes don't work reasonably on iPhones. So, we need to support non-iframe linkers for at least some use cases. Lex -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7218 committed - Cherry picking trunk c7178, c7185 into 2009.11.20 snapshot....
Revision: 7218 Author: sco...@google.com Date: Tue Dec 1 09:29:17 2009 Log: Cherry picking trunk c7178, c7185 into 2009.11.20 snapshot. - Fixes CustomButton's ability to have a text body - UiBinder AttributeParsers can now distinguish from null http://code.google.com/p/google-web-toolkit/source/detail?r=7218 Modified: /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/attributeparsers/StrictAttributeParser.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/BeanParser.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/CustomButtonParser.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/DisclosurePanelParser.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/LayoutPanelParser.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/rebind/XMLElement.java /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/rebind/messages/MessagesWriter.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/attributeparsers/IntAttributeParserTest.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/attributeparsers/LengthAttributeParserTest.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/attributeparsers/StringAttributeParserTest.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/rebind/XMLElementTest.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/test/client/UiBinderTest.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/test/client/WidgetBasedUi.java /branches/snapshot-2009.11.20-r7061/user/test/com/google/gwt/uibinder/test/client/WidgetBasedUi.ui.xml === --- /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/attributeparsers/StrictAttributeParser.java Wed Nov 11 22:08:47 2009 +++ /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/attributeparsers/StrictAttributeParser.java Tue Dec 1 09:29:17 2009 @@ -82,11 +82,13 @@ * UnableToCompleteException is thrown. */ public String parse(String value) throws UnableToCompleteException { - +if (.equals(value.trim())) { + logger.die(Cannot use empty value as type %s, type.getSimpleSourceName()); +} try { return converter.convert(value, new FieldReferenceDelegate(type)); } catch (IllegalFieldReferenceException e) { - logger.die(Cannot parse value: \%s\, value); + logger.die(Cannot parse value: \%s\ as type %s, value, type.getSimpleSourceName()); return null; // Unreachable } } === --- /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/BeanParser.java Mon Nov 16 10:04:26 2009 +++ /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/BeanParser.java Tue Dec 1 09:29:17 2009 @@ -135,8 +135,8 @@ writer.die(In %s, class %s has no appropriate set%s() method, elem, elem.getLocalName(), initialCap(propertyName)); } - -String value = elem.consumeAttributeWithDefault(attribute.getName(), +String n = attribute.getName(); +String value = elem.consumeAttributeWithDefault(n, null, getParamTypes(setter)); if (value == null) { === --- /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/CustomButtonParser.java Wed Nov 11 22:08:47 2009 +++ /branches/snapshot-2009.11.20-r7061/user/src/com/google/gwt/uibinder/elementparsers/CustomButtonParser.java Tue Dec 1 09:29:17 2009 @@ -1,12 +1,12 @@ /* * Copyright 2007 Google Inc. - * + * * Licensed under the Apache License, Version 2.0 (the License); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an AS IS BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the @@ -19,6 +19,7 @@ import com.google.gwt.core.ext.typeinfo.JClassType; import com.google.gwt.uibinder.rebind.UiBinderWriter; import com.google.gwt.uibinder.rebind.XMLElement; +import com.google.gwt.uibinder.rebind.XMLElement.Interpreter; import com.google.gwt.user.client.ui.Image; import java.util.HashSet; @@ -41,39 +42,49 @@ faceNames.add(downDisabledFace); } - public void parse(XMLElement elem, String fieldName, JClassType type, - UiBinderWriter writer) throws UnableToCompleteException { - -// Parse children.
[gwt-contrib] Re: get RPC policy name from Java code
Access to the strong name isn't available anywhere else. LGTM, but add a test to RemoteServiceServletTest to at least assert that the return value is non-null. http://gwt-code-reviews.appspot.com/115805 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Flow analysis framework definition and solver.
LGTM. Aside from documentation and naming, there is one question about which nodes are re-added to the worklist in the solver. Can you post a large enough set of code to include an actual analysis and optimization? I don't think we should commit any of this code until there it is causing at least some improvement, however small. http://gwt-code-reviews.appspot.com/112811/diff/1/3 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/AnalysisSolver.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/3#newcode28 Line 28: public interface AnalysisSolverN, E, T, G extends GraphN, E, T, G { Why the interface? Unlike the other interfaces in this package, I don't see why a second implementation would ever coexist in the same code base. http://gwt-code-reviews.appspot.com/112811/diff/1/4 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/AnalysisSolverImpl.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode30 Line 30: * backwards working. Both of directions will always produce a fixed point, Since forward only influences the initial visit order of the nodes in the CFG, I don't think it's worth calling out in the class comment. Talk about it in the constructor, and say that what it does is affect the initial visit order. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode94 Line 94: MapE, A solution = iterate(newSubgraph, subgraphSolution? I find this method tricky, so careful names would help. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode112 Line 112: return result; No need to make a temp and return it. Just return it. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode127 Line 127: * Solve analysis Solve a non-integrated analysis. (Or, come up with a better name than non-integrated?) http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode142 Line 142: worklist.add(nodes.get(i)); I see a lot of random access on lists in this function. Making them ArrayLists instead of Lists would prevent accidental bad performance if anyone tries to substitute something else. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode167 Line 167: throw new IllegalArgumentException(); Be consistent with this exception message and the previous one? http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode181 Line 181: addSuccessors(g, worklist, node); Doesn't this add more nodes than necessary to the work list? If only one output edge changes, then only that node's target edge needs to be visited again. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode185 Line 185: for (int i = 0; i inEdges.size(); i++) { Analogous questions here as for the previous loop. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode205 Line 205: * Solve integrated analysis. Solve an integrated analysis by using an IntegratedFlowFunctionAdapter and recursing into {...@link #solve()} http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode327 Line 327: private A extends AssumptionA MapE, A iterate(G g, This method deserves a method comment. http://gwt-code-reviews.appspot.com/112811/diff/1/5 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/Assumption.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/5#newcode30 Line 30: Self meet(Self value); The least upper bound is a *join*, not a meet. http://gwt-code-reviews.appspot.com/112811/diff/1/7 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/FlowFunction.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/7#newcode24 Line 24: * not clear yet. To clear up this paragraph, keep the first sentence, and then say the rest as: Typical flow functions update either outgoing assumptions (forward flow) or incoming assumptions (backward flow) but not both. http://gwt-code-reviews.appspot.com/112811/diff/1/10 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/IntegratedFlowFunction.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/10#newcode22 Line 22: * node transformation based on already computed assumptions. Do I undestand correctly that in typical cases, the replacement graph would be a single node, e.g. a nop node or a node that has fewer connecting edges? I started to say there are caching issue to consider here, but if the typical replacements are a single node then it doesn't matter. http://gwt-code-reviews.appspot.com/112811/diff/1/11 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/NodeAssumptions.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/11#newcode24 Line 24: * node, which allows us to use this class to represnt graph assumptions. represent. Although, given the second sentence, isn't this more accurately described as the assumptions about a *subgraph* ? The subgraph is often exactly one node, but it doesn't have to be. http://gwt-code-reviews.appspot.com/112811/diff/1/11#newcode26 Line 26: * @param A Please add a doc string. http://gwt-code-reviews.appspot.com/112811/diff/1/13 File
[gwt-contrib] GPE 2.0-RC2 and GWTShell
Hey all, I installed the GPE 2.0-RC2 build (after cleaning out the old one) and I'm running into some issues. The plugin thinks that we're using the old-style layout, so it's attempting to launch GWTShell which won't initialize a local Jetty w/war.xml. I've worked around it by creating a local copy of GWTShell that delegates to DevMode, but I'd like to figure out why it's using the wrong launch target. What is the heuristic for determining whether a project uses the war layout vs. the GWTShell layout? Thanks, Matt. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GPE 2.0-RC2 and GWTShell
@Miguel: I've hit this before when upgrading projects, and I keep forgetting what the trick was. I seem to recall the plugin was making the project layout determination at the time the GWT nature is added, but I'm not 100% certain. On Tue, Dec 1, 2009 at 3:55 PM, Matt Mastracci matt...@mastracci.comwrote: Hey all, I installed the GPE 2.0-RC2 build (after cleaning out the old one) and I'm running into some issues. The plugin thinks that we're using the old-style layout, so it's attempting to launch GWTShell which won't initialize a local Jetty w/war.xml. I've worked around it by creating a local copy of GWTShell that delegates to DevMode, but I'd like to figure out why it's using the wrong launch target. What is the heuristic for determining whether a project uses the war layout vs. the GWTShell layout? Thanks, Matt. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GPE 2.0-RC2 and GWTShell
Ahh - there's a webAppNature in .project that gets set when you enable GWT. I disabled GWT support, re-added it and now the .project has a com.google.gdt.eclipse.core.webAppNature. This seems to be the trigger for enabling DevMode vs. GWTShell. Thanks, Matt. On 1-Dec-09, at 1:57 PM, Joel Webber wrote: @Miguel: I've hit this before when upgrading projects, and I keep forgetting what the trick was. I seem to recall the plugin was making the project layout determination at the time the GWT nature is added, but I'm not 100% certain. On Tue, Dec 1, 2009 at 3:55 PM, Matt Mastracci matt...@mastracci.com wrote: Hey all, I installed the GPE 2.0-RC2 build (after cleaning out the old one) and I'm running into some issues. The plugin thinks that we're using the old-style layout, so it's attempting to launch GWTShell which won't initialize a local Jetty w/war.xml. I've worked around it by creating a local copy of GWTShell that delegates to DevMode, but I'd like to figure out why it's using the wrong launch target. What is the heuristic for determining whether a project uses the war layout vs. the GWTShell layout? Thanks, Matt. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GPE 2.0-RC2 and GWTShell
That is right, at the time that the project is GWT-enabled it checks for the existence of a war/WEB-INF/web.xml. If that exists it will think that it is dealing with a war-style project and then it will use the HostedMode if it is available or DevMode when launching the application. With that version of the plugin, if you have a war/WEB-INF/web.xml file in your project, then you can go to the project properties, and disable gwt for the project apply the changes, go back in and re-enable GWT.That should make it think that it is dealing with a war layout project and it won't use GWTShell. There are a few problems with this heuristic that we need to revisit post 1.2/2.0. On Tue, Dec 1, 2009 at 4:14 PM, Matt Mastracci matt...@mastracci.comwrote: Ahh - there's a webAppNature in .project that gets set when you enable GWT. I disabled GWT support, re-added it and now the .project has a com.google.gdt.eclipse.core.webAppNature. This seems to be the trigger for enabling DevMode vs. GWTShell. Thanks, Matt. On 1-Dec-09, at 1:57 PM, Joel Webber wrote: @Miguel: I've hit this before when upgrading projects, and I keep forgetting what the trick was. I seem to recall the plugin was making the project layout determination at the time the GWT nature is added, but I'm not 100% certain. On Tue, Dec 1, 2009 at 3:55 PM, Matt Mastracci matt...@mastracci.com wrote: Hey all, I installed the GPE 2.0-RC2 build (after cleaning out the old one) and I'm running into some issues. The plugin thinks that we're using the old-style layout, so it's attempting to launch GWTShell which won't initialize a local Jetty w/war.xml. I've worked around it by creating a local copy of GWTShell that delegates to DevMode, but I'd like to figure out why it's using the wrong launch target. What is the heuristic for determining whether a project uses the war layout vs. the GWTShell layout? Thanks, Matt. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] GPE 2.0-RC2 and GWTShell
One correction: When launching web apps, we use DevMode if the SDK supports it and HostedMode otherwise. 2009/12/1 Miguel Méndez mmen...@google.com That is right, at the time that the project is GWT-enabled it checks for the existence of a war/WEB-INF/web.xml. If that exists it will think that it is dealing with a war-style project and then it will use the HostedMode if it is available or DevMode when launching the application. With that version of the plugin, if you have a war/WEB-INF/web.xml file in your project, then you can go to the project properties, and disable gwt for the project apply the changes, go back in and re-enable GWT.That should make it think that it is dealing with a war layout project and it won't use GWTShell. There are a few problems with this heuristic that we need to revisit post 1.2/2.0. 2009/12/1 Joel Webber j...@google.com @Miguel: I've hit this before when upgrading projects, and I keep forgetting what the trick was. I seem to recall the plugin was making the project layout determination at the time the GWT nature is added, but I'm not 100% certain. On Tue, Dec 1, 2009 at 3:55 PM, Matt Mastracci matt...@mastracci.comwrote: Hey all, I installed the GPE 2.0-RC2 build (after cleaning out the old one) and I'm running into some issues. The plugin thinks that we're using the old-style layout, so it's attempting to launch GWTShell which won't initialize a local Jetty w/war.xml. I've worked around it by creating a local copy of GWTShell that delegates to DevMode, but I'd like to figure out why it's using the wrong launch target. What is the heuristic for determining whether a project uses the war layout vs. the GWTShell layout? Thanks, Matt. -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- Miguel -- Miguel -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] [google-web-toolkit] r7219 committed - Javadoc fixes....
Revision: 7219 Author: j...@google.com Date: Tue Dec 1 13:59:12 2009 Log: Javadoc fixes. Patch by: jat Review by: jgw (desk) http://code.google.com/p/google-web-toolkit/source/detail?r=7219 Modified: /trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java /trunk/user/src/com/google/gwt/i18n/client/LocaleInfo.java === --- /trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java Mon Nov 30 20:39:13 2009 +++ /trunk/user/src/com/google/gwt/i18n/client/DateTimeFormat.java Tue Dec 1 13:59:12 2009 @@ -112,6 +112,13 @@ * tdcodeTuesday/code/td * /tr * + * tr + * tdcodec/code/td + * tdstandalone day of week/td + * tdText/td + * tdcodeTuesday/code/td + * /tr + * * tr * tdcodea/code/td * tdam/pm marker/td === --- /trunk/user/src/com/google/gwt/i18n/client/LocaleInfo.java Mon Mar 2 23:51:53 2009 +++ /trunk/user/src/com/google/gwt/i18n/client/LocaleInfo.java Tue Dec 1 13:59:12 2009 @@ -115,7 +115,7 @@ } /** - * @return a NumberConstants interface for this locale. + * @return a DateTimeConstants instance for this locale. */ public final DateTimeConstants getDateTimeConstants() { ensureDateTimeConstants(); @@ -130,7 +130,7 @@ } /** - * @return a NumberConstants interface for this locale. + * @return a NumberConstants instance for this locale. */ public final NumberConstants getNumberConstants() { ensureNumberConstants(); -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Fwd: Flow analysis framework definition and solver.
Forwarding since I wasn't member of the group. -- Forwarded message -- From: mike.aizat...@gmail.com Date: Tue, Dec 1, 2009 at 1:52 PM Subject: Re: Flow analysis framework definition and solver. To: sp...@google.com, google-web-toolkit-contributors@googlegroups.com, cromwell...@google.com Reviewers: Lex, google-web-toolkit-contributors_googlegroups.com, cromwellian_google.com, Message: Lex, I can definitely publish some analyses for this framework. There's one issue, though: - Each CFG-based analysis is quite small and simple. They depend, however, on CFG building functionality (156K of code, 200K with tests). - Side-effects methods is non-integrated analysis, and you were concerned about it's runtime performance (I didn't see any serious performance degradation on huge project though). But it's really simple 32K analysis+call graph builder, which is also useful for other stuff. Like my recent same parameter value. I can create a separate CFG changelist + CFG-based analyses changelist. I just worry that I will have to maintain several changelist branches + main branch with all the code together. I would certainly prefer to land this code into SVN even before it's actually plugged into compiler. http://gwt-code-reviews.appspot.com/112811/diff/1/3 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/AnalysisSolver.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/3#newcode28 Line 28: public interface AnalysisSolverN, E, T, G extends GraphN, E, T, G { On 2009/12/01 20:36:45, Lex wrote: Why the interface? Unlike the other interfaces in this package, I don't see why a second implementation would ever coexist in the same code base. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/AnalysisSolverImpl.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode30 Line 30: * backwards working. Both of directions will always produce a fixed point, On 2009/12/01 20:36:45, Lex wrote: Since forward only influences the initial visit order of the nodes in the CFG, I don't think it's worth calling out in the class comment. Talk about it in the constructor, and say that what it does is affect the initial visit order. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode94 Line 94: MapE, A solution = iterate(newSubgraph, On 2009/12/01 20:36:45, Lex wrote: subgraphSolution? I find this method tricky, so careful names would help. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode112 Line 112: return result; On 2009/12/01 20:36:45, Lex wrote: No need to make a temp and return it. Just return it. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode127 Line 127: * Solve analysis On 2009/12/01 20:36:45, Lex wrote: Solve a non-integrated analysis. (Or, come up with a better name than non-integrated?) Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode142 Line 142: worklist.add(nodes.get(i)); On 2009/12/01 20:36:45, Lex wrote: I see a lot of random access on lists in this function. Making them ArrayLists instead of Lists would prevent accidental bad performance if anyone tries to substitute something else. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode167 Line 167: throw new IllegalArgumentException(); On 2009/12/01 20:36:45, Lex wrote: Be consistent with this exception message and the previous one? Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode181 Line 181: addSuccessors(g, worklist, node); On 2009/12/01 20:36:45, Lex wrote: Doesn't this add more nodes than necessary to the work list? If only one output edge changes, then only that node's target edge needs to be visited again. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode185 Line 185: for (int i = 0; i inEdges.size(); i++) { On 2009/12/01 20:36:45, Lex wrote: Analogous questions here as for the previous loop. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode205 Line 205: * Solve integrated analysis. On 2009/12/01 20:36:45, Lex wrote: Solve an integrated analysis by using an IntegratedFlowFunctionAdapter and recursing into {...@link #solve()} Done. http://gwt-code-reviews.appspot.com/112811/diff/1/4#newcode327 Line 327: private A extends AssumptionA MapE, A iterate(G g, On 2009/12/01 20:36:45, Lex wrote: This method deserves a method comment. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/5 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/Assumption.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/5#newcode30 Line 30: Self meet(Self value); On 2009/12/01 20:36:45, Lex wrote: The least upper bound is a *join*, not a meet. Done. http://gwt-code-reviews.appspot.com/112811/diff/1/7 File dev/core/src/com/google/gwt/dev/jjs/impl/flow/FlowFunction.java (right): http://gwt-code-reviews.appspot.com/112811/diff/1/7#newcode24 Line 24: * not clear
[gwt-contrib] Re: Flow analysis framework definition and solver.
On Tue, Dec 1, 2009 at 4:52 PM, mike.aizat...@gmail.com wrote: I can create a separate CFG changelist + CFG-based analyses changelist. I just worry that I will have to maintain several changelist branches + main branch with all the code together. I would certainly prefer to land this code into SVN even before it's actually plugged into compiler. Well, it would be sitting in svn and not being tested in any way except that it compiles. If you want to commit the pieces somewhere, why don't we make an svn branch? Shall I do that? We can then put in the patches as they are committed on the branch, and merge it to trunk once enough is in that it does something. For using this framework to walk the callgraph, I understand that the implementation is simple, but simple things often don't perform well. An easily O(n^3) graph traversal is okay if n is only the size of one method, but is problematic if we are talking about a whole program. Mostly, though, I'd simply like to divide the issue. Since the patch is already large, let's do the intra-proc part first. Lex -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: Flow analysis framework definition and solver.
Well, it would be sitting in svn and not being tested in any way except that it compiles. If you want to commit the pieces somewhere, why don't we make an svn branch? I don't think svn branch will help much. It will only add headaches. What do you say if I would merge all LGTM'ed changes together into single git branch on my workstation? This would at least help me reduce the number of branches to maintain to 3: dev branch, under review branch, LGTM'ed branch. I can also actively export that branch to github if you need. For using this framework to walk the callgraph, I understand that the implementation is simple, but simple things often don't perform well. An easily O(n^3) graph traversal is okay if n is only the size of one method, but is problematic if we are talking about a whole program. I don't see where you get O(n^3). Solver algorithm complexity is O(e * l) where e is number of edges, and l is lattice height. For a simple boolean lattice l = 2, so this should be quite efficient from algorithmic point of view. Mostly, though, I'd simply like to divide the issue. Since the patch is already large, let's do the intra-proc part first. Ok. I'll cut the CFG change. On Tue, Dec 1, 2009 at 2:20 PM, Lex Spoon sp...@google.com wrote: On Tue, Dec 1, 2009 at 4:52 PM, mike.aizat...@gmail.com wrote: I can create a separate CFG changelist + CFG-based analyses changelist. I just worry that I will have to maintain several changelist branches + main branch with all the code together. I would certainly prefer to land this code into SVN even before it's actually plugged into compiler. Well, it would be sitting in svn and not being tested in any way except that it compiles. If you want to commit the pieces somewhere, why don't we make an svn branch? Shall I do that? We can then put in the patches as they are committed on the branch, and merge it to trunk once enough is in that it does something. For using this framework to walk the callgraph, I understand that the implementation is simple, but simple things often don't perform well. An easily O(n^3) graph traversal is okay if n is only the size of one method, but is problematic if we are talking about a whole program. Mostly, though, I'd simply like to divide the issue. Since the patch is already large, let's do the intra-proc part first. Lex -- Regards, Mike -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Increase Java stack size for JUnit tests
Reviewers: jgw, Description: UiBinderTest requires 256k stack size. This patch increases the stack size to 512k. Please review this at http://gwt-code-reviews.appspot.com/115806 Affected files: common.ant.xml Index: common.ant.xml === --- common.ant.xml (revision 7218) +++ common.ant.xml (working copy) @@ -187,6 +187,7 @@ junit dir=@{test.out} fork=yes printsummary=yes failureproperty=junit.failure tempdir=@{test.out} jvmarg line=-Xmx768m / +jvmarg line=-Xss512k / jvmarg value=-demma.coverage.out.fi...@{test.emma.coverage}/coverage.emma / jvmarg value=-Demma.coverage.out.merge=true / sysproperty key=gwt.args value=@{test.args} / -- http://groups.google.com/group/Google-Web-Toolkit-Contributors