Re: [POLL] Maven project layout, what to standardize?

2012-11-16 Thread Thomas Broyer
On Fri, Nov 16, 2012 at 1:56 AM, Brian Slesinsky bslesin...@gmail.com wrote: It will be more convenient for Google if all Java code and Java resources (that is, things in the classpath) are contained in directories named either java or javatests, and the path from there is where the file should

Re: GWT 2.5 GA is Here!

2012-11-16 Thread Thomas Broyer
On Friday, November 16, 2012 12:42:11 AM UTC+1, Arash wrote: Yes I am using STS which comes with m2e, also I do have the following in my pom plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-eclipse-plugin/artifactId

Re: RPC jumped to a wrong project with same package name and method name

2012-11-16 Thread Thomas Broyer
First, check your classpath (in the launch configuration that is, not only the build path of the project) as well as the source tab in the launch configuration, to make sure it's not a mistake on your part. Then, it might be a bug in Eclipse, so I'd close the stg-* project when not working on

gwt-comet - CometException: EventSource error

2012-11-16 Thread Magnus
Hello, I would like to use gwt-comet: http://code.google.com/p/gwt-comet/ To get started, I tested the chat application provided with on the project site: http://code.google.com/p/gwt-comet/wiki/ChatExample I also got the example running: It works fine within eclipse and with GWT development

Re: How to tell if a servlet is running in hosted mode?

2012-11-16 Thread Jens
As the server has no idea in which mode the client runs, the client has to tell it the server. The default RpcRequestBuilder adds the header x-gwt-permutation to server requests to prevent CSRF attacks. It contains the permutation name in production mode and HostedMode when running DevMode. So

Re: RPC jumped to a wrong project with same package name and method name

