[gwt-contrib] Re: Testing GWT 2.9.0 for release

2020-04-21 Thread Ignacio Baca Moreno-Torres
gwt-user depends on jsinterop-annotations:sources (with the sources qualifier), and jsinterop-annotations:sources contains the Annotations.gwt.xml. It really seems right. We have tested in various projects and works perfectly. But, we downloaded a corrupted gwt-user in one of the tests, and we

Re: porting older app from 2.5.0 to 2.8.2

2019-08-12 Thread Ignacio Baca Moreno-Torres
I'm not sure how difficult is to make it compile with GWT 2.8, if even possible, but officially only GXT 4 is compatible with GWT 2.8: https://docs.sencha.com/gxt/4.x/guides/getting_started/migration/MigrationGWT28.html On Sun, Aug 11, 2019 at 9:14 PM Blaze wrote: > Hi all, > > I was wondering

Re: GWT 2.9 Questions

2018-09-07 Thread Ignacio Baca Moreno-Torres
Since 2.8.2 the ECJ was updated too and fixes the RxJava2 compilation problem... so Rx users are all (yep those 3 users XP) in that 0.1%. To fix this, the 2.9 release will be nice too! Just saying, hehe lot of work and we internally work with HEAD-SNAPSHOT. So when you please. On Thu, Sep 6, 2018

Re: [gwt-contrib] Re: Java10 support

2018-07-02 Thread Ignacio Baca Moreno-Torres
There are some other bugs recently fixed in eclipse ECJ, at this moment looks a good idea to at least wait for the ECJ 4.9 release. https://bugs.eclipse.org/bugs/show_bug.cgi?id=477894 JRE emulation, hehe just contribute it! (:P) I recommend to create some super source in your project and try

Re: [gwt-contrib] Re: The elusive J2CL

2018-05-30 Thread Ignacio Baca Moreno-Torres
Being slow but mature is a pretty good thing sometimes. As you said, "today's rapidly changing IT" is crazy rapidly, you start a project in a technology that when the project is production ready it might be that technology considered deprecated already. Java and GWT are all about maturity and

Re: First experience using GWT Boot in my Java Devs Training

2018-05-25 Thread Ignacio Baca Moreno-Torres
JavaExec example here https://github.com/ibaca/rxsnake-gwt/blob/master/build.gradle ;) On Fri, May 25, 2018 at 9:17 AM Thomas Broyer wrote: > I know about two such plugins: > https://github.com/Putnami/putnami-gradle-plugin and >

Re: Advice needed - compile error while moving back to GWT 2.7 from 2.8.2

2018-05-24 Thread Ignacio Baca Moreno-Torres
I sometimes, when I'm a bit desperate, I debug the project, find some classes for the conflicting code using the "Thread.currentThread().getContextClassLoader().loadClass(...)", and use the variable inspector to find the class loader and the actual file that has been used to load the class.

Re: GWT JSON-B

2018-05-22 Thread Ignacio Baca Moreno-Torres
You really should try to avoid inheritance in your JsInterop DTOs. But, hehe there are always someplace where you need or are forced to use it, in that case, this is what we are currently using to get "inheritance" working in the server side and the client side using DTOs:

Re: Elemental2 and constants

2018-02-12 Thread Ignacio Baca Moreno-Torres
do you want to kill elemento? ;) it doesn't seem like an easy task and will involve generics. Anyway, elemento is how it should look like. If this can be extracted from closure definitions it will be nice. On Mon, Feb 12, 2018 at 9:03 AM DavidN wrote: > Is there a plan to

Re: Elemento Questions

2018-02-07 Thread Ignacio Baca Moreno-Torres
Elemento is just a user-friendly API for Elemental2. Elemental2 depends on the last version of GWT so Elemento does. You can use it to access the browser API. Integration with legacy GWT application is possible if legacy doesn't mean old GWT version ;). You can stop using some GWT utils like

Re: Possible to use Firebase in a GWT app?

2017-12-09 Thread Ignacio Baca Moreno-Torres
With JsInterop is pretty easy to create a minimal integration to make it work, probably the best option if you just want minimal integration. Anyway, you can get inspired by someone else code like https://github.com/spirylics/x-gwt/tree/master/x-gwt-firebase. Not sure if there is a good/complete

Re: compilerArgs setProperty multi values - [ERROR] Unable to parse JavaScript

2017-11-30 Thread Ignacio Baca Moreno-Torres
//www.learnkeeper.com/ > - native: 325 KB (http://www.learnkeeper.com/?compiler.stackMode=native) > - emulated: 664 KB ( > http://www.learnkeeper.com/?compiler.stackMode=emulated) > > > > On Thursday, November 30, 2017 at 5:44:12 PM UTC+11, Ignacio Baca > Moreno-Torres wrote: &g

