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 could be changed to
LGTM!
On Sunday, June 4, 2017 at 11:57:50 AM UTC+2, Thomas Broyer wrote:
>
> Fwiw, here's a proof-of-concept annotation processor for gwteventbinder:
> https://gist.github.com/tbroyer/420004d02e905ba7ce9489d24d3bae72 (uses
> auto-service, auto-common, and JavaPoet)
> It'll generate an
Fwiw, here's a proof-of-concept annotation processor for
gwteventbinder:
https://gist.github.com/tbroyer/420004d02e905ba7ce9489d24d3bae72
(uses auto-service, auto-common, and JavaPoet)
It'll generate an EventBinder_Xxx class implementing EventBinder for
any class Xxx with methods annotated
Yes, I'm just trying to move away from all GWT dependencies and hoping that
once J2CL is open-sourced 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
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
It's a com.google.gwt reference and in addition I am using it with
https://github.com/google/gwteventbinder which relies on GWT.create
A solution with APT would be nicer.
Anders
On Friday, June 2, 2017 at 2:38:57 PM UTC+2, Thomas Broyer wrote:
>
>
>
> On Friday, June 2, 2017 at 12:37:44 PM
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
I have asked this before but I am still looking for an alternative to the
GWT SimpleEventBus which will work with J2CL.
Would a library using annotation processsor like
https://github.com/greenrobot/EventBus be possible to use?
Anders
On Wednesday, May 31, 2017 at 10:43:23 PM UTC+2, Goktug
In the GwtCon keynote 2016 it looks like a Main method (without parameters) in
a Main class ... but I guess most of this is experimental ...
--
You received this message because you are subscribed to the Google Groups "GWT
Contributors" group.
To unsubscribe from this group and stop receiving
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
I did not see any J2CL examples. Would be nice to know, how to replace the
Entrypoint ...
Am Mittwoch, 31. Mai 2017 22:43:23 UTC+2 schrieb Goktug Gokdogan:
>
> J2CL doesn't require @JsType; JsType serves same purpose as in GWT.
>
> The likely steps required to make GWT library work with J2CL
>
Ok, that sounds great!
On Wednesday, May 31, 2017 at 10:43:23 PM UTC+2, Goktug Gokdogan wrote:
>
> J2CL doesn't require @JsType; JsType serves same purpose as in GWT.
>
> The likely steps required to make GWT library work with J2CL
> (future-proofing) already described in multiple talks earlier
J2CL doesn't require @JsType; JsType serves same purpose as in GWT.
The likely steps required to make GWT library work with J2CL
(future-proofing) already described in multiple talks earlier but briefly;
no JSNI/JSO, no GWT.create, no generators and no com.google.gwt.*
references. This applies
Hello,
>From the small examples of J2CL examples I have seen, the Java classes have
been annotated with @JsType.
I understand that all Java code will be transpiled to ES6 JS classes with
J2CL but can you refer/use other Java classes/libraries without adding
specific annotations?
More
14 matches
Mail list logo