Type Corruption migrating from GWT 2.6.1 => 2.7.0

2017-07-05 Thread Thomas Broyer
Could you post a snippet reproducing the issue? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this gro

How to contact www.gwtproject.org Website?

2017-07-05 Thread Thomas Broyer
This is not wrong, but not a real vulnerability either I believe, if only because, to begin with, downloads are made through HTTPS. (Don't take my words for granted though, I'm not a security expert) Wrt your first question, have a look at http://www.gwtproject.org/makinggwtbetter.html You could

Re: GWT 2.8.1 release

2017-06-29 Thread Thomas Broyer
On Thursday, June 29, 2017 at 1:59:58 PM UTC+2, Alexander Leshkin wrote: > > Issue https://github.com/gwtproject/gwt/issues/9533 > > I'll create a patch. > Great! -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group an

Re: Debugging question

2017-06-29 Thread Thomas Broyer
On Thursday, June 29, 2017 at 1:41:08 PM UTC+2, Harry Wagner wrote: > > I mean that the SplitLayoutPanel's splitter no longer works, nor the > page's HTML links. It works if I comment-out the code that displays the > dialog box. > It might be that there's a transparent element that covers them

Re: GWT 2.8.1 release

2017-06-29 Thread Thomas Broyer
oject/gwt/blob/a90832fec9a56f4cb83ed009c7048e0a8d196fe8/dev/core/src/com/google/gwt/dev/shell/SuperDevListener.java#L175 > > I think it should be: > args.add("-includeJsInteropExports"); > args.add(regex); > > And line above (for excludeJsInteropExports) has the same issue. > > On Wednesday,

Debugging question

2017-06-28 Thread Thomas Broyer
What do you mean by unresponsive? Have you looked at the browser's developer tools? -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@

Re: GWT 2.8.1 release

2017-06-28 Thread Thomas Broyer
On Wednesday, June 28, 2017 at 4:55:55 PM UTC+2, Max F wrote: > > Thanks for your reply, Thomas. > > I am using Brandon's Eclipse plugin. I thought a space would be a > separator for parameters; this is working for e.g. the -war parameter. My > arguments for the CodeServer: > -remoteUI "${gwt_r

Re: GWT 2.8.1 release

2017-06-28 Thread Thomas Broyer
On Wednesday, June 28, 2017 at 1:04:12 PM UTC+2, Max F wrote: > > Hello, > > first of all, thanks for GWT! > I am trying to make use of the new includeJsInteropExports flag while > using the CodeServer. > It seems that those new two switches need an extra "s": e.g. > -includeJsInteropExports in

Re: Upgrade from 2.7 to 2.8.1 is failing

2017-06-16 Thread Thomas Broyer
On Friday, June 16, 2017 at 10:57:53 AM UTC+2, Aliuska Marrero wrote: > > Hi Everyone: > > I am developing a big application in GWT, I started migration of versions, > from 2.7 to 2.8.1 and I have some errors that I do not how to solve. I > believe is related with dependencies but do not know h

Re: how to avoid JSNI

