Re: 2.7.0 and module.nocache.js

2014-12-04 Thread Thomas Broyer
DevMode's new behavior of using SuperDevMode by default, the nocache.js has to contain the necessary bits to trigger "compile on load". When running DevMode with -nosuperDevMode though, there's a regression in 2.7: https://code.google.com/p/google-web-toolkit/issues/detail?id=9021 On Wednesday,

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Thomas Broyer
On Wednesday, December 3, 2014 3:57:21 PM UTC+1, Eduard Català wrote: > > Tank you Thomas, > > But restarting Jetty Server button does not work properly: At third > redeploy (50MB of jar libraries) an OutOfMemoryError is thrown, i suspect > that embedded jetty server is not properly restarted

Re: Load previous superdevmode state between devmode restarts (2.7.0)

2014-12-03 Thread Thomas Broyer
On Wednesday, December 3, 2014 1:37:13 PM UTC+1, Eduard Català wrote: > > Hi, > I'm working on a large gwt 2.7.0 project, we've to restart the web server > constantly to test server logic. > > When devmode (and superdevmode) starts we have to reload the page. Then we > have to wait the first su

Re: custom elementparser for UiBinder

2014-12-03 Thread Thomas Broyer
I haven't checked but I believe GwtBootstrap3 just implements HasWidgets (maybe extends ComplexPanel) and does some checks in addWidget and the like to make sure you use the correct child widgets. On Wednesday, December 3, 2014 2:31:05 PM UTC+1, AJ wrote: > > I finally got it! The issue was that

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

2014-12-02 Thread Thomas Broyer
You must have an incompatible version of ASM in your build path. ASM only ensures backwards compatible starting with version 4, earlier versions should have been repackaged but it's not always the case (people have listed Hibernate as a culprit for example) -- You received this message because

Re: Asynchronous population of combo

2014-12-01 Thread Thomas Broyer
There's a reason Activity#start takes an AcceptsOneWidget as argument rather than having to return an IsWidget: it can be asynchronous (and that's also why we have onCancel and onStop). So you can make your RPC in onStart and only call the AcceptsOneWidget#setWidget once you've populated the com

Re: New Run Configuration after GWT Update

2014-11-29 Thread Thomas Broyer
"Web Application (GWT Super Dev Mode)" replaces both of your run configurations: it starts DevMode with the embedded Jetty *and* using SDM under the hood. If you're using GWT 2.7, this is just DevMode with its new behavior; if you're using GWT 2.5 or 2.6 then a new JAR is added to the classpath

Re: Running new auto compile super dev mode from maven plugin

2014-11-29 Thread Thomas Broyer
Did you list all module sources in the build-helper-maven-plugin in the module you run gwt:run in? This is an unfortunate but necessary hack to get things working. On Friday, November 28, 2014 8:26:58 PM UTC+1, SP Gingras wrote: > > Hi Thomas, > > I tested "compile on refresh" (CoR) with your arc

[POLL] How much do you rely on gwt-maven-plugin gwt:compile's staleness check?

2014-11-28 Thread Thomas Broyer
Hi all, I've started a poll for those of you that use the gwt-maven-plugin: https://groups.google.com/d/topic/codehaus-mojo-gwt-maven-plugin-users/g0avDvocNlY/discussion -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe fro

Re: Docs updated for 2.7 ?

2014-11-28 Thread Thomas Broyer
There's still some work needed. For example, the "logging" page is now incomplete or wrong, and still references the LoggingSample that no longer exists. And the getting started, tutorials and "compile & debug" sections/pages indeed need an update. Contributions are more than welcome! However,

Re: SuggestBox and the underlying TextBox

2014-11-28 Thread Thomas Broyer
I've done some really crappy and brittle code in an app where we delay the check for a few milliseconds when triggered by ValueChangeEvent, to let the time for the SelectionEvent to possibly be triggered. But remember that this is a *suggest* box, not a "select box with type-ahead"; it gives su

Re: GWT HTTP errror 503, SERVICE UNAVAILABLE

2014-11-27 Thread Thomas Broyer
On Thursday, November 27, 2014 10:29:45 AM UTC+1, Wicky Tse wrote: > > I am new to GWT, Spring and Hibernate. When I run sample code in GWT, > Spring and Hibernate with oracle database, following error pops up. > > HTTP ERROR: 503 > > Problem accessing /ECMSoftware.html. Reason: > > Service Unav

Widget package alternative in 2.7.0

2014-11-26 Thread Thomas Broyer
No, they've just been, well, removed. I believe you can just use CellWidget with the appropriate Cell as an alternative. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, sen

Re: sinking bitless events on a widget

