Re: Deploying symbolMaps in a production build

2017-11-15 Thread Thomas Broyer
The gwt-site-webapp also has such configuration; it's used for the menu/navigation at http://www.gwtproject.org https://gwt.googlesource.com/gwt-site-webapp (see pom.xml and *.gwt.xml files) -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To

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 > sources. I

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: Deploying symbolMaps in a production build

2017-11-15 Thread AJ
Thanks Colin. That look like exactly what I need. This will be a 'production' url we use to debug the issue and then re-deploy the 'real' build once we have stepped the code and found the offending null point. Nice to know about the stack trace. Thank you very much for the very detailed reply.

Re: [gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread 'Goktug Gokdogan' via GWT Contributors
It could be hard to communicate and set expectations with a live work-in-progress gwt-project repository and via publishing on maven central. I agree with Jens on first setting up a foundation, rules and also maturing what GWT3 is; and in the meantime let people iterate in their own repos which

Re: Deploying symbolMaps in a production build

2017-11-15 Thread Colin Alworth
Symbol maps are distinct from source maps, the serve different purposes. Sourcemaps, when deployed with your actual source, allow the browser to ask the server for your Java source, so you can see if when you debug - this may not be something most production applications want their customers to

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Jens
Oh and if its just about making these small projects more discoverable then one could also create a single project, e.g. gwtproject/gwt3-migration and use the wiki for documentation and/or git submodules to link in all these small projects as well. -- J. -- You received this message because

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Colin Alworth
I've been over your gwt-events - looked good from 30 mins or so of poking around, but largely copy/paste, so that makes sense right? Removing old browsers seems reasonable - if we get issues filed asking for old browser support, we can deal with that as needed, but these are meant to be modern

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Jens
You don't build a house starting with the windows, you need a solid foundation. IMHO you/we first need to figure out how these smaller projects should be handled in the future. Does the gwtproject organization enforce requirements on these projects or are they totally independent and just

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Thomas Broyer
On Wednesday, November 15, 2017 at 6:02:03 PM UTC+1, Colin Alworth wrote: > > Thanks guys - I guess I'm confused as to why Daniel and Thomas have their > projects so far in their own repos, and not in github.com/gwtproject - I > was following that example. If you guys are ready to move them

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Colin Alworth
Thanks guys - I guess I'm confused as to why Daniel and Thomas have their projects so far in their own repos, and not in github.com/gwtproject - I was following that example. If you guys are ready to move them now and ship them (0.9 or 1.0-beta-n, either works for me) to central, then I have no

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Thomas Broyer
On Wednesday, November 15, 2017 at 5:40:11 PM UTC+1, Andrei Korzhevskii wrote: > > I vote for boring way, ie allocate these (module) projects on github and > follow usual pull requests workflow and deploy it as snapshots during > development. > Reasoning is that I don't see much sense in

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Andrei Korzhevskii
I vote for boring way, ie allocate these (module) projects on github and follow usual pull requests workflow and deploy it as snapshots during development. Reasoning is that I don't see much sense in spreading community efforts in multiple projects and then picking the right one. -- You

[gwt-contrib] Re: Deploying to org.gwtproject.* groupId

2017-11-15 Thread Thomas Broyer
On Wednesday, November 15, 2017 at 5:00:59 PM UTC+1, Colin Alworth wrote: > > I'm about to put out a blog post with a bunch of details on how one might > port gwt-user.jar modules out (thanks to the hard work of those who have > started this effort already, especially Dan Kurka and Thomas

[gwt-contrib] Deploying to org.gwtproject.* groupId

2017-11-15 Thread Colin Alworth
I'm about to put out a blog post with a bunch of details on how one might port gwt-user.jar modules out (thanks to the hard work of those who have started this effort already, especially Dan Kurka and Thomas Broyer), and once those are ready to be consumed, we'll certainly want the various

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Thomas Broyer
On Wednesday, November 15, 2017 at 11:19:56 AM UTC+1, Jens wrote: > > > Thanks for the early response. Can you give an example of getData(String >> key) method. >> > > Sure, assuming your values are only strings you can do > > public native String getData(String key) /*-{ > return

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Kirill Prazdnikov
JSNI is not recommended. If you can assign types, go with JsInterop, if not -> then you have a map String->? -- 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: Dynamic values in json parsing with GWT

2017-11-15 Thread Abhishek Banerjee
Thanks a bunch!! On Wednesday, 15 November 2017 15:49:56 UTC+5:30, Jens wrote: > > > Thanks for the early response. Can you give an example of getData(String >> key) method. >> > > Sure, assuming your values are only strings you can do > > public native String getData(String key) /*-{ > return

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Jens
> Thanks for the early response. Can you give an example of getData(String > key) method. > Sure, assuming your values are only strings you can do public native String getData(String key) /*-{ return this.data[key]; }-*/; If your values can also be number, boolean, JS Object you need

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Abhishek Banerjee
Thanks for the early response. Can you give an example of getData(String key) method. On Wednesday, 15 November 2017 14:49:56 UTC+5:30, Jens wrote: > > You can use JSONObject, a custom JavaScriptObject with JSNI getColumns() > and getData(String key) methods or use JsPropertyMap from

Re: Dynamic values in json parsing with GWT

2017-11-15 Thread Jens
You can use JSONObject, a custom JavaScriptObject with JSNI getColumns() and getData(String key) methods or use JsPropertyMap from jsinterop.base library. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and

Dynamic values in json parsing with GWT

2017-11-15 Thread Abhishek Banerjee
I have a json response like this {"columns": ["a", "b", "c"], "data": {"a": "some value", "b": "some value", "c": "some value"}} Now here whatever values columns have the same values are used as keys in data object. I have to parse this json in GWT client side. As far as I know JSNI