2017-06-16 Thread Thomas Broyer
On Friday, June 16, 2017 at 10:38:09 AM UTC+2, Kirill Prazdnikov wrote: > > Hi, since arrays are very slow (see > https://github.com/gwtproject/gwt/issues/9501) > > I have to use the following code to workaround: > > public native byte[] createFastInt8(int size) /*-{ > return new Int8Array(s

Re: Usage of file handles/file streams in GWT source code

2017-06-12 Thread Thomas Broyer
Moving discussion to GWT Contrib: https://groups.google.com/d/topic/google-web-toolkit-contributors/6KowEoEZahE/discussion On Sunday, June 11, 2017 at 9:35:30 PM UTC+2, mr.g...@gmail.com wrote: > > Reading and writing of files should only be done using try-with-resources. > This might not be an

How to determine whether you're in SuperDevMode inside (custom) linker code

2017-06-10 Thread Thomas Broyer
You can look for the "superdevmode" property value out of the LinkerContext. The tricks you mention are for client-side code, at runtime; not at compile-time. As for GWT.create(), have a look at ServerGWTBridge to see how that could be used outside of GWT client code. Though I'd discourage that

Please Clarify - CritSit needs answer

2017-06-10 Thread Thomas Broyer
>From memory, you'll want to use at least GWT 2.7; but as a rule of thumb you >should always aim at using the latest version (2.8.1 currently). -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving email

Re: Any issues running in detailed (or pretty) style in production?

2017-06-08 Thread Thomas Broyer
On Wednesday, June 7, 2017 at 9:39:55 PM UTC+2, rjcarr wrote: > > I've been using GWT for years and years but recently my customers have a > problem that I can't reproduce, and they're remote so I can't just go check > it out in person. > > They're getting an unresponsive script error, and the

Re: OAuth with GWT against Strava API

2017-06-02 Thread Thomas Broyer
On Friday, June 2, 2017 at 8:32:23 AM UTC+2, Frank wrote: > > I am trying to create a GWT application against the Strava API. The first > thing to do is authentication. > > On http://strava.github.io/api/v3/oauth/ they say that for the token > exchange you have to do something like : > > *curl

Re: Code references between client/server/shared folders

2017-05-30 Thread Thomas Broyer
On Tuesday, May 30, 2017 at 5:36:01 PM UTC+2, Magnus wrote: > > Hello, > > my understanding of the typical folders in a GWT project is this: > >- client >only client-side code here >- server >only server-side code here >- shared >code that may be used on client-side and ser

Re: GWT DataGrid background colour for rows

2017-05-30 Thread Thomas Broyer
DataGrid being a "cell widget", it will be "re-rendered" regularly, losing all modifications you manually did to the DOM tree. You can "persist" your changes using setRowStyles for classnames applied to a TableRowElement, or custom column with overridden getCellStyleNames

Re: SimpleLayoutPanel inside a ScrollPanel or a VerticalPanel does not work

2017-05-27 Thread Thomas Broyer
On Friday, May 26, 2017 at 10:32:12 PM UTC+2, Piotr Morgwai Kotarbinski wrote: > > Hey all, > I have the following code: > > uiBinder ui.xml template: > http://dl.google.com/gwt/DTD/xhtml.ent";> > "urn:import:com.google.gwt.user.client.ui"> > > AAA > > > > uiBinder java class: > publ

Re: Splitter not showing in SplitLayoutPanel

2017-05-25 Thread Thomas Broyer
"Layout panels" (RequiresResize) need to be sized "from the outside" (they don't have an "intrinsic size" depending on their content), and this means you either need to give them an explicit, absolute size (i.e. no percentages or other relative units) or have an uninterruptible chain of parent

Re: GWT URL parameters not setting and getting when has domain

2017-05-25 Thread Thomas Broyer
Answered on Google+ https://plus.google.com/117164928606484663838/posts/G7rQ7UxfnNP On Thursday, May 25, 2017 at 1:31:28 PM UTC+2, Julio Heitor Nobrega wrote: > > Hi guys, > > I have an issue that you could help me. I am developing a e-commerce GWT > website and when i access the paltform using

Re: Code not working fine with IE11

2017-05-24 Thread Thomas Broyer
On Wednesday, May 24, 2017 at 6:00:20 PM UTC+2, Keshav Agarwal wrote: > > I have write code using GWT 2.6.1 and jdk1.5. It's working fine in > Internet Explorer 5, 6 but it's throwing error in IE11 that 'attachEvent' > object or method not found. When I search in code, then I found that > cach

Re: Missing Custom Linker Output Files when using GWT Eclipse Plugin

2017-05-23 Thread Thomas Broyer
No it's not possible. Only public resources and, special-cased, GWT-RPC serialization policies are copied to the launcherDir/war. Actually, using my (experimental) gwt-devserver should work though. https://github.com/tbroyer/gwt-devserver -- You received this message because you are subscribed

Performace of String.hashCode

2017-05-19 Thread Thomas Broyer
It is indeed a performance penalty, but is required to avoid conflicts with built-in properties (such as __proto__). For modern browsers we could probably use Map nowadays. You should bring this to gwt-contrib! -- You received this message because you are subscribed to the Google Groups "GWT

Re: Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-18 Thread Thomas Broyer
I suppose one could write an annotation processor that could generate a Closure externs files (the reverse of the jsinterop-generator), copying the javadoc (though probably transforming it a bit, to turn it into jsdoc with type information) around, so a jsdoc tool could be used afterwards (or d

Re: upgrade gwt 2.7 to gwt 2.8.1 not working

2017-05-11 Thread Thomas Broyer
On Wednesday, May 10, 2017 at 9:02:44 PM UTC+2, Gal Lavie wrote: > > wwoo thank you > this worked for me > for the second problem i removed google map and this is worked for me (i > did this in past and it not worked but now it work i do not know why but > now it work) > for the first pro

Re: Scavenging sessions at

2017-05-10 Thread Thomas Broyer
The real question is why do you get DEBUG logging? This is not the default, so it means you have some logging configuration that Jetty is picking up. Either try to remove it (from the classpath, that doesn't mean removing it from your webapp), or configure it so that you don't log those messages.

Re: upgrade gwt 2.7 to gwt 2.8.1 not working

2017-05-10 Thread Thomas Broyer
On Wednesday, May 10, 2017 at 6:57:25 AM UTC+2, Gal Lavie wrote: > > Hi everyone > I develop application in gwt and google app engine. > until now i used with gwt 2.7 lib and google app engine 1.51 lib > i try to upgrade the gwt 2.7 to 2.8.1 lib > and i have 2 problems now > i hope you can help

Re: HI, Port already in use issue when the server tab doesnot show any red icon and session is closed but still facing same issue

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 6:25:29 PM UTC+2, sahit...@gmail.com wrote: > > can any one help me on this > Assuming Eclipse here, open the Debug view (it's generally enough to switch to the Debug perspective) and look for a running process and kill it. Alternatively, you can use JConsole or JVisua

Re: server push example with GWT?

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 3:18:38 PM UTC+2, Thomas Lefort wrote: > > Hi Thomas, > > Thanks for the reply. Sure I don't expect anyone to fix it for me, just to > know if it is a problem my end or if I am trying to do too much with the > embedded server indeed. > > I am happy with running an ext

Re: server push example with GWT?

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:52:03 PM UTC+2, Thomas Lefort wrote: > > Has anybody managed to run an example of websockets with the embedded > jetty in gwt 2.8? ie only using the jsr API. I just can't get it to work, > the ServerEndpoint annotation doesn't get picked up. I also tried with the >

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:45:00 PM UTC+2, Frederik Van Hoyweghen wrote: > > I tried both the command line (mvn gwt:compile) and via the IntelliJ Maven > plugin. > Indeed, binding the execution to the prepare-package phase and running *mvn > gwt:compile@compile-common *works, and I'm glad it

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:11:04 PM UTC+2, Frederik Van Hoyweghen wrote: > > > > On Tuesday, May 9, 2017 at 12:59:17 PM UTC+2, Thomas Broyer wrote: >> >> >> I wouldn't put any / into the plugin-level >> , and only put them into the . >>

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 12:33:57 PM UTC+2, Frederik Van Hoyweghen wrote: > > This indeed seems to be what I was looking for, thank you. > Are there any obvious downsides to doing it like this, with multiple > executions? > Each module compilation will fork a new GWT compiler process, rather

Re: Multiple GWT modules in one Maven module

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 11:27:25 AM UTC+2, Frederik Van Hoyweghen wrote: > > Thanks for the replies. > > I already took a look at the issue on the plugin's github: > https://github.com/tbroyer/gwt-maven-plugin/issues/57 >

Re: webAppCreator + Maven = HTTP ERROR 404

2017-05-08 Thread Thomas Broyer
On Sunday, May 7, 2017 at 10:28:00 PM UTC+2, Irek Szczesniak wrote: > > I think I should first say: > > mvn war:exploded > > And then: > > mvn gwt:devmode > > Is there some guide on how to use Maven with GWT? > Add the "readme" template to webAppCreator. You need to first "mvn package" (you can

Re: Multiple GWT modules in one Maven module

2017-05-08 Thread Thomas Broyer
On Monday, May 8, 2017 at 6:18:06 PM UTC+2, Frederik Van Hoyweghen wrote: > > Hey everyone, > > We are currently migrating our project away from using Ant, to Maven. > > Along with this migration, we also tried to follow some of the project > structuring that is recommended for a maven project.

Re: Gwt maven archetypes

2017-05-05 Thread Thomas Broyer
Pushed the fix; also removed tomcat6-maven-plugin given that Tomcat 6 is EOL. On Friday, May 5, 2017 at 11:48:24 AM UTC+2, Thomas Broyer wrote: > > Oh crap, I'd swear I had tested it before git-pushing… > Will fix asap, thanks for the report! > > On Friday, May 5, 2017

Re: Gwt maven archetypes

2017-05-05 Thread Thomas Broyer
tations.JsProperty; > import jsinterop.annotations.JsType; > > @JsType(isNative = true) > public interface User { > @JsProperty > String getUserName(); > > @JsProperty > boolean isAdmin(); > } > > > > On Thursday, May 4, 2017 at 6:43:10 PM UT

Re: Gwt maven archetypes

2017-05-04 Thread Thomas Broyer
On Thursday, May 4, 2017 at 6:34:21 PM UTC+2, nikola wrote: > > Hi all, > > I tried to generate project from *dagger-guice-rf-activities *as > described here but > when I tried to run it I am getting this error. > > Any idea what is happening

Re: Loading only relevant shared code in an html page.

2017-05-04 Thread Thomas Broyer
You have 2 possibilities (that I haven't explored personally, so I couldn't comment on the pros on cons) - use a single entry-point (single module), and use code splitting (GWT.runAsync) to only load what's needed (and probably a bit more that'd happen to be shared with other pieces of

Re: java.util.Lists in Gwt super dev mode debugger

2017-05-02 Thread Thomas Broyer
If you do not have the same error when using your browser's dev tools instead of IntelliJ IDEA (and I'd bet you wouldn't), then it's an IntelliJ IDEA bug, and I'd encourage you to file a bug at https://youtrack.jetbrains.com/issues/IDEA On Tuesday, May 2, 2017 at 5:02:08 PM UTC+2, bclark wrote:

Re: gwt elemental newbie

2017-04-29 Thread Thomas Broyer
On Saturday, April 29, 2017 at 5:07:04 PM UTC+2, gwtt...@gmail.com wrote: > > Hello, > > I am starting to learn gwt elemental. > I've started with the code here: > https://gist.github.com/branflake2267/8e4b9d4f2dc594fe21a125155516ec97 >

Re: GWT 2.8.1 - Could not find artifact org.codehaus.mojo:gwt-maven-plugin:jar:2.8.1

2017-04-27 Thread Thomas Broyer
to start the new generation > plugin by Thomas Broyer (https://github.com/tbroyer/gwt-maven-plugin). > We'll release a new version just to match the GWT version number during > this week. In the meantime, you may try to migrate to the new generation > one, Thanks! > Also

Re: GWT Editor with Custom Composites

2017-04-24 Thread Thomas Broyer
Your getValue will break if value is null (because the instanceof will all be false). You should probably use an explicit typing to drive conversions. Maybe just even an enum that you could pass to the UiConstructor, or specialized subclasses (similar to IntegerBox, DoubleBox, etc.) -- You rec

Re: GWT/Maven development cycle takes much too long

2017-04-24 Thread Thomas Broyer
You need to "rebuild" the webapp when you make changes to it (but not recompile the GWT app), so "mvn package -Dgwt.compiler.skip"; then "reload web server". -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop r

Re: GWT/Maven development cycle takes much too long

2017-04-24 Thread Thomas Broyer
On Monday, April 24, 2017 at 5:30:14 PM UTC+2, Magnus wrote: > > Friends, > > it seems as if I could solve the problem by adding this to the pom.xml: > > >org.apache.maven.plugins >maven-war-plugin >2.6 > > > As you can see in the error message, version 2.2.

Re: GWT/Maven development cycle takes much too long

2017-04-23 Thread Thomas Broyer
On Sunday, April 23, 2017 at 2:17:04 AM UTC+2, Magnus wrote: > > Hello Jens, > > I'm beginning to realize that removing scope=provided isn't a solution to > the eclipse problem. > Sorry that this took so long... > > However, then let's come back to the eclipse error again: > > org.apache.maven.p

Re: GWT/Maven development cycle takes much too long

2017-04-22 Thread Thomas Broyer
On Saturday, April 22, 2017 at 6:03:47 PM UTC+2, Magnus wrote: > > The question scope=provided or not affects the dependency for my own >>> library "my-lib" in the pom.xml of my application "my-app". >>> >>> >>>- If I remove it, the "Failed to copy file for artifact" returns (= >>> pr

Re: GWT/Maven development cycle takes much too long

2017-04-22 Thread Thomas Broyer
On Saturday, April 22, 2017 at 5:06:00 PM UTC+2, Magnus wrote: > > There may be some misunderstandings: > > The question scope=provided or not affects the dependency for my own > library "my-lib" in the pom.xml of my application "my-app". > > >- If I remove it, the "Failed to copy file for a

Re: GWT/Maven development cycle takes much too long

2017-04-22 Thread Thomas Broyer
On Saturday, April 22, 2017 at 1:43:33 PM UTC+2, Magnus wrote: > > The external libs (like postgresql-40.0.0.jar) must be copied into the > WEB-INF/lib directory. When scope=provided, it isn't copied there. That was > the problem in the other thread. > How can I solve this? > Don't use scope=p

Re: GWT/Maven development cycle takes much too long

2017-04-22 Thread Thomas Broyer
On Saturday, April 22, 2017 at 12:29:26 PM UTC+2, Magnus wrote: > > Hello, > > I found it! > The error is caused by the following dependency: > > > msm.lib.acs > msm-lib-acs > 1.0-SNAPSHOT > > > > The error immediately disappears when I set the scope to provided

Re: GWT/Maven development cycle takes much too long

2017-04-22 Thread Thomas Broyer
On Friday, April 21, 2017 at 7:38:37 PM UTC+2, Magnus wrote: > > >>> So, "mvn package" should Just Work™ (package the lib, then package the >> app using the lib's jar). >> > > Yes, works! > > >> "mvn gwt:devmode" and "mvn gwt:codeserver" should work without too much >> configuration (configur

Re: GWT/Maven development cycle takes much too long

2017-04-21 Thread Thomas Broyer
On Friday, April 21, 2017 at 5:58:58 PM UTC+2, Magnus wrote: > > Hi Thomas, > > I already have started to play with a reactor. Below is my top-level > pom.xml. But where to go from here? > What are the mvn commands to build everything on the top-level? If "mvn > install" isn't needed anymore, h

Re: GWT Editor with Custom Composites

2017-04-21 Thread Thomas Broyer
On Wednesday, April 19, 2017 at 8:19:52 PM UTC+2, harshyadav wrote: > > Hi, > > I am trying to use the GWT editor framework to support data binding in my > application. While implementing it I ran into a few issues and have a > couple of questions regarding the same: > > 1) Some of these compon

Replacing StorageImpl with itself?

2017-04-21 Thread Thomas Broyer
This rule overrides the "built-in" one that replaces StorageImpl with StorageImplNonNativeEvents. It wouldn't be needed if that other rule hadn't existed. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop rec

Re: GWT/Maven development cycle takes much too long

2017-04-20 Thread Thomas Broyer
On Tuesday, April 18, 2017 at 6:03:29 PM UTC+2, Magnus wrote: > > Hello, > > after moving my projects to Maven, I am at a point where everything works > again, with the help of the people in this group. > However, when concentrating on the actual work again, I notice that the > development cycl

Re: Trying to run Super Dev Mode, but getting "Sorry, the GWT Developer Plugin no longer works with Chrome"

2017-04-19 Thread Thomas Broyer
On Thursday, April 20, 2017 at 1:07:41 AM UTC+2, Tharpa Roberts wrote: > > I am maintaining a legacy application, which uses GWT 2.6.1. I am trying > to run it in Eclipse. I have added the line > > > > to my Acme.gwt.xml file. I am selecting, "Debug As GWT Development Mode > with Jetty".

Downloading Older Versions of the SDK

2017-04-19 Thread Thomas Broyer
See https://github.com/gwtproject/gwt-site/pull/205 It apparently hasn't been deployed yet. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsub

Standalone Java to Javascript transpiler

2017-04-17 Thread Thomas Broyer
This is already the case. There's no server-side dependency, unless you use GWT specific client-server protocols (like GWT-RPC or RequestFactory). -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving em

Re: Elemental 2: devmode Error

2017-04-14 Thread Thomas Broyer
Are you using the HEAD-SNAPSHOT version of GWT? elemental2-beta1 doesn't work with GWT 2.8.0 (this is one of the reasons a 2.8.1 will soon be released, see the gwt-contributors forum) On Friday, April 14, 2017 at 4:22:01 PM UTC+2, zakaria amine wrote: > > Hello everybody, > > I tried the latest

Re: Trouble understanding JsInterop

2017-04-12 Thread Thomas Broyer
On Wednesday, April 12, 2017 at 9:01:37 AM UTC+2, DavidN wrote: > > There is one thing people keep on repeating: > You can only invoke the exported class/method when the gwt app is loaded. > Just like with any asynchronously loading script. For example, the Google Analytics snippet

Re: Debug library code in eclipse

2017-04-12 Thread Thomas Broyer
On Tuesday, April 11, 2017 at 7:17:54 PM UTC+2, Juan Pablo Gardella wrote: > > Using eclipse you don't need do that. Simply include all the projects > (including pom artifact if you have one) and configure by using "workspace > resolution". Check > https://books.sonatype.com/m2eclipse-book/ref

Re: Trouble understanding JsInterop

2017-04-11 Thread Thomas Broyer
On Tuesday, April 11, 2017 at 4:53:24 PM UTC+2, Philipp Gloor wrote: > > Where do I use $wnd.test.JsOpClass()? It doesn't work within

Re: Trouble understanding JsInterop

2017-04-11 Thread Thomas Broyer
On Tuesday, April 11, 2017 at 10:43:06 AM UTC+2, Philipp wrote: > > If I have a java class and I mark it with @JsType I create a contract > between Java and Javascript that I can use this class with it's given Java > name in Javascript - is this correct? > > package com.test.workertest.shared;

Re: IdFactory.ephemeralIds - ever-growing collection?

2017-04-04 Thread Thomas Broyer
On Tuesday, April 4, 2017 at 10:35:51 AM UTC+2, Petr Janeček wrote: > > Either my issue is ignored because nobody knows (in which case this is a > new bug and I'll gladly file an issue ticket), or because it's been poorly > worded. > > What we see is *RequestFactory leaking 30 MB/hour of memory

Re: GWT 2.7 SuperDevMode Compile Times

2017-04-03 Thread Thomas Broyer
On Monday, April 3, 2017 at 1:56:28 PM UTC+2, Thomas wrote: > > @tbroyer, sorry, yes, they are strings. Will check out the archetype(s) > and see how we can handle shared enums easiest. Splitting it up might give > me some other advantages as well. > How certain are you about compile times? >

Re: GWT 2.7 SuperDevMode Compile Times

2017-04-03 Thread Thomas Broyer
On Monday, April 3, 2017 at 10:49:00 AM UTC+2, Thomas Buckel wrote: > > Also wondering how to split client and server into different mvn modules > when using ReqFactory - @ProxyForName and @ServiceName should work for > class names, however they still require a class reference to the > server-

Re: GWT 2.7 SuperDevMode Compile Times

2017-04-03 Thread Thomas Broyer
On Monday, April 3, 2017 at 10:09:06 AM UTC+2, Thomas Buckel wrote: > > Hi all, > > I've been working on an enterprise GWT app for the last few years. It has > grown and will grow quite a bit and compile times (DevMode, SuperDevMode) > are becoming a real pain point for the developers. > > A Su

Re: How to deal with transitive maven dependencies?

2017-03-31 Thread Thomas Broyer
On Thursday, March 30, 2017 at 6:56:56 PM UTC+2, Magnus wrote: > > Hello Thomas, > > thank you very much, but I only understand parts of your posts, because > maven is still new to me... > > Actually, nothing. Nothing on the Maven side though. >> > > Yes, I can validate this by doing mvn gwt:dev

Re: How to deal with transitive maven dependencies?

2017-03-30 Thread Thomas Broyer
On Thursday, March 30, 2017 at 4:57:04 PM UTC+2, Magnus wrote: > > Remove provided at >> >> >> msm.lib.acs >> msm-lib-acs >> >> … >> >> 1.0-SNAPSHOT >> provided >> >> >> > If I only remove provided (without replacing it with > another scope), then the jar file is

Re: Multiple file upload best practice?

2017-03-28 Thread Thomas Broyer
I think a best practice nowadays would be to use an (which you can hide and "trigger" with .click() when clicking on, say, a button; this is only "cosmetic" though) and XMLHttpRequest advanced features (sending a File object, or possibly a FormData if that's what your server expects; using pro

Re: Where to get the latest GWT Snapshots?

2017-03-28 Thread Thomas Broyer
On Tuesday, March 28, 2017 at 1:34:00 AM UTC+2, Ming-Yee Iu wrote: > > I've lately been hitting a lot of GWT compilation errors in SuperDevMode > where GWT compiles things fine, but the outputted code is incorrect. GWT's > name mangling ends up being mismatched where a method will be compiled t

Re: Errors in UIBinder XML files

2017-03-24 Thread Thomas Broyer
Check your dependencies, this was fixed in GWT 2.4: https://github.com/gwtproject/gwt/commit/ad144ac26693272b2d897454a13b7fddf389fedf (see linked issue, exact same error message) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from

Re: CellList refreshed only after mouse move

2017-03-23 Thread Thomas Broyer
On Thursday, March 23, 2017 at 3:54:56 PM UTC+1, pH4Lk0n wrote: > > This problem still exists in GWT 2.8.0. > > I've got similar problem. I just want to select record that is clicked > elsewhere but user needs to move mouse to see this effect. > It's unusable right now in this scenario because i

Re: Maven/GWT: include sources in jar with relative path?

2017-03-21 Thread Thomas Broyer
On Tuesday, March 21, 2017 at 5:27:18 PM UTC+1, Magnus wrote: > > Hello, > > when making java libraries containing GWT code, you have to include the > sources in the jar file. > I do this in my maven project like this: > > > > > src/main/resources > > > src/main/ja

Re: Synchronization problems with maven and eclipse

2017-03-21 Thread Thomas Broyer
On Thursday, March 16, 2017 at 5:10:24 PM UTC+1, Magnus wrote: > > Hello, > > I am evaluating the interplay of maven and eclipse with two simple > projects: > >- a simple GWT application based on the one created with webAppCreator >- a simple library containing both, pure java code and G

Re: GWT1.7.1

2017-03-18 Thread Thomas Broyer
See https://github.com/gwtproject/gwt-site/pull/205/files for fixed links to very old versions. On Saturday, March 18, 2017 at 11:40:30 AM UTC+1, Svetlana Ostrovskaya wrote: > > Hello, I check this link > http://www.gwtproject.org/versions.html and link to version 1.7.1 > contains error page >

Re: jsitenterop: elemental status

2017-03-18 Thread Thomas Broyer
On Saturday, March 18, 2017 at 9:15:55 AM UTC+1, Dave Puchyr wrote: > > I think that you make excellent points and have a very relevant question. > I'm a big fan of GWT, but I have to ask the GWT powers that be: Is > elemental2 like the vaporware that singularity turned out to be? > I don't h

Re: error message and obfuscated code

2017-03-16 Thread Thomas Broyer
Because this is a "content script", i.e. a script from the extension that gets injected within the page (content). Try disabling the extension or opening the page in "incognito mode" (where the extension is likely disabled). -- You received this message because you are subscribed to the Google

error message and obfuscated code

2017-03-14 Thread Thomas Broyer
This is in a Chrome extension (apparently FBDown Video Downloader), not in your app. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...

Re: Reordering items in ListEditor

2017-03-10 Thread Thomas Broyer
On Friday, March 10, 2017 at 10:13:44 AM UTC+1, Gordan Krešić wrote: > > I'm editing List of ValueProxies and I'm trying to implement reordering > of items (move to front, move to back, move up, move down the list). Since > ListEditors work by reflecting change in underlying List and List > in

Re: GWT Eclipse Plugin - three development modes

2017-03-08 Thread Thomas Broyer
…or your client and server code live in different projects (for classpath isolation), which makes it impractical to use DevMode's embedded server. AFAIK, GWT Eclipse Plugin has a way to start both a server (using Eclipse tooling) and GWT SuperDevMode with a single click. And this is probably the

Re: RequestBuilder, safely send data to server

2017-03-02 Thread Thomas Broyer
On Thursday, March 2, 2017 at 8:01:18 AM UTC+1, gitzzz wrote: > > Hi! I use RequestBuilder for client-server communication. And I have some > questions: > > For example we make http request to ".../get.php"(function(), select some > data from DB and send it back). Response is an array[1,2,3,4,

Re: Mojo's Maven Plugin for GWT - general questions

2017-02-28 Thread Thomas Broyer
On Tuesday, February 28, 2017 at 3:48:51 AM UTC+1, Magnus wrote: > > Hello Ignacio, > > thank you for the Youtube-Link. > > *Concerning the old GWT plugin:* > > I am using Eclipse Neon with the corresponding GWT plugin from here: > > [https://developers.google.com/eclipse/docs/download] > > > Thi

Mojo's Maven Plugin: errors with mvn gwt:run

2017-02-23 Thread Thomas Broyer
Those aren't errors, they're logs to the standard error (stderr) that the plugin routes as Maven error logs. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google

Re: gwt-maven-plugin: how can I chnage the Jetty port?

2017-02-23 Thread Thomas Broyer
On Thursday, February 23, 2017 at 12:19:02 PM UTC+1, Tom Pijl wrote: > > I am using the gwt-maven-plug of Thomas Broyer. > I would like to change the Jetty server port from (default) to e.g. > 4200 when running mvn gwt:devmode. > Any pointers on how to configure tha

Re: compiler errors after upgrade to gwt 2.8.0

2017-02-16 Thread Thomas Broyer
Make sure you don't have gwt-user from both 2.7 and 2.8 in your classpath: it could be that 2.7 is earlier than 2.8 in the classpath, so the compiler sees the Comparator, List, Set and Arrays from 2.7, that don't have stream support, and then chokes when parsing Stream (which only exists in 2.8)

Re: Animating images in GWT

2017-02-15 Thread Thomas Broyer
To preload images: img = Document.get().createImageElement() img.setSrc(url) (you could then keep all those ImageElement⋅s in a list and use them directly instead of setHTML) You can use Image widgets too, which have load event handlers. On Wednesday, February 15, 2017 at 1:33:37 PM UTC+1, Jonat

Re: Problem compiling GWT code with Java9

2017-02-15 Thread Thomas Broyer
On Wednesday, February 15, 2017 at 10:17:30 AM UTC+1, Dave Bradlee wrote: > > Anyway, has anyone else tried to compile GWT code with Java9? Or any ideas > how we might make the compiler happy? > > I hadn't tried until now, but have the exact same error with 9-ea+152 (using package oracle-java9-

Re: GWT junit test in super dev mode???

2017-02-14 Thread Thomas Broyer
One workaround that just came to my mind: because code does not run in Java (prod mode), you don't need to run tests with Java assertions enabled (i.e. remove -ea from JVM arguments); GWT assertions are governed by an -ea flag in -Dgwt.args=, independent from the -ea flag of the JVM. HTH. On Tu

Re: GWT junit test in super dev mode???

2017-02-14 Thread Thomas Broyer
This looks like https://github.com/gwtproject/gwt/issues/9413 IIRC, it's triggered depending on how the tests are run, and which binding properties are defined in the gwt.xml files (in the reprocase for the issue, there's a binding property that's never used in any rebind rule; commenting it out

Re: Animating images in GWT

2017-02-14 Thread Thomas Broyer
On Tuesday, February 14, 2017 at 4:20:11 PM UTC+1, Jonathan Cook wrote: > > Hello, > > I wanted to know the best way of taking a list of images which come from > an HTTP request, each image then needs to be retrieved. > > I would then like to use the images to make an animation behaviour so it

Re: Which maven archetype for GWT applications?

2017-02-13 Thread Thomas Broyer
On Monday, February 13, 2017 at 6:15:15 PM UTC+1, Magnus wrote: > > Hi Juan, > > thanks, but my package presentation is already set to "hierarchical". > I would be glad if I could fix this with an eclipse setting... > Maven doesn't allow you to use different classpaths for different subsets of

Re: Native JsTypes with properties containing dashes

2017-02-10 Thread Thomas Broyer
On Friday, February 10, 2017 at 4:06:52 PM UTC+1, DavidN wrote: > > Just wondering when the final Elemental2 is going to be made available ? > You seem to get some extra information that is not publically disclosed. > Yes, sorry, there's been some lag on publishing steering committee meeting n

Re: Native JsTypes with properties containing dashes

2017-02-10 Thread Thomas Broyer
Elemental 2 will come with a basic, future-proof API for getting arbitrary properties of objects (future-proof as in, IIUC: this will be JSNI, but there'll be an equivalent for J2Cl; same API but different implementation), so you could use it with a @JsOverlay method. In the mean time I'd sugges

Re: html5 date input as Editor

2017-02-07 Thread Thomas Broyer
I think I'd have extended ValueBoxBase instead (which already implements LeafValueEditor –through IsEditor and ValueBoxEditor– and handles malformed input by recording an error on an EditorDelegate — ValueBox could also be used, just make sure you set the type=date after you called the super co

Method gives a different result than Javascript after wrapping it using JsInterop.

2017-02-04 Thread Thomas Broyer
Have you tried with Double instead of Number? I suspect Number might be passed as an opaque object to JS which could then be turned into a NaN in some calculations and then "capped" to the max zoom. -- You received this message because you are subscribed to the Google Groups "GWT Users" group.

Re: Strippable check system in GWT 2.8?

2017-02-03 Thread Thomas Broyer
On Friday, February 3, 2017 at 4:55:06 PM UTC+1, Alex opn wrote: > > What is the risk of disabling these checks? > If your code depends on ClassCastException, IndexOutOfBoundsException, etc. to be thrown, then it'll no longer work as intended. The checks make sure the contracts of the emulated

Re: Strippable check system in GWT 2.8?

2017-02-03 Thread Thomas Broyer
This is https://github.com/gwtproject/gwt/blob/2.8.0/user/super/com/google/gwt/emul/javaemul/internal/InternalPreconditions.java The javadoc and first few lines of the class tells it all (note that System.getProperty is the emulated one here, so the properties are from your gwt.xml files, not t

Re: Run GWT/GXT in Debug Mode while Deployed on WebSphere

2017-02-03 Thread Thomas Broyer
On Friday, February 3, 2017 at 10:38:51 AM UTC+1, Eghli Dos wrote: > > Jens, > > Thanks for the feedback. It certainly worked in Chrome (55). > Unfortunately, I cannot use Chrome as the pages that I will be ultimately > debugging run *drum roll* applets, so I have to stick with IE. Is there a

<    1   2   3   4   5   6   7   8   9   10   >