Wednesday, December 5, 2018

UnsatisfiedLinkError while debugging

I have recently updated GWT to 2.8.2 from 2.6.1.

I am trying to debug using the Classic dev mode with "-nosuperDevMode" flag but getting the error:
 
"uncaught exception: java.lang.UnsatisfiedLinkError: com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.getHash()Ljava/lang/String;" "" 0

This error was not occurring with GWT-2.6.1. It seems GWT-2.8.2 is not allowing the use of JSNI inside ClientSerializationStreamReader. Can someone help with this?


-Dinesh

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Maven Archetypes - trouble running

Hello,

I'm trying to run a simple example of the gwt-maven-archetypes (https://github.com/tbroyer/gwt-maven-archetypes). I followed all the commands and got my module in place (modular-requestfactory). However, when running it, I'm getting an error message "Can't find any GWT Modules on this page".

What I did was:
  1. Cloned code from github
  2. Ran "mvn clean install"
  3. Ran "mvn archetype:generate" with "modular-requestfactory as the Artifact ID
  4. Then in one terminal window: "mvn gwt:codeserver -pl *-client -am"
  5. In another terminal window: "mvn jetty:run -pl *-server -am -Denv=dev"
  6. I open the browser on http://127.0.0.1:9876 and it tells me to bookmark the two links (which I did)
  7. I then click on the link for the module (which redirects me to http://127.0.0.1:9876/app/)
    1. This page is strange, because it says: "app: this module hasn't been compiled yet")
  8. I click on "Dev mode ON" bookmarked link and then I get the error message above
I believe I'm missing something very simple, but I can't figure it out what could be.

Any help?

PS. One further stupid question: how would I pack it into a WAR to deploy it?

Thanks a lot!
Aldo

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Monday, December 3, 2018

Re: GWT compiler isn't allowing 'default' as a javascript object property in my JSNI block

worked! thanks!

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Re: GWT compiler isn't allowing 'default' as a javascript object property in my JSNI block

This worked! Thank you. 

On Friday, November 30, 2018 at 8:49:34 PM UTC+5:30, David Nouls wrote:
try 'default' instead
On 30 Nov 2018, 15:17 +0100, Dylan DSouza <dyla...@gmail.com>, wrote:
I'm porting my Java LIBGDX game to Javascript. There's some JSNI code that looks something like this:

private native void hello()
/*-{
    var object1 = {default: 'foo', b: 42};
    console.log(object1.default);
}-*/
;

GWT refuses to compile this, giving me this error:

      [ERROR] Line 38: invalid property id
>       var object1 = {default: 'foo', b: 42, c: {}};
> ------------------------^
I tried the same code in native Javascript here and it works fine.

I'm guessing 'default' is some kind of keyword that GWT isn't allowing but I need to use it, because its expected by the interface I need to send the object to, specifically the Facebook Instant SDK and its LocalizableContent object.

Any help will be appreciated!

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Saturday, December 1, 2018

Re: Nalu is released!

Dope !

On Sat, 1 Dec 2018, 11:23 Frank Hossfeld <frank.hossfeld@web.de wrote:
After finishing the work on the 'plugin'-feature and a lot of testing, Nalu v1.0.0 is released and the artifacts are deployed to Maven Central.

Nalu is a framework that helps you to create GWT applications similar to GWT Activities & Places - with less code - and offers the following features:

* Route based navigation
* Supports HTML links and programmatically routing thanks to a router.
* Full support of the browser's back- forward- and reload-button.
* An optional loader that will be executed at application start to load data from the server.
* A client side context, router and event bus which will be automatically injected in every controller, filter, loader and handler. (Handler have only access to the context and the event bus)
* Filters to intercept routing.
* Separation of views into a controller and a component with framework sided instantiation.
* A controller life-cycle using `start`-, `mayStop`- and `stop`- similar to GWT Activities.
* Controller based handler manager, that will remove all handlers from the event bus in case the controller is stopped to prevent memory leaks (handler registrations must be added to the manager).
* Support for UiBinder (nalu-plugin-gwt)
* Nalu composites to support smaller units
* Controller & component caching
* Component creation inside a controller to support GWT replacement rules and static factory methods
* Multi Shell Support
* works with nearly every widget lib (tested with: GWT, GXT, Domino-UI, Elemento, Elemental2, GWT-Meterial) 
* Supports Maven multi module projects to separate an application in smaller parts (plugin feature)

More informations about Nalu can be found here:


There are already several examples available that shows the implementation of Nalu's features and how to create an application using Nalu:


To start playing around, you can use the Nalu Project generator located here:


(The project generator is based on Nalu and uses Domino-UI (https://github.com/DominoKit/domino-ui) Thanks @vegegoku for creating the UI)

To get in touch with the developers, use the Nalu Gitter room: https://gitter.im/Nalukit42/Lobby 

Last but not least, I would like to thank everybody who helped getting Nalu done.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Nalu is released!

After finishing the work on the 'plugin'-feature and a lot of testing, Nalu v1.0.0 is released and the artifacts are deployed to Maven Central.

Nalu is a framework that helps you to create GWT applications similar to GWT Activities & Places - with less code - and offers the following features:

* Route based navigation
* Supports HTML links and programmatically routing thanks to a router.
* Full support of the browser's back- forward- and reload-button.
* An optional loader that will be executed at application start to load data from the server.
* A client side context, router and event bus which will be automatically injected in every controller, filter, loader and handler. (Handler have only access to the context and the event bus)
* Filters to intercept routing.
* Separation of views into a controller and a component with framework sided instantiation.
* A controller life-cycle using `start`-, `mayStop`- and `stop`- similar to GWT Activities.
* Controller based handler manager, that will remove all handlers from the event bus in case the controller is stopped to prevent memory leaks (handler registrations must be added to the manager).
* Support for UiBinder (nalu-plugin-gwt)
* Nalu composites to support smaller units
* Controller & component caching
* Component creation inside a controller to support GWT replacement rules and static factory methods
* Multi Shell Support
* works with nearly every widget lib (tested with: GWT, GXT, Domino-UI, Elemento, Elemental2, GWT-Meterial) 
* Supports Maven multi module projects to separate an application in smaller parts (plugin feature)

More informations about Nalu can be found here:


There are already several examples available that shows the implementation of Nalu's features and how to create an application using Nalu:


To start playing around, you can use the Nalu Project generator located here:


(The project generator is based on Nalu and uses Domino-UI (https://github.com/DominoKit/domino-ui) Thanks @vegegoku for creating the UI)

To get in touch with the developers, use the Nalu Gitter room: https://gitter.im/Nalukit42/Lobby 

Last but not least, I would like to thank everybody who helped getting Nalu done.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

GWT compiler isn't allowing 'default' as a javascript object property in my JSNI block

Answered on StackOverflow: https://stackoverflow.com/a/53569023/116472 (basically the same answer as David)

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.