Re: compilerArgs setProperty multi values - [ERROR] Unable to parse JavaScript

2017-11-29 Thread Ignacio Baca Moreno-Torres
I'm curious, what is the code size difference? We end up using always emulated bc the performance and size doesn't worth. But it depends on each app. Or do you do native for performance (speed)? El mié., 29 nov. 2017 14:36, Thomas Broyer escribió: > So you need to provide a

Re: Deploying symbolMaps in a production build

2017-11-15 Thread Ignacio Baca Moreno-Torres
https://github.com/ibaca/rxcanvas-gwt  On Thursday, November 16, 2017 at 12:08:44 AM UTC+1, Ignacio Baca Moreno-Torres wrote: > > FYI this project is a working example of deploying a gwt app with source > maps. The pom is configured to included both the source map and the java >

Re: Deploying symbolMaps in a production build

2017-11-15 Thread Ignacio Baca Moreno-Torres
FYI this project is a working example of deploying a gwt app with source maps. The pom is configured to included both the source map and the java sources. I use site.sh to deploy as a github page. On Wednesday, November 15, 2017 at 9:40:26 PM UTC+1, AJ wrote: > > Thanks Colin. > That look like

Re: [gwt-contrib] Super slow compilation in projects with many wildcard generics

2017-10-02 Thread Ignacio Baca Moreno-Torres
t; On Monday, October 2, 2017 at 8:42:22 AM UTC+2, Ignacio Baca Moreno-Torres > wrote: >> >> FYI The patch will be released for 4.8M3 >> https://bugs.eclipse.org/bugs/show_bug.cgi?id=521438#c17 >> >> On Wednesday, September 27, 2017 at 11:09:43 PM UTC+2, Roberto >

Re: [gwt-contrib] Super slow compilation in projects with many wildcard generics

2017-10-02 Thread Ignacio Baca Moreno-Torres
at 10:56 AM, Ignacio Baca Moreno-Torres < > ign...@bacamt.com > wrote: > >> JDT has a bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=521438) >> that make it super slow to compile some project involving wildcards >> generics. Actually, there are many problems with perform

Re: Problems moving JsInterop from GWT 2.7 to 2.8

2017-09-29 Thread Ignacio Baca Moreno-Torres
We have been using this technique for more than a year and it works perfectly. We call it "Java Notation Object", hehe and you should understand the limitations, which more or less you are currently fulfilling. Just a few changes... The most important, yes, you should use

[gwt-contrib] Super slow compilation in projects with many wildcard generics

2017-09-26 Thread Ignacio Baca Moreno-Torres
JDT has a bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=521438) that make it super slow to compile some project involving wildcards generics. Actually, there are many problems with performance and memory consumption since Java 8, this has just lived longer bc it was a bit more difficult

Re: SuperDevMode recompiles RPC since they are unchanged