2014-11-24 Thread Thomas Broyer
IIRC, the eventBitsToAdd dance is there only to workaround memory leaks in old browsers, and is no longer needed most of the cases; and this is why sinkBitlessEvents doesn't do anything special: because it's designed for modern browsers that don't leak memory the way older ones did. Better profi

Re: GWT 2.7.0 and logging

2014-11-24 Thread Thomas Broyer
[+cc goktug] The gwt.logging.enabled property is now SEVERE by default (rather than TRUE previously), which compiles out every logging below level SEVERE. You have to set gwt.logging.enabled to TRUE to be able to log at INFO level. AFAICT, gwt.logging.logLevel only sets the *default* log level,

Using custom servlet for GWT-RPC with GWTTestCase

2014-11-23 Thread Thomas Broyer
For tests with JUnitShell, the servlets have to be declared in the .gwt.XML file with a element. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-w

Re: SDM with modular-webapp - no client-side debugging possible

2014-11-23 Thread Thomas Broyer
…where SDM will write a .nocache.js file that compiles on load. This is how DevMode calls SDM under the hood. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: SDM with modular-webapp - no client-side debugging possible

2014-11-22 Thread Thomas Broyer
BTW, how about using to have "recompile on load" instead of using the bookmarklets? On Saturday, November 22, 2014 10:33:02 AM UTC+1, Thomas Broyer wrote: > > Inspect the DOM, you might have a transparent element layered on top of > the SDM dialog (and have a look at the z

Re: SDM with modular-webapp - no client-side debugging possible

2014-11-22 Thread Thomas Broyer
Inspect the DOM, you might have a transparent element layered on top of the SDM dialog (and have a look at the zIndex for each; the SDM dialog uses a very high zIndex but maybe you're using one even higher?) On Saturday, November 22, 2014 7:42:22 AM UTC+1, Magnus wrote: > > I see, I am on my own

Re: ClassCastException when trying SuperDevMode on my application with 2.7

2014-11-22 Thread Thomas Broyer
+cc stalcup@ Any idea John? Roland, can you make a small repro-case? On Saturday, November 22, 2014 12:38:16 AM UTC+1, Roland wrote: > > With the advent of 2.7 I am determined to get going with SuperDevMode. > However, once my development environment (Eclipse) is all set to run the > code serv

Re: GWT compile fails with default Maven directory structure

2014-11-21 Thread Thomas Broyer
On Friday, November 21, 2014 6:54:29 PM UTC+1, Phineas Gage wrote: > > - You still want separate GWT and app engine SDKs installed in Eclipse, > even though you've also got them in your local maven repository. > I can't tell for App Engine, but why would you want a GWT SDK? -- You received th

Re: GWT compile fails with default Maven directory structure

2014-11-21 Thread Thomas Broyer
21, 2014 8:53:58 AM UTC+1, Phineas Gage wrote: > > On Friday, November 21, 2014 8:18:19 AM UTC+1, Thomas Broyer wrote: > >> Sounds like a bug or misconfiguration of the GPE. Is the project a "Maven >> project" in Eclipse? There might be some hard-coded paths in the GPE

Re: GWT compile fails with default Maven directory structure

2014-11-20 Thread Thomas Broyer
Sounds like a bug or misconfiguration of the GPE. Is the project a "Maven project" in Eclipse? There might be some hard-coded paths in the GPE (because of limitations of Eclipse) that are only triggered in one or the other "mode" (Maven vs. "simple" Eclipse project). E.g. "/test" being excluded

Re: How to use javascript's regular expression by jsni?

2014-11-20 Thread Thomas Broyer
"\s" and "\[" (among others) in a JS string are equivalent to "s" and "[", so you have to escape the backslash. Also, your "escape special characters" is messing with your regexp, turning your [0-9]{1,3} into \[0\-9\]\{1\,3\} (among others) which does not mean the same thing at all. Or maybe ju

Re: How to fight with a browser (Internet explorer) trivial problem?

2014-11-17 Thread Thomas Broyer
On Monday, November 17, 2014 12:14:45 PM UTC+1, Giuseppe Parrinello wrote: > > I have no *compilation-mappings.txt in my project war...is it a/the > problem? I see that file is present in examples project but isn't available > in mine!* > > This file is created by the xsiframe linkers family. I

Re: How to add GWT to a pure java library with maven?

2014-11-15 Thread Thomas Broyer
The "shared" module in the archetype is just that. Look at how it calls the maven-source-plugin's source:jar-no-fork (config inherited from parent's pluginManagement) and then how it's used in the "client" module (that uses both its classes and its sources). If your lib is a "client only" lib, t

Re: noClassDefFound in GPE using Luna, 2.7.0-rc1

2014-11-14 Thread Thomas Broyer
Have a look at the "Deprecations" section at http://www.gwtproject.org/release-notes.html#Release_Notes_2_7_0_RC1 On Friday, November 14, 2014 4:16:42 PM UTC+1, AJ wrote: > > Hi, I am trying to create a project using UiBinder and 1.7.0-rc1 and am > getting a noclassdef found for TreeLogger when

Re: SDM doesn't recompile generator files outside client package

2014-11-14 Thread Thomas Broyer
T DevMode, CodeServer or Compiler. > > Thanks a lot for the help. > > On Friday, November 14, 2014 6:23:53 PM UTC+5, Thomas Broyer wrote: >> >> You can use hot code replace; either through IntelliJ (see >> https://www.jetbrains.com/idea/help/reloading-clas

Re: SDM doesn't recompile generator files outside client package

2014-11-14 Thread Thomas Broyer
You can use hot code replace; either through IntelliJ (see https://www.jetbrains.com/idea/help/reloading-classes.html and https://www.jetbrains.com/idea/help/debugger-hotswap.html) or using tools like JRebel. On Friday, November 14, 2014 1:38:38 PM UTC+1, Ali Akhtar wrote: > > I have a project

Re: Generators in GWT 2.6.0.

2014-11-11 Thread Thomas Broyer
Your getSourceWriter method can explicitly return 'null', and you don't check for 'null' after you call it. On Tuesday, November 11, 2014 3:24:17 AM UTC+1, Łukasz Bączek wrote: > > W dniu 11.11.2014 o 02:03, Jens pisze: > > Put the generator outside of your path so that the gwt compiler does

Re: GWT throws random IllegalArgumentException in DevMode

2014-11-10 Thread Thomas Broyer
On Monday, November 10, 2014 3:40:32 PM UTC+1, dhoffer wrote: > > I read on http://mojo.codehaus.org/gwt-maven-plugin/whats_new.html that > 2.7-rc1 was updated to use 2.6.1?? That seems wrong to me. > Ah, forgot to update the maven site… -- You received this message because you are subscribe

Re: GWT 2.7.0-RC1 and collapse-property generating too many permutations?

2014-11-10 Thread Thomas Broyer
Are you sure there isn't any other deferred binding property that could generate the second permutation? The xsiframe linker (used by default in 2.7) should generate a compilation-mappings.txt file that can tell you which properties led to each permutation. On Monday, November 10, 2014 1:11:00

Re: GWT throws random IllegalArgumentException in DevMode

2014-11-10 Thread Thomas Broyer
gt; I'm using Firefox ESR 24.2.0. > > > > On Sun, Nov 9, 2014 at 4:39 PM, Thomas Broyer wrote: > >> I'd bet you're using Chrome. Search the issue tracker, it's a known bug >> with Chrome and the Dev plugin. >> >> -- >> You received this

Re: GWT, Eclipse and m2e

2014-11-10 Thread Thomas Broyer
On Monday, November 10, 2014 9:31:53 AM UTC+1, Francois ANDRE wrote: > > Hi Thomas, > > Thanks for your answer. > > Here is a stackoverflow post (december 2011) which points on the freezing > problem I was encoutering at this time ( > http://stackoverflow.com/questions/8564872/maven-project-buil

GWT, Eclipse and m2e

2014-11-09 Thread Thomas Broyer
M2E works great with GPE (and for more than 2 years) -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To po

GWT throws random IllegalArgumentException in DevMode

2014-11-09 Thread Thomas Broyer
I'd bet you're using Chrome. Search the issue tracker, it's a known bug with Chrome and the Dev plugin. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to go

Re: Running new auto compile super dev mode from maven plugin

2014-11-05 Thread Thomas Broyer
Check the classpath for DevMode (run Maven with "-X"). FYI, I ran tests with my https://github.com/tbroyer/gwt-maven-archetypes and "compile on refresh" worked OK. On Wednesday, November 5, 2014 8:16:43 AM UTC+1, Michael Wiles wrote: > > Hi all... > > So I'm trying out gwt 2.7-rc1 > > I'm using t

Re: Uncacheable .cache.js files ?

2014-11-03 Thread Thomas Broyer
Pro Tip: don't use "refresh" to test caching in Chrome, particularly when Development Tools are open. When I refreshed Google Groups, the request for the cache.js had a "Cache-Control: max-age=0" header. When copy/pasting the URL to another tab (with Dev Tools open), the file is served from cach

Re: How to update cell with timer

2014-11-01 Thread Thomas Broyer
On Thursday, October 23, 2014 3:22:13 PM UTC+2, Shaun Tarves wrote: > > Hi - > > I have created a custom cell that displays a "duration" of time between a > start date and end date (public class DurationCell extends AbstractCell< > Date[]>). If the end date is null, I would like the duration to

Re: Can not see GWT webpage

2014-11-01 Thread Thomas Broyer
The green "add to chrome" button is what will install the plugin. The form is just a screenshot. That being said, the plugin will stop working soon (it already stopped working for many of us, but apparently still works on Windows; but will likely no longer work with the next version of Chrome)

Re: GWT 2.7.0 RC1 available

2014-10-31 Thread Thomas Broyer
On Friday, October 31, 2014 2:10:14 PM UTC+1, Raphael Garnier wrote: > > Hi, > > I also use SDM with -noserver and I don't know wich directory I must chose > to have the refresh feature active. > > Here's the arguments : > >> -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl >

Re: GWT 2.7.0 RC1 available

2014-10-31 Thread Thomas Broyer
On Friday, October 31, 2014 1:48:09 PM UTC+1, rhmoller wrote: > > The gwt-dev-2.7.0-rc1.jar available through maven central has an empty > org/objectweb folder. All the asm classes are missing. > > The classes are present in the zipped version > Yes, when we deploy to Central, we strip out ASM

Re: GWT 2.7.0 RC1 available

2014-10-31 Thread Thomas Broyer
On Friday, October 31, 2014 11:05:57 AM UTC+1, Eduardo Guardiola wrote: > > Automatic recompiles when refreshing aren't working for me. My server side > is .Net and my web server is IIS (running DevMode using -noserver). Maybe > that feauture doesn't work it this scenario? > You have to pass -

Re: CodeServer vs DevMode for 2.7.0

2014-10-27 Thread Thomas Broyer
6.186.131:9080/icpGWT/icpGWT.jsp -war > /home/icomprice/workspace/icpGWT/war -remoteUI > "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -noserver > -codeServerPort 9997 icp.ui.cpGWT. > > I tried to add -superDevMode but with no luck. > > Thanks in ad

Re: CodeServer vs DevMode for 2.7.0

2014-10-27 Thread Thomas Broyer
On Monday, October 27, 2014 1:19:16 PM UTC+1, Filipe Sousa wrote: > > Hi, > > With gwt 2.7.0-beta1 should we > use com.google.gwt.dev.codeserver.CodeServer or com.google.gwt.dev.DevMode > with -superDevMode? > DevMode defaults to -superDevMode now. Which one you use depends on your needs. If

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-10-27 Thread Thomas Broyer
is that is used with > > > > com.123:map-gwt > > > Thanks > > On Sunday, September 14, 2014 5:07:05 AM UTC+2, Thomas Broyer wrote: >> >> Hi all, >> >> I spent some hours updating the gwt-maven-plugin to GWT 2.7.0-SNAPSH

Re: 2.7.0 Release Roadmap

2014-10-27 Thread Thomas Broyer
On Sunday, October 26, 2014 8:56:02 PM UTC+1, Oleg Cohen wrote: > > Greetings, > > Now that GWT 2.7.0-beta1 is out, I was wondering if there is a roadmap for > the 2.7.0 GA Release? > "It'll be ready when it's ready" You can find a list of remaining actions before release: https://docs.googl

Re: Browser Cache issue while switching to new version of GWT Application

2014-10-21 Thread Thomas Broyer
On Tuesday, October 21, 2014 10:22:52 AM UTC+2, Jens wrote: > > Is there a way to force the browser to recognize the new version? >> > > Yeah tell your server to set correct caching HTTP headers for any file > that is of the form *.nocache.* > > In your case your .nocache.js file is probably cac

Re: GWT RequestFactory. Could not locate setter for property id in type ...ui.server.entity.mc.BasketItem at com.google.web.bindery.requestfactory.server.ServiceLayerDecorator die(ServiceLayerDecorat

2014-10-20 Thread Thomas Broyer
On Monday, October 20, 2014 10:23:03 AM UTC+2, stepan kachan wrote: > > Hi all, i decided to use GWT Request Factory instead of RPC because of > complex type objects in my project. I face this error everytime when i try > to remove entity from List. > > public class BasketItem implements Seria

Re: JSNI - reference Java method from native JS method

2014-10-18 Thread Thomas Broyer
On Sunday, October 19, 2014 1:46:42 AM UTC+2, Magnus wrote: > > Hi, > > I want to define a hover handler in Java and reference it from JavaScript > in order to register it in a JS library: > > But the reference causes an error: > > public class MyClass > { > public native void myHandler (JavaScr

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Thomas Broyer
On Sat, Oct 18, 2014 at 12:26 AM, Thomas Broyer wrote: > > > On Friday, October 17, 2014 10:58:49 AM UTC+2, Thomas Broyer wrote: >> >> >> This is really really strange, as I'd swear that everything was working >> for me with Maven 3.0.5 (before sending the

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Thomas Broyer
On Friday, October 17, 2014 10:58:49 AM UTC+2, Thomas Broyer wrote: > > > This is really really strange, as I'd swear that everything was working > for me with Maven 3.0.5 (before sending the patch to update the samples in > GWT, I ran "mvn clean verify" and the

Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-17 Thread Thomas Broyer
On Friday, October 17, 2014 11:59:02 AM UTC+2, Ralf Klemmer wrote: > > First, thanks for all your replies! > > If I understand Thomas right, it is possible to use RF as a single > endpoint for GWT-Clients and Rest-Clients. Well that's great to know. > All you need is to use RequestFactorySourc

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-17 Thread Thomas Broyer
d the build *downloads* it, it > claims it can't find it. Full gist from debug log: > https://gist.github.com/niloc132/da63de6d8e8da90f49d7 > This is really really strange, as I'd swear that everything was working for me with Maven 3.0.5 (before sending the patch to update

Re: SDM incremental compiles and generators

2014-10-16 Thread Thomas Broyer
On Wednesday, October 15, 2014 4:14:49 PM UTC+2, Gal Dolber wrote: > > I kept digging on this issue. I was wrong before, its not that the > presenters reference the injector, the problem is that on every recompile > gwt add the entry point and trace all the reachable classes on the project. >

Re: Devmode (the classic one) using trunk

2014-10-16 Thread Thomas Broyer
On Thursday, October 16, 2014 12:36:45 PM UTC+2, Alberto Mancini wrote: > > indeed "option 2" of the post solves the problem. > Just to make sure: did you "locally" built master, or are you relying on the snapshots we deploy daily to Sonatype OSSRH? -- You received this message because you a

Re: RPC vs. RequestFactory vs. RestyGWT

2014-10-16 Thread Thomas Broyer
On Thursday, October 16, 2014 3:22:47 PM UTC+2, Ümit Seren wrote: > > I have been using RequestFactory extensively for a project and I must say > that although it is pretty well engineered, the learning curve is quite > high. > +1 > If you have a CRUD heacy application where you send and r

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
> > > > On Thu, Oct 16, 2014 at 1:57 PM, Thomas Broyer wrote: > >> gwt-maven-plugin snapshots are deployed to codehaus, but the plugin >> depends on GWT snapshots which are at sonatype, and Maven thus uses the >> pluginRepositories to download them as dependencies

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
checked the > https://gwt.googlesource.com/gwt/+/master/samples/dynatablerf/pom.xml > sample it had also the > https://oss.sonatype.org/content/repositories/google-snapshots/ as > a pluginRepository ? > > Where do you deploy the latest gwt-maven snapshot to sonatype or codehaus

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-16 Thread Thomas Broyer
on BuildHive) and 3.2 (on Travis-CI) but failed on my machine (3.0.5). Trying with 3.2.3 on my machine, things worked. The error was exactly the same wrt com.google.web.bindery:requestfactory. The error about ASM is strange though, it's in Central so it should Just Work™, unless you have some

Re: Vraptor 3.5.2 + RequestFactory Gwt

2014-10-14 Thread Thomas Broyer
AFAICT, VRaptor uses CDI, and CDI isn't that different from Guice; which means you should be able to use https://github.com/tbroyer/gwt-maven-archetypes/tree/master/guice-rf-activities/src/main/resources/archetype-resources/__rootArtifactId__-server/src/main/java as an inspiration (replace Gui

Re: PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-12 Thread Thomas Broyer
/org.ow2.asm/asm/5.0.3 it worked > again. > > > > El diumenge 12 d’octubre de 2014 10:35:09 UTC+2, Thomas Broyer va escriure: > >> Hi all, >> >> If you're using 2.7.0-SNAPSHOT, your build might start failing as of >> today as we started unbundling d

PSA: starting unbundling dependencies from gwt-dev published to Maven Central, could break your build

2014-10-12 Thread Thomas Broyer
Hi all, If you're using 2.7.0-SNAPSHOT, your build might start failing as of today as we started unbundling dependencies from gwt-dev as published to the Central Repository. java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor If you get this error, be sure to also update your gwt-m

Re: Exception-undefined is not a function(While adding anchor to htmlpanel)

2014-10-08 Thread Thomas Broyer
On Wednesday, October 8, 2014 12:48:50 PM UTC+2, Mohammed Sameen wrote: > > Thanks Thomas,But i cant upgrade to GWT 2.7 right now i am using 2.6.Is > there any other way? > Super Dev Mode exists since 2.5, it's just easier to use (and faster!) with 2.7 than in previous versions. To get the "ea

Re: Exception-undefined is not a function(While adding anchor to htmlpanel)

2014-10-08 Thread Thomas Broyer
There might have been an error injecting the JSNI into the page. I'd strongly suggest you try Super Dev Mode (this will be the default in GWT 2.7; I'd suggest you try 2.7.0-SNAPSHOT, JARs are available from https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/ , the very

Re: Attaching Source Maps when injecting external java script file

2014-10-08 Thread Thomas Broyer
On Wednesday, October 8, 2014 4:31:45 AM UTC+2, Milan Cvejic wrote: > > Actual problem is using minified version of jQuery library that is hosted > on some other servers (eg. google) and I can not change that. > > Therefore I am asking is there any way to make GWT to include source maps > when

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-10-03 Thread Thomas Broyer
t any more. > > no mather what values i try to pass > true in my pom.xml and run mvn gwt:run > -Dgwt.superDevMode=true > > SuperdevMode with auto recompile is not started. > > Ps. your suggestion was working before. > > Regards, > Mihai > > On Friday, October 3, 2

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-10-03 Thread Thomas Broyer
Should be fixed now (in master, and I just deployed a new snapshot). I also updated how we pass -superDevMode to the DevMode as the default behavior has changed in GWT proper. On Thursday, October 2, 2014 3:28:23 PM UTC+2, Thomas Broyer wrote: > > Ah, right. I'll fix it ASAP (add gwt

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-10-02 Thread Thomas Broyer
; [ERROR] ... 6 more > > > It only starts if i set: > false > > Thanks, > > On Sunday, September 14, 2014 6:07:05 AM UTC+3, Thomas Broyer wrote: >> >> Hi all, >> >> I spent some hours updating the gwt-maven-plugin to GWT 2.7.0-SNAPSHOT, >> and j

Re: SuperDevMode with -noserver and remote server

2014-10-01 Thread Thomas Broyer
On Wednesday, October 1, 2014 1:16:23 AM UTC+2, Rogelio Flores wrote: > > Mmm, could it be that my remote server uses HTTPS? I see a javascript > warning about this in the console, and just noticed in the release notes > something about super dev mode being disabled for security reasons in that

Re: SuperDevMode with -noserver and remote server

2014-09-30 Thread Thomas Broyer
On mobile right now so can't look it up but have a look at the release notes, then search in StackOverflow for how to use it. Note this must be enabled before compiling and deploying to your remote server IIRC. -- You received this message because you are subscribed to the Google Groups "Googl

Re: How to calculate ages correctly in GWT?

2014-09-30 Thread Thomas Broyer
On Tuesday, September 30, 2014 1:47:59 PM UTC+2, Joseph Lust wrote: > > You should use Joda Time. GWT *does support Joda Time.* > Looks like you forgot the link's href, or Google Groups eat it… -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit"

Re: Unable to disable debug IDs

2014-09-30 Thread Thomas Broyer
There's no way to override/set GWT binding or configuration properties form the command line; you have to use a gwt.xml file. But you can simply use a gwt.xml file that your main gwt.xml, rename-to="" the same, and redefines some properties. See "Renaming modules" in http://www.gwtproject.org/

Re: Logging properties and classes

2014-09-30 Thread Thomas Broyer
On Tuesday, September 30, 2014 11:28:12 AM UTC+2, Luca wrote: > > Well, not really a bit... > > Being a 2.x I would expect not to have API compatibility broken, > GWT does not follow SemVer. But I agree we should probably have those 2 properties defined in 2.7 even if they're never used, an

Re: GWT 3

2014-09-29 Thread Thomas Broyer
On Monday, September 29, 2014 1:24:24 AM UTC+2, Sathyanarayanan Thilakan wrote: > > Hello, > > Can you please share when GWT 3.0 is expected to come out and the key > features in GWT 3.0 ? > Hey, funny Daniel Kurka just answered those questions on Twitter a few hours ago! About the what: “Jav

Re: Is there a tutorial that explains Places and Hyperlinks?

2014-09-25 Thread Thomas Broyer
That's because they don't use Places, so they don't NEED a colon. GWT is a set of tools (hence "toolkit") that work well together, but each has its purpose, and should IMO be learned separately before being used together. BTW, when using Places, you can do better with a widget that calls PlaceC

Re: GWT version with Java 8 support

2014-09-25 Thread Thomas Broyer
On Thursday, September 25, 2014 3:57:33 PM UTC+2, Thanos wrote: > > There were initially two aspects to java8 support. > 1) Lambda compilation > 2) SDK emulation > > It was indicated that 1 but not 2, may still make GWT 2.7. Allowing for > some of the benefits for reduced verbosity now, if you

Re: Webfonts with ClientBundle, UiBinder

2014-09-24 Thread Thomas Broyer
On Tuesday, September 23, 2014 11:36:59 PM UTC+2, Jens wrote: > > You need to define the font using @font-face. > > By default fontawesome.css contains > > @font-face { > font-family: 'FontAwesome'; > src: url('../fonts/fontawesome-webfont.eot?v=4.2.0'); > src: url('../fonts/fontawesome-web

Re: only type string and int properties can been inserted to the class?

2014-09-24 Thread Thomas Broyer
On Wednesday, September 24, 2014 9:31:36 AM UTC+2, wahaha wrote: > > Enum values? > how to pass a enum value from a ui.xml file? > IIRC, by name: enumProperty="ENUM_VALUE". If that doesn't work, the enum value(s) and then use an expression: … enumProperty="{ENUM_VALUE}" > > On Sunday, Sep

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-24 Thread Thomas Broyer
Build is back to normal, new snapshots available. http://build.gwtproject.org/job/gwt/193/ On Tuesday, September 23, 2014 12:00:56 PM UTC+2, Thomas Broyer wrote: > > > > On Tue, Sep 23, 2014 at 11:12 AM, Luca wrote: > >> I can't find Maven dependencies.

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-23 Thread Thomas Broyer
On Tue, Sep 23, 2014 at 11:12 AM, Luca wrote: > I can't find Maven dependencies. > > Here > > > https://oss.sonatype.org/content/repositories/google-snapshots/com/google/gwt/gwt-user/2.7.0-SNAPSHOT/ > > No jars or poms. > > What am I missing ? > Hmm, the maven-metadata.xml has been updated yester

Re: GWT with Maven and Spring

2014-09-22 Thread Thomas Broyer
On Monday, September 22, 2014 12:32:50 PM UTC+2, Dilan A wrote: > > > > On Monday, 22 September 2014 01:07:47 UTC+10, Thomas Broyer wrote: >> >> The default scope in Maven is "compile", there's no scope named "default". > > > Thanks f

GWT with Maven and Spring

2014-09-21 Thread Thomas Broyer
The default scope in Maven is "compile", there's no scope named "default". -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@g

Re: GWT for Distribuited Computing

2014-09-19 Thread Thomas Broyer
On Friday, September 19, 2014 12:32:34 AM UTC+2, Vincenzo Sambito wrote: > > Hello world, novice of Java my passion are the prime numbers for which I > developed this www.vincs.it which is among the top of Google search with > non-specific tag. Now, with this theory, I want to compete vs this

Re: Inside GWT compiler. How it works, and dose it use some interim outputs(eg XML )

2014-09-19 Thread Thomas Broyer
There's also http://youtu.be/OGoJ451yiWM, no idea if (and how) the content is different though. On Friday, September 19, 2014 2:18:03 AM UTC+2, Jens wrote: > > Take a look at http://gwtcreate.com/2013/videos/#compiler-deep-dive > > -- J. > -- You received this message because you are subscribed

Re: recognizing errors in embedded JS code

2014-09-18 Thread Thomas Broyer
Maybe GWT could warn when the JS accesses variables that are not "in scope" and not part of a whitelist of known globals (such as "window" or "$wnd"); that way, if 'i' was a global, you'd have to use 'window.i" to access it without a warning. Worth suggesting this as an enhancement in the issue

Re: onSubmitComplete not fired

2014-09-18 Thread Thomas Broyer
>From the javadoc: > > The back-end server is expected to respond with a content-type of > 'text/html', meaning that the text returned will be treated as HTML. If any > other content-type is specified by the server, then the result HTML sent in > the onFormSubmit event will be unpredictable acro

Re: Reskinning a GWT application that uses ClientBundles and CssResources

2014-09-18 Thread Thomas Broyer
On Thursday, September 18, 2014 11:00:13 AM UTC+2, matt tate wrote: > > Hello all, > > We've a large GWT app that relies heavily on UiBinder for layout and > ClientBundles and CssResources for style. We are now faced with a company > rebrand that requires us the change the fonts, images and col

Re: Unable to read repository from Eclipse 3.6

2014-09-17 Thread Thomas Broyer
You'll probably have better chances on https://groups.google.com/d/forum/google-plugin-eclipse or StackOverflow with the "google-plugin-eclipse" tag (see the opening/pinned message in the google-plugin-eclipse forum) On Wednesday, September 17, 2014 4:53:56 PM UTC+2, Brett McLain wrote: > > Run

Re: What to do when GWT finds no permutation for browser

2014-09-17 Thread Thomas Broyer
On Wednesday, September 17, 2014 8:18:58 AM UTC+2, Jack Thompson wrote: > > What would be the best way to handle situation where GWT bootstrap code > does not find a suitable permutation for the browser (Opera Mini for > example)? By default the user gets a blank html page when this happens. >

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-16 Thread Thomas Broyer
Fixed in master, and new snapshot deployed. On Monday, September 15, 2014 11:52:14 PM UTC+2, Thomas Broyer wrote: > > Doh, don't know why, I'm passing nosuperDevMode if superDevMode is false, > as if it's enabled by default in GWT. Will fix as soon as I find a computer.

Re: gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-15 Thread Thomas Broyer
d seems that DevMode with -superDevMode option > is not being passed. > I tried either, set true in my pom.xml and > run mvn gwt:run -Dgwt.superDevMode=true but in both cases DevMode.main > is not receiving the -superDevMode argument. > > Am I doing something wrong? > > - Man

Re: GWT 2.2.0 does not serialize/deserialize basic Java types if not referenced explicitly

2014-09-15 Thread Thomas Broyer
On Monday, September 15, 2014 6:57:24 AM UTC+2, Justin Zhang wrote: > > Hi GWT experts, > I had a problem with the GWT-RPC on 2.2.0 and above. > > I have a generic service interface which serves as multiple RPC > requests depending on the value of event parameter: > > @RemoteServiceRelati

gwt-maven-plugin 2.7.0-SNAPSHOT

2014-09-13 Thread Thomas Broyer
Hi all, I spent some hours updating the gwt-maven-plugin to GWT 2.7.0-SNAPSHOT, and just deployed a snapshot to the https://nexus.codehaus.org/content/repositories/snapshots/ repository. You should thus be able to test GWT 2.7.0-SNAPSHOT more easily by switching to gwt-maven-plugin 2.7.0-SNAPS

Re: SeedTable is taking 6% of my applications memory

2014-09-12 Thread Thomas Broyer
On Friday, September 12, 2014 1:44:57 PM UTC+2, Jan Thewes wrote: > > Ok I'm not sure if my "seedTable" guess was correct. > When looking at my window object I see the seedTable property. But what > you can see in my original attached screenshot is not my seedTable. > Can anyone help me and tell

Re: GWT-SL 1.5 released

2014-09-11 Thread Thomas Broyer
On Thursday, September 11, 2014 4:35:24 PM UTC+2, George Georgovassilis wrote: > > Dear all, > > It has been quiet for a while, but we're back with news: > > >- The project repository moved to github: >https://github.com/ggeorgovassilis/gwt-sl >- Updated dependencies to GWT 2.6 and

Re: Unit Test for GWT Activities and Places

2014-09-11 Thread Thomas Broyer
On Thursday, September 11, 2014 11:46:49 AM UTC+2, VaraKalyan Maddi wrote: > > > Hi All, > > I couldn't get much documentation about unit testing for activities and > places. > Can any one point me an example or an doc for this. > Well, there's not much to say. PlaceTokenizers and ActivityMapp

Re: Producing output with two different linkers at one compile

2014-09-11 Thread Thomas Broyer
On Thursday, September 11, 2014 10:36:22 AM UTC+2, Bora wrote: > > Is there a way to define two linkers and produce output from both to the > same output directory in GWT? the element "add-linker" does not actually > add a new linker but overrides the previously defined one. > This is only true

Re: Getting java.lang.NoClassDefFoundError: com.google.gwt.user.server.rpc.RemoteServiceServlet

2014-09-11 Thread Thomas Broyer
Do you have a gwt-servlet JAR in your webapp's WEB-INF/lib? If not, look no further. On Thursday, September 11, 2014 7:43:32 AM UTC+2, hihiren1 wrote: > > Hi, > > We have upgraded gwt 2.6.1. We have resolved all the deprecation warnings > which came due to gwt upgrade. > > Following is the stack

Re: requestfactory-apt.jar misvalidates java.util.Map?

2014-09-10 Thread Thomas Broyer
On Wednesday, September 10, 2014 11:49:10 AM UTC+2, Gordan Krešić wrote: > > https://code.google.com/p/google-web-toolkit/issues/detail?id=5974 seems > to cover this, but from comments it is unclear whether it is solved in > compiler but not in annotations processor and why its status is still

<    7   8   9   10   11   12   13   14   15   16   >