2012-11-16 Thread Thomas Broyer
On Friday, November 16, 2012 11:04:41 AM UTC+1, tong123123 wrote: I think it is eclipse problem, I check the run configuration source, classpath and it point to central..., no problem, then I close the stg... project, and everything is correct now!! (centralLaunchArgument,

Re: GWT Maps api v3 Custom overlays

2012-11-16 Thread Giorgos Kritsotakis
I have been able to draw the label, still I can't get the positioning right. This is the code in case someone wants to do something similar: public class MapLabel { private Element div; private LatLng latLng; private SimplePanel textPanel; private String text; private

Re: [POLL RESULTS] Maven project layout, what to standardize?

2012-11-16 Thread Thomas Broyer
Poll results: option 3, aka src/main/resources + src/main/super. Bonus: it apparently works with the latest version of the GPE (wasn't the case before, where it –basically– only looked into src/main/java) On Tuesday, November 13, 2012 1:51:36 PM UTC+1, Thomas Broyer wrote: Hi all, As some

Re: Future of GWT survey

2012-11-16 Thread Martin Trummer
where can we see the results? On Wednesday, 19 September 2012 15:23:24 UTC+2, Joonas Lehtinen wrote: What is your opinion on the future of GWT? How should GWT develop? What technologies should it better support? ... We all would like to get answers to these questions, right? To do so, we

Re: EntityProxy for an interface

2012-11-16 Thread Ignacio Baca Moreno-Torres
Hi! I have the same problem and after solving the issue and reading this posts I have some opinions I will like to share. I think this is a conceptual problem. RequestFactory cant solve the parent hierarchy because of multiple inheritance of interfaces. If you have a class class A implements

Re: How to pass cookies and other request parameters through GWT

2012-11-16 Thread Kunal Sharma
I am not sure, if I understood your question. Anyways, I will try to explain. I am setting getting an employee's name and designation from a database call based on some validation (login panel user name/password). After getting the details, I am setting cookies in the client side. Now, in my

Re: Code reuse in GWT from common Java projects

2012-11-16 Thread joerg.hohwil...@googlemail.com
Hi Marius, in that case I also have a hint for you: I have retro-fitted my own OSS lib for GWT. The lib is here: https://github.com/m-m-m/mmm/tree/master/mmm-util/mmm-util-core I added another module/lib that contains the GWT related config and portation code:

Re: Urgent help with GWT dev mode performance required

2012-11-16 Thread joerg.hohwil...@googlemail.com
Hi Jens, thanks for your feedback. The memory leak is also what we discovered. You can see that with -verbose:gc, We are in the progress of migrating to x64 and adding lots of RAM. Your hints give some hope that this will help. So far we can only use 3,5 GB RAM what is too little. We already

Re: [POLL RESULTS] Maven project layout, what to standardize?

2012-11-16 Thread Daniel Kurka
Hi Thomas, I have been out on devoxx and haven`t had time to cast a vote yet. I think its a good idea to go with a separate package like src/main/super for super sourcing. Why are we thinking of moving resources out of src/main/java, what is the main advantage here? -Daniel On Friday,

Re: [POLL] Maven project layout, what to standardize?

2012-11-16 Thread Matthew Dempsky
On Thu, Nov 15, 2012 at 11:59 PM, Thomas Broyer t.bro...@gmail.com wrote: I fully understand that we'll have to make some concessions for GWT itself to make it easier for Google (even though Matthew actually told me the opposite); Well, our build system is turing complete, so theoretically

Re: GWT and Comet

2012-11-16 Thread dhoffer
I don't think your getting dozens of dependencies from atmosphere. If you have a maven build...atmosphere just has two GWT dependencies you need to specify, with all transitive dependencies its about 7-8 jars but you could exclude container specific jars if you wanted. Also you don't need to

Setting a default user.agent

2012-11-16 Thread Oren Hurvitz
Hi all, I need to make my GWT app work with Googlebot. It seems that it tries to load the app, but fails because its user agent is unrecognized. I would like to give it the 'safari' version of the app. Is it possible to set a default user.agent, which is used if the user agent is

IE script error in GWT 2.4.0

2012-11-16 Thread Paulo
Hi, I'm getting some problems to run GWT in IE. It works for all browsers except the IE. I have tried in IE 7 and IE 8 both got this error. Webpage error details Message: Object doesn't support this property or method Line: 357 Char: 464 Code: 0 URI:

Generated class only appearing in one permutation

2012-11-16 Thread Paul Donnelly
I wrote two different generators (using GWT 2.5) to simplify a couple processes and automate the writing of boilerplate code. It works just fine in dev mode. What I'm noticing when I compile my app for production though, is the generated classes are only used in one of the permutations. All

Re: byte array to Image

2012-11-16 Thread Mónica Janeth Blanco Díaz
Thank you Xi, this is a excellent solution, this helps me very much, God bless you. El viernes, 16 de septiembre de 2011 11:02:54 UTC-5, Xi escribió: Hi, I've used http://sourceforge.net/projects/migbase64/ in my application, to convert the byte array to a base64 string, which works

Re: [POLL RESULTS] Maven project layout, what to standardize?

2012-11-16 Thread Thomas Broyer
Le 16 nov. 2012 17:59, Daniel Kurka kurka.dan...@gmail.com a écrit : Hi Thomas, I have been out on devoxx and haven`t had time to cast a vote yet. I think its a good idea to go with a separate package like src/main/super for super sourcing. Why are we thinking of moving resources out of

Re: [POLL] Maven project layout, what to standardize?

2012-11-16 Thread Brian Slesinsky
Oops, my mistake! Carry on. On Friday, November 16, 2012 12:00:57 AM UTC-8, Thomas Broyer wrote: The scope of this poll is however not about GWT itself actually (we'll see if we can apply the outcome to GWT or not; I'd love to do it so that GWT can serve as a reference, but if it's

Re: GWT and Comet

2012-11-16 Thread Oliver Raupach
Hi, I've made up a starter project to demonstrate the combination of GWT / JMS / COMET / SPRING / JTA / Hibernate. If you like have a look at Githup : https://github.com/raupach/gwt-spring-jpa-jta-jms-comet-hibernate The Projekt did not use 'atmosphere'. It use the Javascript frontend

CellTable - How to temporarily bypass AsyncDataProvider?

2012-11-16 Thread Magnus
Hello, I have a small chat within my chess application. The chat messages are displayed within a CellTable, which has a Pager and an AsyncDataProvider. The data provider fetches the messages from the server and pushes them into the CellTable via the onRangeChange method. So far, so good. When

Re: GWT Cross Site Iframe Linker and Script Tags

2012-11-16 Thread googelybear
Thanks for the pointer to the ScriptInjector, didn't know that before. It's not that I don't want to update my libraries, but in my case the 3rd party library I am using to include flash content (gwt2swf) seems to be no longer maintained. So I guess I *have* to do it by myself using the

Re: MVP with multiple EntryPoints

2012-11-16 Thread Joseph R Lust
Cristian, We are running Spring, we we use Spring DI in the Spring container. Sincerely, Joseph ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~* Joseph R Lust (919) 355-8785 joseph.r.l...@gmail.com On Mon, Nov 12, 2012 at 11:48 AM, Cristian Rinaldi csrina...@gmail.comwrote: Joseph, thanks a

Re: IE script error in GWT 2.4.0

2012-11-16 Thread Jens
Is Chrome Frame installed in IE? -- J. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/aE3IA4c3BlMJ. To post to this group, send email to

[gwt-contrib] Re: Move non-GWTTestCase tests in RpcSuite to RpcSuiteNoBrowser, (issue1868803)

2012-11-16 Thread Thomas Broyer
Should we rename the *JreSuite in e.g. RequestFactory to *SuiteNoBrowser too? I kind of like this naming scheme, easier to deal with than *Suite vs. *JreSuite. On Thursday, November 15, 2012 10:42:48 PM UTC+1, Brian Slesinsky wrote: Reviewers: mdempsky, Description: Move non-GWTTestCase

[gwt-contrib] Re: KineticGWT

2012-11-16 Thread Thomas Broyer
Are you still using GWT 1.7.1? http://stackoverflow.com/questions/13357567/kineticgwt-the-import-com-google-gwt-canvas-cannot-be-resolved Also, this group is for discussion around contributions to the GWT codebase; for support regarding the use of GWT, please use

[gwt-contrib] Re: Move non-GWTTestCase tests in RpcSuite to RpcSuiteNoBrowser, (issue1868803)

2012-11-16 Thread Brian Slesinsky
On Fri, Nov 16, 2012 at 12:20 AM, Thomas Broyer t.bro...@gmail.com wrote: Should we rename the *JreSuite in e.g. RequestFactory to *SuiteNoBrowser too? I kind of like this naming scheme, easier to deal with than *Suite vs. *JreSuite. Good point, I hadn't seen those. Yes I like my name better

Re: [gwt-contrib] Re: KineticGWT

2012-11-16 Thread Kevin Zhang
Thx. It's fixed after I moved to latest gwt. On Thu, Nov 15, 2012 at 2:57 PM, Thomas Broyer t.bro...@gmail.com wrote: Are you still using GWT 1.7.1? http://stackoverflow.com/questions/13357567/kineticgwt-the-import-com-google-gwt-canvas-cannot-be-resolved Also, this group is for discussion