2017-09-20 Thread Ignacio Baca Moreno-Torres
Eh! the bookmark (or similar tool https://gist.github.com/ibaca/1dc87a58ee542840a5f90c5ff2931329) are still useful if you use only the codeserver. On mié., 20 sept. 2017 10:51 Jens wrote: > > Hey Jens, nobody should use the bookmarklets in 2.7 either ;-) >> > > Oh

Re: Test Strategies for Modern GWT (i.e. Elemental2 etc)

2017-09-19 Thread Ignacio Baca Moreno-Torres
Elemento (so elemental2) uses it to test the builder, but as Erik said, not quite practical for anything else than non-browser-related logic testing. https://github.com/hal/elemento/blob/develop/core/src/test/java/org/jboss/gwt/elemento/core/ElementsBuilderTest.java#L50 On Tue, Sep 19, 2017 at

Re: GWT Widgets and Elemental

2017-09-06 Thread Ignacio Baca Moreno-Torres
IMO stop using widgets is too difficult and it just forces you to actually not use ANY widget with is super-annoying bc there are some widgets that are still pretty useful. If you use widgets, the whole hierarchy should be widget aware to make the widget work properly (you can handle the

Re: has anyone tried building a gwt application using buck ?

2017-08-21 Thread Ignacio Baca Moreno-Torres
This is all I need to compile (actually validate) RxJava ( https://github.com/ibaca/RxJava/commit/42372bb989490698b2e4862454ec469635a8f132). Only sourceSets, configurations and the gwtCompile goal is relevant. I think for an app project you will need a bit more because if you want to create a war

Re: Different code-server port with gwt-maven-plugin

2017-08-09 Thread Ignacio Baca Moreno-Torres
You can use arbitrary arguments per-mode, so to add the codeserverPort to the codeserver goal add: -codeServerPort1234 If you are using dev mode use: -codeServerPort1234. On Wednesday, August 9, 2017 at 3:01:01 PM UTC+2, Luca Morettoni wrote: > > Hello, for a project we’re using the fantastic

Re: Can I remove compile permutations for the default language

2017-08-07 Thread Ignacio Baca Moreno-Torres
We just merge some of them... depending on the final app size. We think a 200k to 400k after compression is acceptable, so just try out various permutation combinations. If your app is small enough you can just collapse all with ''. Or merge some permutation like... On Mon, Aug 7,

Re: Deploying GWT application on a web server

2017-07-18 Thread Ignacio Baca Moreno-Torres
You can deploy the generated app in whatever web server you choose. For example, those pom.xml are configured to deploy to github site https://github.com/ibaca/rxbreakout-gwt/ https://github.com/ibaca/rxsnake-gwt/blob/master/pom.xml This is a bit more complex, but it deploys the app with source

Re: GWT SuperDev mode issue after migrating from 2.7.0 to 2.8.1 with application that uses Spring Framework

2017-07-17 Thread Ignacio Baca Moreno-Torres
But this is not a multimodule project (means this is not a tbroyer archetype multimodule project), you need a shared lib, and the client should Not depend on the server, but if you continue with this layout at least explicitly exclude non required libs from the server dependency in the client pom,

[gwt-contrib] Re: Question about contributing with java.util.concurrent emulation

2017-07-14 Thread Ignacio Baca Moreno-Torres
Definitively I have duplicated some of its super-sources, initially rxjava-gwt dependends on guava bc it super-sourced some pretty common utilities like TimeUnit or Executor, etc. but until I get forced to implement various other classes I just prefer to copy-paste and remove the guava

[gwt-contrib] Question about contributing with java.util.concurrent emulation

2017-07-14 Thread Ignacio Baca Moreno-Torres
I have created various java.util.concurrent and some java.lang super-sources. This makes easier to

[gwt-contrib] Re: $entry() wrapper and JsInterop

2017-07-11 Thread Ignacio Baca Moreno-Torres
that notes about guidelines to use JsInterop+Widget before taking any decision about the future of widgets will be... nice. On Tuesday, July 11, 2017 at 4:11:52 PM UTC+2, Thomas Broyer wrote: > > > > On Tuesday, July 11, 2017 at 1:46:55 PM UTC+2, Ignacio Baca Moreno-Torres > wrote: >

[gwt-contrib] $entry() wrapper and JsInterop

2017-07-11 Thread Ignacio Baca Moreno-Torres
What is going to happen with $entry() utility? Some guidance in the JsInterop gdoc will be a good idea so libs-creator can apply a uniform strategy. Elemento, for example, is waiting to see what to do (https://github.com/hal/elemento/issues/18), but there are various libraries already using

Re: [gwt-contrib] Fwd: jsinterop woes: Part 2: return Double[]

2017-06-26 Thread Ignacio Baca Moreno-Torres
Oh, the classic array problem! ;) https://github.com/gwtproject/gwt/issues/9318 IMO as you are wrapping a client lib, and this code is not going to be shared (used in JRE), so just use elemental2.core.Array. Probably JsArrayLike is enough as an argument but returning an Array it is easier to use.

Re: Annoying Map<String, Object> containing List bug

2017-06-18 Thread Ignacio Baca Moreno-Torres
Oh, developing with netbeans, using legacy devmode (hosted mode) and using Object with GWT RPC... you really like it hard! hehe so your one permutation draft compilation takes about an hour, isn't it? damn GWT!  I thought that RPC will generate serializers for every subtype of Object, but

Re: GWT 2.8.1 release

2017-06-08 Thread Ignacio Baca Moreno-Torres
This is a programmatic mapping from closure externs https://github.com/google/closure-compiler/tree/master/contrib/externs so, at the end if it changes it will change the same in every place, so fixing it should not be very difficult. Anyways, this super awesome project  is going to expose a

Re: JSNI -> JsInteop

2017-05-17 Thread Ignacio Baca Moreno-Torres
There are some thing that will require jsni but this lib should have a GWT maintained utility. http://search.maven.org/#artifactdetails%7Ccom.google.jsinterop%7Cbase%7C1.0.0-beta-2%7Cjar El mié., 17 may. 2017 18:42, Kirill Prazdnikov escribió: > Hi, I`m looking for methods to

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

2017-05-10 Thread Ignacio Baca Moreno-Torres
I see, thanks! On Wednesday, May 10, 2017 at 9:28:30 AM UTC+2, Thomas Broyer wrote: > > 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. --

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

2017-05-10 Thread Ignacio Baca Moreno-Torres
Question about OscilatorNode (https://github.com/google/closure-compiler/blob/c77ca197a1f6674e4c267a29a3643a86b61cf51d/externs/browser/w3c_audio.js) This start method is translated as a "StartCallbackFunction start", should it not be translated as a method directly? This callback field cannot

Re: gwt elemental newbie

2017-04-29 Thread Ignacio Baca Moreno-Torres
Elemental 1 and 2 are a bit different, both exposes the "whole" HTML5 API, elemental 1 using jsni and elemental 2 using jsinterop. But elemental 1 has other tools that look like elemental 2 is not going to include like shared json implementation and hight-performance collections. And finally and

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

2017-04-27 Thread Ignacio Baca Moreno-Torres
at 10:24 AM Thomas Broyer <t.bro...@gmail.com> wrote: > > > On Thursday, April 27, 2017 at 9:30:36 AM UTC+2, Ignacio Baca > Moreno-Torres wrote: >> >> Yep, should be released... but it is pretty weird that the plugin should >> be released on each GWT version,

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

2017-04-27 Thread Ignacio Baca Moreno-Torres
Yep, should be released... but it is pretty weird that the plugin should be released on each GWT version, this and other important issues like better multi-module support was the motivation to start the new generation plugin by Thomas Broyer (https://github.com/tbroyer/gwt-maven-plugin). We'll

Re: GWT/Maven development cycle takes much too long

2017-04-24 Thread Ignacio Baca Moreno-Torres
But please, use the tbroyer plugin, it's much better, makes no sense start a new project using the old one. I also think that using maven makes a pretty reasonable development lifecycle, I just use the IDE to run the maven goals, works perfectly, much easier to configure and get it work. The

Re: GWT/Maven development cycle takes much too long

2017-04-23 Thread Ignacio Baca Moreno-Torres
If you want to do it the same way just use the modular webapp-archetype ( https://github.com/tbroyer/gwt-maven-archetypes/blob/master/README.md)  videos here (GWT Eclipse Plugin V3: https://www.youtube.com/playlist?list=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT). Please, watch all the videos!  El

Re: JNDI lookup issue when upgrade GWT from 2.2 to 2.8

2017-04-17 Thread Ignacio Baca Moreno-Torres
ild separate war files? one for server and one for client? Can we > totally avoid gwt-dev.jar in the server war file? Currently it is the > gwt-dev.jar which requires jetty even we build in production mode. > > > On Monday, April 17, 2017 at 1:45:31 AM UTC-4, Ignacio

Re: JNDI lookup issue when upgrade GWT from 2.2 to 2.8

2017-04-16 Thread Ignacio Baca Moreno-Torres
This is the classic classpath problem in GWT, you should not use the same classpath in client and server, tbroyer has been writing about that for years. In the server side no client side dependency should be added. You can either migrate to a multimodule project layout over selectively exclude

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

2017-04-14 Thread Ignacio Baca Moreno-Torres
t; the related elemental class (JsObject) > > On Thu, Apr 13, 2017 at 1:42 PM, Ignacio Baca Moreno-Torres < > ign...@bacamt.com > wrote: > >> Hi, a question about JsPropertyMap. >> >> It does not have a keys() method, ideally using Object.keys, this is

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

2017-04-13 Thread Ignacio Baca Moreno-Torres
Hi, a question about JsPropertyMap. It does not have a keys() method, ideally using Object.keys, this is on purpose? And, the unique method to obtain the keys is the forEach method, but current implementation iterates over all properties wich might be dangerous, why this method do not use

Re: Blocked a frame with origin

2017-04-13 Thread Ignacio Baca Moreno-Torres
This is not a GWT problem, I'm not sure why this failed but I recommend that you find a more general (not GWT) answer like this http://stackoverflow.com/q/34801417/1824841 El jue., 13 abr. 2017 6:55, David escribió: > I am using GWT to process a very old web site. This web

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

2017-04-06 Thread Ignacio Baca Moreno-Torres
Yep, same problem here https://github.com/ibaca/dndfiles-gwt. BUT! if you compile GWT do not fails, only throws this error the codeserver. Anyway, good work! independent libs and specially base lib are really good news! thanks. On Friday, April 7, 2017 at 12:17:57 AM UTC+2, Jens wrote: > >

Re: GWT + Open API

2017-03-26 Thread Ignacio Baca Moreno-Torres
, March 26, 2017 at 10:45:36 PM UTC+2, Ignacio Baca Moreno-Torres wrote: > > I have applied my generator to the swagger petstore api, hehe it is pretty > unstable, but after some NPE fixes and minor improvements I have generated > the API Interface and models. Demo project here > ht

Re: GWT + Open API

2017-03-26 Thread Ignacio Baca Moreno-Torres
paring laboratory exercises for students, and we're using the > Swagger's Pet Store: > > http://petstore.swagger.io/v2/swagger.json > > On 25.03.2017 09:46, Ignacio Baca Moreno-Torres wrote: > > No :), just to see the complexity of the API and what happens if I

Re: GWT + Open API

2017-03-25 Thread Ignacio Baca Moreno-Torres
No :), just to see the complexity of the API and what happens if I add it to my generator. On Friday, March 24, 2017 at 8:11:59 PM UTC+1, Irek Szczesniak wrote: > > It's public. Does it make some difference? > > On 23.03.2017 17:04, Ignacio Baca Moreno-Torres wrote: > > Jus

Re: GWT + Open API

2017-03-23 Thread Ignacio Baca Moreno-Torres
Just curious, the API is internal or external, the swagger spec is public? El jue., 23 mar. 2017 12:16, Ireneusz Szcześniak escribió: > Thank you, Rogelio, for your input. > > I like the idea of generating the data model from the OpenAPI > specification, because I

Re: GWT + Open API

2017-03-21 Thread Ignacio Baca Moreno-Torres
our solution is that it uses the JsInterop provided by > GWT. > > I wonder what are the pro and cons of the JsInterop approach versus > the RestyGWT approach. > > On 21.03.2017 00:00, Ignacio Baca Moreno-Torres wrote: > > JsInterop and XMLHttpRequest is a good option to

Re: Synchronization problems with maven and eclipse

2017-03-21 Thread Ignacio Baca Moreno-Torres
I think that eclipse+maven works pretty well, brandon have been making lots of improvements and nowadays using the tbroyer maven plugin + GWT Eclipse Plugin v3 should works like a charm! Everithing explained here https://www.youtube.com/watch?v=DU7ZQVLR5Zo=PLBbgqtDgdc_TqzA-qXrjgTFMC_6DKAQyT On

Re: GWT + Open API

2017-03-20 Thread Ignacio Baca Moreno-Torres
JsInterop and XMLHttpRequest is a good option too, aka. autorest ;)... this WIP generator reads openapi from apisguru and generates the GWT JsInterop spec. On Mon, Mar 20, 2017 at 6:24 PM Rogelio Flores wrote: > We use RestyGWT to consume a swagger REST API and are

Re: error message and obfuscated code

2017-03-15 Thread Ignacio Baca Moreno-Torres
 On Wed, Mar 15, 2017 at 9:36 AM Pavlo Iatsiuk wrote: > Here is my settings > > > > > > > > > value="true"/> > value="true"/> > > > As result in console on error I see a proper class names and line numbers > > -- > You received this message because you are

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

2017-03-05 Thread Ignacio Baca Moreno-Torres
But this is the documentation of the plugin, not the documentation of the archetype. Follow the archetype documentation, or one of the Brandon tutorial.  -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop

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

2017-03-04 Thread Ignacio Baca Moreno-Torres
Oh, the new tutorial it is exactly what you are looking for ( https://youtu.be/Wxlh_E8uyq4). El jue., 2 mar. 2017 23:26, Ignacio Baca Moreno-Torres <igna...@bacamt.com> escribió: > The new plugin is called GWT Eclipse Plugin. The full explanation here > https://www.youtube.com/watch

[gwt-contrib] Re: Stopping Dev Mode (DevMode) Launcher Enhancements

2017-03-02 Thread Ignacio Baca Moreno-Torres
I created this issue with my concern about not using embebed jetty (https://github.com/gwtproject/gwt/issues/9437). For me the main problem is that the codeserver do not uses the auto-recompile.nocache.js, so I use the devmode but the embebed jetty is just to open the client side app, non

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

2017-03-02 Thread Ignacio Baca Moreno-Torres
The new plugin is called GWT Eclipse Plugin. The full explanation here https://www.youtube.com/watch?v=x04sufQce-Y. If you are starting a new project it's strongly recommended that you use the new maven plugin ( https://github.com/tbroyer/gwt-maven-plugin). I think that it is much easier if you

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

2017-02-26 Thread Ignacio Baca Moreno-Torres
But you are using the old eclipse plugin with the old maven plugin, try this tutorial https://youtu.be/xeanOpvrbBQ, and watch all other recent videos in this channel. El lun., 27 feb. 2017 3:09, Magnus escribió: > Hi Rodolfo, > > thank you for your help! > > I am using

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

2017-02-25 Thread Ignacio Baca Moreno-Torres
It have been this way for a long time, I'll try to see why and if it is easy to change. Also, you can create a pull request . Thanks! El sáb., 25 feb. 2017 2:50, Magnus escribió: > Those aren't errors, they're logs to the standard error (stderr) that the > plugin

Re: Browser.getWindow().newXMLHttpRequest()

2017-02-18 Thread Ignacio Baca Moreno-Torres
Pretty old thread, but... to fix the "is not a function" error you need to add the GWT compiler param "-generateJsInteropExports". On Thursday, November 17, 2016 at 11:32:30 AM UTC+1, P.G.Taboada wrote: > > Thanks, this is what I was missing. > I tried to use elemental, but could neither find

Re: Which maven archetype for GWT applications?

2017-02-13 Thread Ignacio Baca Moreno-Torres
For client side only and lib only project (so only one module) you can see an example here: https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it Quite simple, maybe adding this use cases as archetype is a good idea, but IMO it's so simple that using the simple maven archetype and adding

Re: Drag and Drop in GWT

2017-01-27 Thread Ignacio Baca Moreno-Torres
If you are going to use native drag and drop you might what some stream composition lib XD, rxjava makes event plumbing a bit easier, clean and powerful, and rxgwt has various tools to start using rxjava with gwt, see this example using elemental touch events

Re: HTTP/2 Server Push

2017-01-16 Thread Ignacio Baca Moreno-Torres
I have been testing server sents events to see how to integrate it in autorest. Not sure, but might be interesting too . https://github.com/ibaca/autorest-streaming-example El lun., 16 ene. 2017 9:37, David escribió: I just noticed that my code is actually still just

Re: Problems with RequestBuilder

2017-01-12 Thread Ignacio Baca Moreno-Torres
This is a minimal example using CORS https://github.com/ibaca/autorest-streaming-example/blob/master/server/src/main/java/com/intendia/gwt/example/Main.java#L95 Also, in chrome it is quite easy fix it, because it explain what header is required to make it work. Not sure if Firefox errors are as

Re: Requestfactory: How to use Object?

2017-01-06 Thread Ignacio Baca Moreno-Torres
Salk31, please note that we are saying that if you are going to start learning RF right now, you better try other approach. But as you said, RF, editor framework, probably validations, ui binder, etc is a pretty good solution. You should note that this solution is not going to evolve anymore (I

Re: Requestfactory: How to use Object?

2017-01-06 Thread Ignacio Baca Moreno-Torres
Hehe this is not a bad thing! Just means that now exists simpler solutions. I personally think that RF keeps track of object (the entity id) which add really a lot of complexity, at this point I think that the lib should include some kind of storage with remote synchronization because if not, the

Re: JsInterop JSON.parse()ed object differs from JSNI JSON.parse()ed object

2016-12-31 Thread Ignacio Baca Moreno-Torres
Hehe I'm curious too. What obscure library was modifying your json, and how? El sáb., 31 dic. 2016 13:37, Vassilis Virvilis escribió: > So why it did it in the one case but not in the other? Were you calling > the third party js explicitly in the one case? > > On Sat, Dec 31,

Re: Requestfactory: How to use Object?

2016-12-26 Thread Ignacio Baca Moreno-Torres
Hi, a side note. IMO you should not start using request factory. It is a pretty awesome lib which solves a lot of problem which probably you don't have with the cost of a complexity which will make you ask a lot of doubt's like this one for a long time. IMO if you want a API focused in your model,

Re: IDEs, Dagger2 and annotationProcessorPaths

2016-12-14 Thread Ignacio Baca Moreno-Torres
I prefer to use maven-processor-plugin because I usually get better IDE integration. I use intellij, but from time to time I'll try it in eclipse and I think it work. https://github.com/ibaca/gwt-dagger2-coffee/blob/master/pom.xml On Thu, Dec 15, 2016 at 2:49 AM Juan Pablo Gardella <

Re: GWT JsInterop to Java Rhino ?

2016-12-09 Thread Ignacio Baca Moreno-Torres
But, IMO you better separate JS dependant code trying to move it to the view, leaving the presenter with plain java code. We use JsInterop for DTOs, and with a few limitations, it works seamlessly in Java and JS. But trying to execute a JS lib with a JsInterop "wrapper" in JRE sounds like

Re: Serializing entire GWT application

2016-11-27 Thread Ignacio Baca Moreno-Torres
I prefer to HTTP instead of GWT RPC ! most browser support it, even old version of IE, it automatically deserialize and evaluate the entire GWT application ! On Sunday, November 27, 2016 at 7:11:10 PM UTC+1, Bora wrote: > > Has anybody tried serializing/deserializing entire GWT application

Re: GWT 2.8 generates code 14% bigger than GWT 2.7

2016-11-26 Thread Ignacio Baca Moreno-Torres
But IMO if you really care user experience you have other places to improve your page. I thinks updating to the last version is always a good idea, if any security or compatibility blocker problem is detected in your version you will need to update, and having a old version won't help. Also

Re: GWT Code Splitting: The GWT Stuff and My Core Java Classes

2016-11-21 Thread Ignacio Baca Moreno-Torres
This is an exaggerated comment, but... you know that nowadays most of the pages uses various MB on each load, for example just opening apple store downloads 2M, just click ipad goes up to 6M. So... em, hehe codespliting a 1MB uncompressed JS (probably around 300k compressed) which is going to

Re: Browser.getWindow().newXMLHttpRequest()

2016-11-20 Thread Ignacio Baca Moreno-Torres
Did you fix it? It should work using 2.8.0, I just tested it again. If still not work, you better upload a project to github :). On Thursday, November 17, 2016 at 11:32:30 AM UTC+1, P.G.Taboada wrote: > > Thanks, this is what I was missing. > I tried to use elemental, but could neither find

Re: Browser.getWindow().newXMLHttpRequest()

2016-11-16 Thread Ignacio Baca Moreno-Torres
I have two partial examples, one to create and send a formdata programmatically https://github.com/intendia-oss/autorest/blob/gwt-jsinterop/gwt/src/main/java/com/intendia/gwt/autorest/client/XhrResourceBuilder.java and other to get the datafile that can be added to a formdata

Re: HowTo use GWT EvenBus to schedule OpenEvent -> CloseEvent sequence

2016-10-29 Thread Ignacio Baca Moreno-Torres
Another example from GWTP https://github.com/ArcBees/GWTP/blob/master/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/proxy/PlaceManagerImpl.java, as Jens said, having a manager controlling the ordering of the events seems a good idea. And PlaceManager control the ordering of

Re: How to bind essential singletons in multi-module GIN app and avoid duplicate binding

2016-10-29 Thread Ignacio Baca Moreno-Torres
I think that you are describing the GWTP DefaultModule https://github.com/ArcBees/GWTP/blob/master/gwtp-core/gwtp-mvp-client/src/main/java/com/gwtplatform/mvp/client/gin/DefaultModule.java  On Thu, Oct 27, 2016 at 7:48 AM Thomas Broyer wrote: > I don't know if it's

Re: GWT launch client side application

2016-10-24 Thread Ignacio Baca Moreno-Torres
Maybe here you find better answers, https://discuss.atom.io/t/execute-shell-commands-from-application/20013  On Mon, Oct 24, 2016 at 6:59 PM Jeffrey Chimene wrote: > > > > The reason this is a GWT issue is my company has gone with a > > completely GWT solution for a

Re: GWT launch client side application

2016-10-23 Thread Ignacio Baca Moreno-Torres
What kind of native app are you trying to launch? This looks more a browser/html/JavaScript problem that a GWT problem. El sáb., 22 de octubre de 2016 17:10, Kirill Prazdnikov escribió: > You can not. You only do what you can in JS. > GWT is a way to write JS applications. >

Re: best practices for modular GWT app

2016-10-13 Thread Ignacio Baca Moreno-Torres
The IT directory in the gwt-maven-plugin includes more ussage examples, this one includes all possible maven module types https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it/e2e as described here https://tbroyer.github.io/gwt-maven-plugin/. You do not need to use resources->includes and

Re: Replcaing GWT generators with APT - Annotation Processing Tool -

2016-10-09 Thread Ignacio Baca Moreno-Torres
In our experience, using automatic registration has not been very useful. We also used generator and try to apply APT, but at some point we just realised that it was a unjustified complication, because the advantages was pretty questionable. This might not apply to your registry, but in our

Re: [gwt-contrib] GWT Eclipse Plugin (V3) Shortcuts/Launchers

2016-10-07 Thread Ignacio Baca Moreno-Torres
Something like this will be pretty self-explanatory: Super Development Mode (debug in JavaScript, using SDBG or browser tools) Legacy Development Mode (debug in Java, requires deprecated browser plugin) Even better, each parenthesis has the next link respectively:

Re: [gwt-contrib] GWT Eclipse Plugin (V3) Shortcuts/Launchers

2016-10-05 Thread Ignacio Baca Moreno-Torres
This is how I think that newbies will understand it easier... I suppose the change is too big, but maybe some part might be interesting. Any way current state is pretty good! good work. I have re-ordered, leaving the classic devmode the last one. 1. GWT Super DevMode - a client side GWT CodeServer

Re: GWT Logging

2016-09-15 Thread Ignacio Baca Moreno-Torres
Never see that problem, but... if you think that might be a log-to-console problem, you can just create a simple app which produces a lot of console logs and see what happens, if thats the problem you can always disable logging for the ios permutation. On Thursday, September 15, 2016 at

Re: Is GWT is Dead?

2016-09-06 Thread Ignacio Baca Moreno-Torres
Just curious, what and why are you waiting GWT 3? GWT is pretty awesome right now… On Tue, Sep 6, 2016 at 8:39 AM Ahamed wrote: > Team, > My Apologies for asking this question again. > > Is GWT is Dead or Alive ? From past 2 years i am waiting for GWT 3.0 but > still is

Re: synchronously waiting for a Promise

2016-09-02 Thread Ignacio Baca Moreno-Torres
Don't forget to check out this https://github.com/intendia-oss/rxjava-gwt ;) You'll probably get much better results asynchronously, at the end await/async is just and advanced (and maybe obscure) syntactic sugar over callbacks (I see that way, maybe not), which do not allow the versatility

Re: remove annotation in gwt compiler process ?

2016-08-29 Thread Ignacio Baca Moreno-Torres
If your problem is that the annotations is making your GWT module compilation fail, maybe you should try to add your annotations to the GWT compilation so you don't need to "remove them". Substituting an annotation with an dummy annotation makes no senses at all XD, are more or less "value

Re: How to declare standard java libraries dependencies to the GWT compiler with the tbroyer maven plugin?

2016-08-27 Thread Ignacio Baca Moreno-Torres
I updated the 'deprecation notice', deprecation is a strong word and people get scared that the plugin is going to disappear. But the idea is the same, you should migrate if you can, so thanks Bruno Salmon to try it out! On Friday, August 26, 2016 at 4:51:21 PM UTC+2, Thomas Broyer wrote: > > >

Re: [gwt-contrib] Re: Eclipse Code Server Launcher Icon

2016-08-27 Thread Ignacio Baca Moreno-Torres
Em... this is kind of related, some days ago I speak about this with manolo in gitter; currently the CodeServer use the standard nocache.js instead of the compile-on-refresh (actually uses the compile-on-refresh the first time, but subsequent compilations uses the standard one). And... does not

Re: [gwt-contrib] Re: Eclipse Code Server Launcher Icon

2016-08-25 Thread Ignacio Baca Moreno-Torres
at way it's obvious. The icon design looks promising >> tho. It has to be 16x16 so it's a bit too tall I think. >> >> >> On Thu, Aug 25, 2016 at 10:31 AM Ignacio Baca Moreno-Torres < >> ign...@bacamt.com> wrote: >> >>> I'll personally prefer the curre

[gwt-contrib] Re: Eclipse Code Server Launcher Icon

2016-08-25 Thread Ignacio Baca Moreno-Torres
I'll personally prefer the current logo (GWT logo) for the codeserver, because I think that the codeserver is the actual GWT part, and for the devmode and web application (which I suppose are a devmode or variants using some java web server) I will suggest a standard server icon plus a small

Re: Completable Future in GWT 2.8-rc1

2016-08-23 Thread Ignacio Baca Moreno-Torres
ive XMLHTTPRequest. I am trying to write a utility > that simplifies the asynchornous calls, and that I can use from my > applications to call Rest Services. > > Le mardi 23 août 2016 12:44:30 UTC+2, Ignacio Baca Moreno-Torres a écrit : >> >> I'm curious... what problem are y

Re: Completable Future in GWT 2.8-rc1

2016-08-23 Thread Ignacio Baca Moreno-Torres
I'm curious... what problem are you trying to solve using promises (requests, events, presenter logic...)? On Tuesday, August 23, 2016 at 11:07:30 AM UTC+2, zakaria amine wrote: > > Thanks for the info. rxjava-gwt sounds promising, it does add some > complexity though...I will do with Promise

Re: Completable Future in GWT 2.8-rc1

2016-08-22 Thread Ignacio Baca Moreno-Torres
This is much better than promises https://github.com/intendia-oss/rxjava-gwt ;) specially combined with https://github.com/intendia-oss/autorest-gwt and https://github.com/intendia-oss/rxgwt. On Monday, August 22, 2016 at 6:53:51 PM UTC+2, zakaria amine wrote: > > Hello, > > I tried using

Re: Best Practice for JSON object recreation on client

2016-08-22 Thread Ignacio Baca Moreno-Torres
"domain object" vs "message payload"; Yes, this is the point. We came from RequestFactory which works quite good with "domain object" models, we use one model for each type, this model is the same in the server and the client, and all views use the same model. So, responding to the 'JSON

Re: Package a GWT client project, no server code.

2016-08-20 Thread Ignacio Baca Moreno-Torres
You should try the new gwt-maven-plugin, it's not your solution, but it's a good idea ;). And you should known that the war is a zip, so actually your war just contains the META-INF and the GWT output folder. Take a look to this project for example (https://github.com/ibaca/rxcanvas-gwt), after

Re: Best Practice for JSON object recreation on client

2016-08-19 Thread Ignacio Baca Moreno-Torres
:37 PM UTC+2, Vassilis Virvilis wrote: > > Thanks for the write up. I would definitely have it in mind. > > BTW can you expand a bit on the stream thingy? Is there a link somewhere > to read about? > > Vassilis > > On Fri, Aug 19, 2016 at 8:59 PM, Ignacio Baca Moreno-T

  1   2   >