--
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-tool...@googlegroups.com.
To post to this group, send email to google-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
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?
-remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl http://localhost:8080/tablet.jsp -logLevel INFO -noserver -workDir "${resource_loc:/cassis-tablet/target/gwtc/work}" -launcherDir "${resource_loc:/cassis-tablet/target/gwtc/work/fr.agfahealthcare.cassis.CassisTablet/compile-1/war}" -war "${resource_loc:/cassis-tablet/target/cassis-tablet-1.0-SNAPSHOT}" -codeServerPort 8888 -bindAddress 0.0.0.0 fr.agfahealthcare.cassis.CassisTablet_dev
Runing CodeServer with parameters: [-noprecompile, -port, 8888, -sourceLevel, 1.7, -bindAddress, 0.0.0.0, -workDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\work, -launcherDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\cassis-tablet-1.0-SNAPSHOT, -logLevel, INFO, fr.agfahealthcare.cassis.CassisTablet_dev]
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
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 http://localhost:8080/tablet.jsp -logLevel INFO -noserver -workDir "${resource_loc:/cassis-tablet/target/gwtc/work}" -launcherDir "${resource_loc:/cassis-tablet/target/gwtc/work/fr.agfahealthcare.cassis.CassisTablet/compile-1/war}" -war "${resource_loc:/cassis-tablet/target/cassis-tablet-1.0-SNAPSHOT}" -codeServerPort 8888 -bindAddress 0.0.0.0 fr.agfahealthcare.cassis.CassisTablet_dev
and the launch log :Runing CodeServer with parameters: [-noprecompile, -port, 8888, -sourceLevel, 1.7, -bindAddress, 0.0.0.0, -workDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\work, -launcherDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\cassis-tablet-1.0-SNAPSHOT, -logLevel, INFO, fr.agfahealthcare.cassis.CassisTablet_dev]
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 http://localhost:8080/tablet.jsp -logLevel INFO -noserver -workDir "${resource_loc:/cassis-tablet/target/gwtc/work}" -launcherDir "${resource_loc:/cassis-tablet/target/gwtc/work/fr.agfahealthcare.cassis.CassisTablet/compile-1/war}" -war "${resource_loc:/cassis-tablet/target/cassis-tablet-1.0-SNAPSHOT}" -codeServerPort 8888 -bindAddress 0.0.0.0 fr.agfahealthcare.cassis.CassisTablet_devand the launch log :Runing CodeServer with parameters: [-noprecompile, -port, 8888, -sourceLevel, 1.7, -bindAddress, 0.0.0.0, -workDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\gwtc\work, -launcherDir, D:\Users\AWTCK\Documents\Developpement\Workspace\cassis\cassis-tablet\target\cassis-tablet-1.0-SNAPSHOT, -logLevel, INFO, fr.agfahealthcare.cassis.CassisTablet_dev]As you said Thomas, I have to change the -launcherDir, but I don't know what to use ?
-launcherDir ${resource_loc:cassis-server/target/cassis-server-1.0-SNAPSHOT}
--
When I try to compile a project that uses java 8 features I get an error like the following: Tracing compile failure path for type 'com.example.SomeClass' [ERROR] Errors in 'file:src/com/example/SomeClass.java' [ERROR] Line 31: Lambda expressions are allowed only at source level 1.8 or above [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly The project sdk and language level are java 8. I tried to set the sourceLevel to 1.8, but when I compile with '-sourceLevel 1.8' I get Source level must be one of [auto, 1.6, 1.7]. Google Web Toolkit 2.7.0-rc1 So, is java 8 support just not there yet or am I missing something? If not, will it be in the final release?
It's not supported yet.
On 3 November 2014 09:42, Florian Friemel <florian...@gmail.com> wrote:
Hi,about the java 8 support:When I try to compile a project that uses java 8 features I get an error like the following: Tracing compile failure path for type 'com.example.SomeClass' [ERROR] Errors in 'file:src/com/example/SomeClass.java' [ERROR] Line 31: Lambda expressions are allowed only at source level 1.8 or above [ERROR] Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly The project sdk and language level are java 8. I tried to set the sourceLevel to 1.8, but when I compile with '-sourceLevel 1.8' I get Source level must be one of [auto, 1.6, 1.7]. Google Web Toolkit 2.7.0-rc1 So, is java 8 support just not there yet or am I missing something? If not, will it be in the final release?
--
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+unsub...@googlegroups.com.
any info on when it will be supported?
1- First of all, I actually have a problem with my huge project, and the browser says:Uncaught com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded Impl.java:286entry0_0_g$ Impl.java:286(anonymous function)How can I ever guess what's wrong with the app, or where to put a breakpoint with this???
2- Second argument: it's true the recompilation is blazing fast. But in the developement phase it is very common to add or remove methods (on the server side), or to do things the JVM cannot handle without restart. So I've found I'm loosing a lot more time than in the emulated mode, since the first page display is always very very very long (above 2 minutes), and this gets the developer distracted and forgetting what he wanted to do.
1- First of all, I actually have a problem with my huge project, and the browser says:Uncaught com.google.gwt.core.client.JavaScriptException: (RangeError) : Maximum call stack size exceeded Impl.java:286entry0_0_g$ Impl.java:286(anonymous function)How can I ever guess what's wrong with the app, or where to put a breakpoint with this???Tell Chrome to stop on any exception (in DevTools under "Sources" the small sign button on the right).
2- Second argument: it's true the recompilation is blazing fast. But in the developement phase it is very common to add or remove methods (on the server side), or to do things the JVM cannot handle without restart. So I've found I'm loosing a lot more time than in the emulated mode, since the first page display is always very very very long (above 2 minutes), and this gets the developer distracted and forgetting what he wanted to do.Use DevMode -noserver or start CodeServer directly. Obviously you need a local app server then to serve your server side code. We do it that way (to have the same production env locally) and I rarely restart my CodeServer. Also take a look at: https://gwt-review.googlesource.com/#/c/9450/
This is just one of the encountred issues: it also happened to me that the breakpoint didn't stop when I've put it inside a click handler, I never understood why but I had to do a workaround. Sometimes I put the breakpoint on a java source and it breaks in the js code instead..!??
So sure there's a learning curve and a jump has to be done here, but let's not forget that the strength of GWT was to write in java and have a js compatible to all browsers. Now we have: write in Java in your usual tools, but leave you environement when you'll have to debug and by the way, learn all the js tricks and learn the chrome dev tools, and then also learn how to read the values in js. Also eventually keep calm since the tools are not always stable :). I mean, the "kepp your java skills and we'll handle the js" is not that true anymore...
Actually I started the code server separately then when I launched with eclipse I found eclipse was launching the code server with no need for my separate launch. I therefore assumed it was kind of harcoded in the plugin.The most stressing point on this is that I have to guess to understand what is happening. Documentations are quite brief with step by step description but no explaining that -noserver will allow you to launch your code server alone.I know how hard it is for someone who knows well a product to write a lear documentation, since there are a lot of assumptions that things are obvious (where actually they are not and the reader may not even know the thing exists at all).
--
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-tool...@googlegroups.com.
Plus, it's a great editor to create screens quickly and on-the-fly. I second your opinion.
On Tue, Nov 11, 2014 at 12:32 PM, Alfred S <alf...@sterphone.com> wrote:
What's the reasoning behind deprecating GWT Designer? I feel like it was a useful tool, especially for beginners. It helped me sell the idea of using GWT on some projects.
On Wednesday, October 29, 2014 8:05:30 PM UTC-4, Daniel Kurka wrote:Hi all,I just build the GWT 2.7.0 RC1 and pushed it to maven central. The complete SDK is also available from here.Please start testing and let us know if you run into any trouble. You can either reply to this thread on gwt-contrib or file a bug.We are planing to release this as GWT 2.7.0 if we do not here about any serious issues within the next two weeks. The release notes for RC1 will be made available shortly after this notice, in the mean time you can take a look at the review for the release notes.Daniel,on behalf of the GWT team
--
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+unsub...@googlegroups.com.