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

[gwt-contrib] Re: Java 9

2017-06-14 Thread Thomas Broyer
On Tuesday, June 13, 2017 at 5:55:33 PM UTC+2, James Nelson wrote: > > >> Could that work if we complemented the "instanceof URLClassLoader" with >> some check for "is the system classloader" and then use >> System.getProperty("java.class.path") (or the equivalent >>

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

[gwt-contrib] Fwd: Usage of file handles/file streams in GWT source code

2017-06-12 Thread Thomas Broyer
Moving discussion to GWT Contrib. 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 issue on Linux, but it is a serious issue on Windows > where I repeatedly get conflicts

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

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

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

[gwt-contrib] Re: Java 9

2017-06-08 Thread Thomas Broyer
On Thursday, June 8, 2017 at 12:13:35 AM UTC+2, James Nelson wrote: > > So, to be pedantic: > > Language features -> no issues there at all, since JDT happily compiles > java 8 code w/ a java 9-compatible compiler. > Emul updates -> standard "don't use java 9 methods if you need java 8 >

[gwt-contrib] Re: Adds Event.ONINPUT (issue 4549). (issue1248801)

2017-06-06 Thread Thomas Broyer
Related: https://groups.google.com/forum/#!topic/google-web-toolkit/k_o1fYjETY4 (tl;dr: it *is* possible, it just needs a bit more work on your part; JSNI or JsInterop/elemental2 are also an option) On Tuesday, June 6, 2017 at 4:49:28 PM UTC+2, Maciek Smolczewski wrote: > > I'm trying to

Re: [gwt-contrib] Using GWT libraries from J2CL

2017-06-05 Thread Thomas Broyer
On Sunday, June 4, 2017 at 11:57:50 AM UTC+2, Thomas Broyer wrote: > > With a small modification to EventBinder (adding an inherited annotation), > one could write an annotation processor that's fully backwards-compatible > with the current approach. The GWT generator coul

Re: [gwt-contrib] Using GWT libraries from J2CL

2017-06-04 Thread Thomas Broyer
I'll transition to it without having to wait > for GWT3. > > On Friday, June 2, 2017 at 7:10:24 PM UTC+2, Thomas Broyer wrote: >> >> GWT 3 will likely still have SimpleEventBus (and it would compile with >> j2cl without change). >> >> And gwteventbinder could

Re: [gwt-contrib] Using GWT libraries from J2CL

2017-06-02 Thread Thomas Broyer
GWT 3 will likely still have SimpleEventBus (and it would compile with j2cl without change). And gwteventbinder could quite easily be ported to an annotation processor. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from

Re: [gwt-contrib] Using GWT libraries from J2CL

2017-06-02 Thread Thomas Broyer
On Friday, June 2, 2017 at 12:37:44 PM UTC+2, Anders Forsell wrote: > > I have asked this before but I am still looking for an alternative to the > GWT SimpleEventBus which will work with J2CL. > What's wrong with SimpleEventBus? -- You received this message because you are subscribed to 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: [gwt-contrib] Using GWT libraries from J2CL

2017-06-01 Thread Thomas Broyer
I believe j2cl is currently used to produce libraries only (that are then consumed by JS code and passed through the Closure Compiler to produce applications) If j2cl doesn't have an equivalent already, I believe GWT 3 will still have EntryPoint with some "glue code" to make it run on load of

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

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

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 >

Re: [gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-24 Thread Thomas Broyer
On Tuesday, May 23, 2017 at 9:57:35 PM UTC+2, Learner Evermore wrote: > > J2Cl will be a Google project (not a GWT project; actually not dissimilar >> to how GWT currently leverages Eclipse JDT/ECJ, Jetty, etc.) but it'll be >> open source and accept external contributions too. >> > I didn't

Re: [gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-24 Thread Thomas Broyer
On Wednesday, May 24, 2017 at 7:14:52 AM UTC+2, Learner Evermore wrote: > > ... continuing the above - there is more. Let's now come back to the > analysis part. Yes, it is possible to do the "whole-world analysis" outside > the compiler. But what perspective should the analysis take? It is >

Re: [gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-23 Thread Thomas Broyer
On Tuesday, May 23, 2017 at 5:27:44 PM UTC+2, Learner Evermore wrote: > > @Anders Forsell: We were careful to make a good separation between UI > concerns in Java from the very beginning. We were very strict about this. > So, a "forced opportunity" to redo this isn't a benefit to us. > >

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

Re: [gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-21 Thread Thomas Broyer
On Saturday, May 20, 2017 at 2:05:22 AM UTC+2, Learner Evermore wrote: > > >> > In our opinion, the "Swing" approach leads to an Uncanny Valley effect, >> and the best approach is to use "native" UI for each platform. >> > > I am not sure what do you mean by "Swing approach". Maybe you are

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

[gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-19 Thread Thomas Broyer
On Friday, May 19, 2017 at 2:45:37 PM UTC+2, Learner Evermore wrote: > > So... If I read this correctly... Google has discovered that GWT is not > good enough (is bad) to continue using it. It is creating a J2CL that > produces readable code so that it can completely abandon its original Java

[gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-19 Thread Thomas Broyer
On Thursday, May 18, 2017 at 9:37:58 PM UTC+2, Relja Pcela wrote: > > It would be really nice to see some new answers on this kind of questions > from GWT contributors other than: "We don't know how GWT3 will look like in > this moment but we know that J2CL will not include this and that"

[gwt-contrib] Re: Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-19 Thread Thomas Broyer
Hi, On Thursday, May 18, 2017 at 6:29:29 PM UTC+2, Learner Evermore wrote: > > Hi there! > > I am faced with having to re-think what we are doing in the company I work > for with respect to GWT, existing and new projects and I am struggling, to > say the least. We've been very much a GWT shop

Re: [gwt-contrib] Business proposition of GWT 3.0 - what is it good for vs. other solutions out there?

2017-05-19 Thread Thomas Broyer
On Friday, May 19, 2017 at 10:35:29 AM UTC+2, Relja Pcela wrote: > > Can somebody please tell us who are the members of gwt committee > That page is *almost* up-to-date: http://www.gwtproject.org/steering.html (Ray has been replaced by Bhaskar Janakiraman as he moved to the Inbox team

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

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

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

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: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-05-10 Thread Thomas Broyer
It was declared as function(number) not long ago: https://github.com/google/closure-compiler/commit/91500d4cd57a608a442ba7466eb015e9ad40afcf So next version of jsinterop JARs should have it right. -- You received this message because you are subscribed to the Google Groups "GWT Contributors"

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

Re: [gwt-contrib] Re: JsInterop & collections

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 4:34:48 PM UTC+2, Marcin Okraszewski wrote: > > There is indeed something in it. Actually you could have some type of > naming convention, like in TJSON ( > https://tonyarcieri.com/introducing-tjson-a-stricter-typed-form-of-json) > or TypedJson

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

Re: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 2:02:40 PM UTC+2, Daniel Harezlak wrote: > > > > On Tuesday, May 9, 2017 at 1:03:41 PM UTC+2, Thomas Broyer wrote: >> >> >> >> On Tuesday, May 9, 2017 at 1:03:00 PM UTC+2, Daniel Harezlak wrote: >>> >>> HI,

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: [gwt-contrib] Re: JsInterop & collections

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 12:08:12 PM UTC+2, Marcin Okraszewski wrote: > > In short I would like JS arrays to be visible in GWT as a List and objects > parsed from JSON also as a Map. > > Maybe I'll try one more time to explain what we have. We share model > between server and GWT in form of

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

Re: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-05-09 Thread Thomas Broyer
On Tuesday, May 9, 2017 at 1:03:00 PM UTC+2, Daniel Harezlak wrote: > > HI, what are the replacements for elemental2.Global.window and similar in > this new release? > elemental2.DomGlobal.window (in elemental2-dom dependency) -- You received this message because you are subscribed to 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 at 5

Re: Gwt maven archetypes

2017-05-05 Thread Thomas Broyer
Property; > 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 UTC+2, Thoma

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

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

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
ion 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, thi

Re: GWT Editor with Custom Composites

2017-04-25 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

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

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

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

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

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

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

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

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,

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

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

[gwt-contrib] Time to remove GWT-RPC from WebAppCreator sample app?

2017-04-20 Thread Thomas Broyer
Should we start thinking about removing GWT-RPC from our sample app? (and probably tutorial on the web site) What would we replace it with though? I'd suggest plain old HTTP with JSON and JsInterop; but what about the server? Using HTTP POST with manually-encoded

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

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

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

Re: [gwt-contrib] Re: Elemental2 and JsInterop base beta releases available.

2017-04-15 Thread Thomas Broyer
Elemental 1 won't be retired until we have a replacement for elemental.json and possibly "lightweight collections". Could possibly be as easy as moving them to their own project. -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To

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 >

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

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 >

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

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

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

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

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

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

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

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

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

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

error message and obfuscated code

2017-03-15 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

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 >

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

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

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

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

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