Re: GWT & Polymer TODO sample

2015-08-24 Thread Cristiano Costantini
Hi Christian, I'm interested on your alternative strategy, I however don't use Gradle, and I've tried to convert it to a Maven project. It can be found here https://github.com/cristcost/todo-gwt-polymer It does not work yet: if I import it in Eclipse and run, SuperDevMode complains that Component

Re: don't use .nocache.js

2015-09-08 Thread Cristiano Costantini
Could you explain better what you do mean for "not using .nocache.js" ? What do you want to do? Maybe you want to include directly the "#.cache.js" file for the permutation you want to use? If it is so, for which reason Or maybe you don't want to use the GWT app loading mechanism based on ifra

Re: Codeserver and JsInterop

2015-10-13 Thread Cristiano Costantini
6 minutes and half on my SSD based Quad core i7: Handwritten:gwt-trunk cristcost$ *time* ant clean elemental dist [] BUILD SUCCESSFUL Total time: 6 minutes 30 seconds *real 6m31.164s user 19m47.021s sys 0m49.040s * Handwritten:gwt-trunk cristcost$ * http://stackoverflow.com/questions/556

Re: JsInterop: Casting native javascript objects in gwt

2015-10-26 Thread Cristiano Costantini
jsinterop.annotations Truly, If one day I'll find the man who continue using non standard packages in GWT, I'll take all his keyboards and "hack" so that each key will output "org.gwtproject" as a prefix to any key stroke! :-D Il giorno lun 26 ott 2015 alle ore 13:30 Brian Pedersen < brian.peder

Re: What is happening to GWT???

2016-07-03 Thread Cristiano Costantini
+1 as "Google uses a monorepo [...] This means there's no "release", every dependency is a "snapshot", this is a sign of stability, I think it is really worth to start releasing more frequently the Open Source community edition. Il giorno sab 2 lug 2016 alle ore 21:39 Jens ha scritto: > B

Re: Why com.google.gwt.dev.DevMode doesn't recognize the argument -style?

2013-09-23 Thread Cristiano Costantini
Ok... I did hacked the code to force DevMode to write "pretty" output, following is the diff of a "DemoApp.nocache.js" generated by DevMode and one compiled with 2 permutations (for 'gecko1_8' and 'safari'): 194,201d193 < function unflattenKeylistIntoAnswers(propValArray, value){ < var answe

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread Cristiano Costantini
Which JVM are you using? Apple's 1.6 or Oracle's 1.7? 32 bit or 64 bit? How much RAM has your mac? What's your build system or IDE? I have no problem on 2008 mbp with maverick, JDK 1.7 64 bit and 8 Gb ram, Building with maven and coding with Eclipse Kepler Il giorno martedì 5 novembre 2013, E.P.

Re: OutOfMemoryError after upgrade to OS X Mavericks

2013-11-05 Thread Cristiano Costantini
I had to install 1.6 too even if I had 1.7 installed, I think that is a Maverick feature started as soon as some java program starts... I use 1.7.0_40-b43, you may try a newer version too and with some luck it may work. Il giorno martedì 5 novembre 2013, E.P. ha scritto: > Hi Cristiano, > I'm

Re: GWT 2.6.0-rc1 error compiling

2013-11-08 Thread Cristiano Costantini
try using the following config for gwt-maven-plugin to specify using also gwt's rc1 dependencies: org.codehaus.mojo gwt-maven-plugin ${gwt.plugin.version} compile ... com.google.gwt gwt-dev ${gwt.version} com.google.gwt gwt-codeserver ${gwt.version} com.google.gwt gwt-user ${gwt.ver

Re: When GWT 2.6 final release

2014-01-27 Thread Cristiano Costantini
Ok good! please at least let's send a new message/announcment to the User and Contributor mailing list when such events happen :-) I see now that someone has announced it on G+ or other media, and someone has reported about availability of RCs into replies to other message but sometime I just read

Re: GWT 2.6.0 now available

2014-02-03 Thread Cristiano Costantini
Ehi all! Why not to update the website announcing the release on the homepage? If G+ GWT page is maintained, it could be also a good idea to integrate sort of a banner with its posts on gwtproject.org's home page, so to make it look more alive. It looks really sad the website now... Cristiano

Re: Development Mode will not be supported in Firefox 27+

2014-02-03 Thread Cristiano Costantini
Hi Brian, I wonder how does it works the development mode plugin? Isn't it possible to replace it with something in pure javascript that is based on Web Sockets? Yesterday I was making some test with this technology (see https://github.com/cristcost/gwt-websocket) and it it seems it has good supp

Re: Development Mode will not be supported in Firefox 27+

2014-02-04 Thread Cristiano Costantini
> > > No, because we need blocking I/O, synchronous communication with the > DevMode code server. > mmm, good point... can we just block with a while? > The only solution would be to use the remote debugging protocols so you > can really pause the execution in the browser while you do things in

Re: Development Mode will not be supported in Firefox 27+

2014-02-04 Thread Cristiano Costantini
webworkers? 2014-02-04 Thomas Broyer : > > > On Tuesday, February 4, 2014 10:38:34 AM UTC+1, Cristiano wrote: >> >> >>> No, because we need blocking I/O, synchronous communication with the >>> DevMode code server. >>> >> >> mmm, good point... >> can we just block with a while? >> > > Because JS

Re: Development Mode will not be supported in Firefox 27+

2014-02-04 Thread Cristiano Costantini
looking at the docs of webworkers and even them don't share any state, so it won't work it too... Anyway it would be great to find a workaround that don't require either Flash or browser plugin or Java Applet... 2014-02-04 Cristiano Costantini : > webworkers? > > &g

Re: Development Mode will not be supported in Firefox 27+

2014-02-04 Thread Cristiano Costantini
> > > No, really, the way forward is better tooling for SuperDevMode to provide > a similar experience to DevMode (i.e. never leave the IDE), and even allow > setting breakpoints and do step-by-step within JSNI. > > Oh if this is possible than I'm ok, I was thinking that with SuperDevMode I would h

Re: render a SVG graphic as bitmap?

2014-08-19 Thread Cristiano Costantini
Hi Magnus, you can use Apache Batik to write a Servlet that renders SVG and then sends to the browser the image as png or jpeg. Apache Batik is not updated since long time but it works quite well. We use Batik with this approach since 2010, to display maps that are stored on the server as SVG fil

Re: render a SVG graphic as bitmap?

2014-08-20 Thread Cristiano Costantini
Hi, You can use Apache Batik library and write a servlet that renders raster images from SVG files and serves them over http. Apache Batik is not uptaded since long time, but we use it successfully by some years to renders maps stored on the server in SVG format. Regards, Cristiano Il domenica

Re: render a SVG graphic as bitmap?

2014-08-20 Thread Cristiano Costantini
Sorry for the double message, I had problems with the mail app and it has delivered it now! Il mercoledì 20 agosto 2014, Cristiano Costantini < cristiano.costant...@gmail.com> ha scritto: > Hi, > You can use Apache Batik library and write a servlet that renders > raster images fro

Re: GWT 2.6.0 to 2.7.0 leads to compiler error 'java.lang.IncompatibleClassChangeError'

2014-12-03 Thread Cristiano Costantini
Hi, find out which dependency is including ASM and then try to exclude it in your pom.xml In our project, app-hmi-soaconnector was importing ASM as a sub-dependency due to CXF, so It did added the tag like you can see below directly in our main GWT web app project. --- app_main/hmi/app-gwt-weba