Re: "unread block data" exception when compiling

2017-02-14 Thread Paul Mazzuca
After adding a new module, I once again have received this error. My best guess is that it is related to the gwt-servlet dependency, however I am at a loss as to what is going on here. I think it would be hard for anyone to debug, however I was wondering if the stack trace means anything to any

Re: Animating images in GWT

2017-02-14 Thread Jonathan Cook
OK Thanks. Would that work as well if ultimately I will want to interrupt the timer to have buttons to pause the animation or sequence and continue? On Tuesday, 14 February 2017 16:31:22 UTC+1, Thomas Broyer wrote: > > > > On Tuesday, February 14, 2017 at 4:20:11 PM UTC+1, Jonathan Cook wrote: >>

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
to remove the -ea argument worked too. i could remove the comment in my xml file and got a positive result. Thank you by the way, yes i am using gwt version 2.7 Am Dienstag, 14. Februar 2017 11:52:33 UTC+1 schrieb Daniel Kln: > > Hi, > > i setted in the run config the arg: -Dgwt.args="-runStyl

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
Thank you thomas, caused by your hint i could find the mistake. in my gwt.xml file i added a block comment around: this solved the problem. Am Dienstag, 14. Februar 2017 11:52:33 UTC+1 schrieb Daniel Kln: > > Hi, > > i setted in the run config the arg: -Dgwt.args="-runStyle Manual:1". > > W

Re: GWT junit test in super dev mode???

2017-02-14 Thread Thomas Broyer
One workaround that just came to my mind: because code does not run in Java (prod mode), you don't need to run tests with Java assertions enabled (i.e. remove -ea from JVM arguments); GWT assertions are governed by an -ea flag in -Dgwt.args=, independent from the -ea flag of the JVM. HTH. On Tu

Re: GWT junit test in super dev mode???

2017-02-14 Thread Thomas Broyer
This looks like https://github.com/gwtproject/gwt/issues/9413 IIRC, it's triggered depending on how the tests are run, and which binding properties are defined in the gwt.xml files (in the reprocase for the issue, there's a binding property that's never used in any rebind rule; commenting it out

Re: Animating images in GWT

2017-02-14 Thread Thomas Broyer
On Tuesday, February 14, 2017 at 4:20:11 PM UTC+1, Jonathan Cook wrote: > > Hello, > > I wanted to know the best way of taking a list of images which come from > an HTTP request, each image then needs to be retrieved. > > I would then like to use the images to make an animation behaviour so it

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
My source code: @Override public String getModuleName() { return "de.abc.application.Application"; } /*** * Test 1 */ @Test public void testBrowserVersion() { System.out.println("Test 1: Starting test to validate the browser version"); JsArr

Animating images in GWT

2017-02-14 Thread Jonathan Cook
Hello, I wanted to know the best way of taking a list of images which come from an HTTP request, each image then needs to be retrieved. I would then like to use the images to make an animation behaviour so it looks like the list of images is for example is an animated gif. Moving between each

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
Hi Jens, i tried also tried your solution. Result: java.lang.AssertionError at com.google.gwt.dev.Permutation.assertSameAnswers(Permutation.java:105) at com.google.gwt.dev.Permutation.mergeFrom(Permutation.java:80) at com.google.gwt.dev.Precompile.precompile(Precompile.java:322) at com.google.gw

Re: GWT junit test in super dev mode???

2017-02-14 Thread Jens
You have to use -Dgwt.args="-prod -runStyle Manual:1" so that the test will be compiled to JS without the need of the legacy DevMode plugin. -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
the image shows my browser result. they say in the text that this should happen, but it doesn t work. so i need an alternativ with the same result except selenium. Am Dienstag, 14. Februar 2017 11:52:33 UTC+1 schrieb Daniel Kln: > > Hi, > > i setted in the run config the arg: -Dgwt.args="-runS

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
i am following this instruction (http://www.gwtproject.org/doc/latest/DevGuideTesting.html): Running your test in Manual Mode Manual-mode tests allow you to run unit tests manually on any browser. In this mode, the JUnitShell main class runs as usual on a specified GWT module, but instead of r

Re: GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
Hi, so i am using eclipse. Right click on the package, which contains the test class which extends from GWTTestCase -> Run as -> Run configurations -> Arguments -> VM arguments -> Setting argument -> Apply -> Run Console shows: Please navigate your browser to this URL: http://10.0.75.1:51428

Re: GWT junit test in super dev mode???

2017-02-14 Thread Velusamy Velu
I think if you provide details of your deployment process it could be easier to diagnose the issue. On Tuesday, February 14, 2017 at 5:52:33 AM UTC-5, Daniel Kln wrote: > > Hi, > > i setted in the run config the arg: -Dgwt.args="-runStyle Manual:1". > > When i start running the gwt unit test, i

GWT junit test in super dev mode???

2017-02-14 Thread Daniel Kln
Hi, i setted in the run config the arg: -Dgwt.args="-runStyle Manual:1". When i start running the gwt unit test, i get a link, which i have to paste into a browser of my choice. This is what i expected. But than the browser shows: Development Mode requires the GWT Developer Plugin My question