[gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread Michael Zhou
I have a test under gwt-user/core/test/com/google/gwt/emultest/ that I want to run in Eclipse. I imported gwt-user and gwt-dev according to trunk/eclipse/README.md. When I run the test as a JUnit test, I get: com.google.gwt.junit.JUnitFatalLaunchException: The test class

Re: [gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread 'Daniel Kurka' via GWT Contributors
Hi Michael, you are probably missing adding all required source roots to the class pathso that the compiler can find the .java .files. If you go to your Run Configuration under Classpath, hit adavanced and add all required folders At least you should add: dev/core/super/ user/src/ user/super/

Re: [gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread Michael Zhou
Thanks Daniel, adding gwt-dev/core/super/ gwt-user/core/src/ gwt-user/core/super gwt-user/code/test works. Michael On Friday, February 12, 2016 at 7:47:38 AM UTC-5, Daniel Kurka wrote: > > Hi Michael, > > you are probably missing adding all required source roots to the class > pathso that

[gwt-contrib] Re: Compiler failing with java 7

2016-02-12 Thread Brandon Donnelson
I would choose Java 1.8 all the way if you have to choose. I would do this because this is going to be a long standing maintenance release. Just a note, the Eclipse neon out in June will require Java 1.8. I think it makes sense to upgrade. I think folks can go through the pain of upgrading

[gwt-contrib] Re: Compiler failing with java 7

2016-02-12 Thread Colin Alworth
Switching to gwt-contrib, we're losing voices who are involved in this discussion. Maybe I am missing something, but I had that that the discussion moved toward the fact that the compiler and dev mode will require Java8, but that gwt-servlet could still be compiled to Java7, allowing deployment

Re: [gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread Michael Zhou
Hi Daniel, Is there a way to print / log stuff / debug when running a GWTTestCase in Eclipse? System.out.println() or breakpoints aren't working for me. Michael On Friday, February 12, 2016 at 7:47:38 AM UTC-5, Daniel Kurka wrote: > > Hi Michael, > > you are probably missing adding all

Re: [gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread 'Daniel Kurka' via GWT Contributors
If you want to see the console output use a browser to do so, simply pass this in your args: -Dgwt.args='-runStyle Manual -style PRETTY -setProperty compiler.stackMode=native -port 5454' Once the test is compiled it will print a url that you can paste into any browser and run the test there.

Re: [gwt-contrib] Not able to run GWTTestCase in Eclipse

2016-02-12 Thread Michael Zhou
The test still finishes in Eclipse, so when I go to that URL I get an ERR_CONNECTION_REFUSED... On Friday, February 12, 2016 at 4:33:32 PM UTC-5, Daniel Kurka wrote: > > If you want to see the console output use a browser to do so, simply pass > this in your args: > > -Dgwt.args='-runStyle