[gwt-contrib] Issues for GWT.create contributor workshop

2013-10-16 Thread Daniel Kurka
Hi all,

It is about time to start tagging issues for the GWT.create workshops. I
added michael from vaadin to the gwtproject, so he can help with this as
well.
I created a label for the issues that are possible candidates for the
workshops (Category-GWT-create-conference).
If you find anything that looks particular easy and a good first step for
someone who wants to start contributing, please add this tag to the issue
(and if not assigned, assign it to micheal@).

-Daniel

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: GWT contribution workshop

2013-10-16 Thread Michael Vogt
Thank you for your answers.

Thomas, are the Gradle files with your changes available somewhere? Do
you think they will be ready to use for GWT.create?

In regards to the Eclipse read me file, I have the feeling that this
can be improved, and optional steps marked accordingly. I could work
on it, when this is ok to do.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: GWT contribution workshop

2013-10-16 Thread Thomas Broyer


On Wednesday, October 16, 2013 9:04:00 AM UTC+2, Michael Vogt wrote:

 Thank you for your answers. 

 Thomas, are the Gradle files with your changes available somewhere? Do 
 you think they will be ready to use for GWT.create? 


Not yet. I'll publish it soon though (probably on GitHub, until it's done)
 

 In regards to the Eclipse read me file, I have the feeling that this 
 can be improved, and optional steps marked accordingly. I could work 
 on it, when this is ok to do.


Sure it could be improved!
For instance, we removed the order check in checkstyle one year ago 
(almost to the day), i.e. we no longer enforce the ordering of methods by 
visibility and name, so the configuration in Eclipse can be removed.
FYI, we got rid of it because changing the visibility of a method would 
have meant to move it in the file, which makes reviews harder than 
necessary. We defer to good judgement and code reviews where to put new 
methods (and we might re-introduce some checkstyle checks)

One thing that could be done during the workshop is updating the checkstyle 
configuration files to the new format so we're no longer tied to an old 
version of checkstyle!

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: GWT contribution workshop

2013-10-16 Thread Michael Vogt
 One thing that could be done during the workshop is updating the checkstyle
 configuration files to the new format so we're no longer tied to an old
 version of checkstyle!

What needs to be done for updating the configuration? I have problems
with CheckStyle here. It is choking on unicode characters. When I can
make the change I could try if a newer version fixes the problem. That
way the new file would already available for the workshop.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: GWT contribution workshop

2013-10-16 Thread Thomas Broyer

On Wednesday, October 16, 2013 12:36:19 PM UTC+2, Michael Vogt wrote:

  One thing that could be done during the workshop is updating the 
 checkstyle 
  configuration files to the new format so we're no longer tied to an old 
  version of checkstyle! 
  
 What needs to be done for updating the configuration? I have problems 
 with CheckStyle here. It is choking on unicode characters. When I can 
 make the change I could try if a newer version fixes the problem. That 
 way the new file would already available for the workshop. 


See http://checkstyle.sourceforge.net/releasenotes.html#Release_5.0
We use RegexpHeader, GenericIllegalRegexp, and PackageHtml.

We also use DoubleCheckedLocking, which was removed in Checkstyle 5.6

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Can someone explain me why I get the following error?

2013-10-16 Thread Cristiano
Hi All

maybe I can be a little off-topic posting here but this is not an usual 
user question and hopefully some contributor can help me.

I want to understand an error that I get in DevMode. The error is the 
following:

00:00:09,841 [ERROR] Unable to initialize static dispatcher

java.lang.UnsupportedClassVersionError: 
com/google/gwt/core/client/JavaScriptObject$ : Unsupported major.minor 
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at 
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1121)
at 
com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1194)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:347)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:680)


I'm not working on the standard release of GWT, I'm running a custom build 
coming from current GWT development.

To make things more weird, I'm running the application on a Jetty 7 server 
(with -noserver option) and debugging with DevMode using the following code 
snippet:

String[] newArgs = (-noserver -war target/webapp -startupUrl gwt.html 
   +  -logLevel INFO -codeServerPort 9997  
   + net.cristcost.test.gwt.DemoApp).split( ); 
DevMode.main(newArgs);

I get that error when I try to open the page with the GWT app in DevMode 
(http://localhost:8080/gwt.html?gwt.codesvr=127.0.0.1:9997)

With GWT 2.5.1 everything was working, but I had an issue and I needed to 
exclude org.eclipse.jdt.core dependency from the project due to 
incompatibility with GWT:  

dependency 
   groupIdorg.eclipse.jetty/groupId 
   artifactIdjetty-jsp/artifactId 
   version${jetty.version}/version 
   scopetest/scope 
   !-- This dependency cause issue in GWT compilation in DevMode -- 
   exclusions 
  exclusion 
 artifactIdorg.eclipse.jdt.core/artifactId 
 groupIdorg.eclipse.jetty.orbit/groupId 
 /exclusion 
   /exclusions 
/dependency

(in fact, I am really trying 2.6.0 nightly to see if this problem will 
persists) 


Can someone give me some light on the error and explain it? I want to see 
if I find some workaround.

Thank you,
Cristiano


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Re: Can someone explain me why I get the following error?

2013-10-16 Thread Roberto Lublinerman
Seems to point that JavaScriptObject.class was compiled in java 7 mode but 
the codeserver is running in a java 6 vm.

On Wednesday, October 16, 2013 2:19:54 PM UTC-7, Cristiano wrote:

 Hi All

 maybe I can be a little off-topic posting here but this is not an usual 
 user question and hopefully some contributor can help me.

 I want to understand an error that I get in DevMode. The error is the 
 following:

 
 00:00:09,841 [ERROR] Unable to initialize static dispatcher

 java.lang.UnsupportedClassVersionError: 
 com/google/gwt/core/client/JavaScriptObject$ : Unsupported major.minor 
 version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
 at 
 com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1121)
 at 
 com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1194)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
 at java.lang.Class.forName0(Native Method)
 at java.lang.Class.forName(Class.java:249)
 at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220)
 at 
 com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
 at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
 at 
 com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304)
 at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:347)
 at 
 com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
 at 
 com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
 at java.lang.Thread.run(Thread.java:680)

 

 I'm not working on the standard release of GWT, I'm running a custom build 
 coming from current GWT development.

 To make things more weird, I'm running the application on a Jetty 7 server 
 (with -noserver option) and debugging with DevMode using the following code 
 snippet:

 String[] newArgs = (-noserver -war target/webapp -startupUrl gwt.html 
+  -logLevel INFO -codeServerPort 9997  
+ net.cristcost.test.gwt.DemoApp).split( ); 
 DevMode.main(newArgs);

 I get that error when I try to open the page with the GWT app in DevMode (
 http://localhost:8080/gwt.html?gwt.codesvr=127.0.0.1:9997)

 With GWT 2.5.1 everything was working, but I had an issue and I needed to 
 exclude org.eclipse.jdt.core dependency from the project due to 
 incompatibility with GWT:  

 dependency 
groupIdorg.eclipse.jetty/groupId 
artifactIdjetty-jsp/artifactId 
version${jetty.version}/version 
scopetest/scope 
!-- This dependency cause issue in GWT compilation in DevMode -- 
exclusions 
   exclusion 
  artifactIdorg.eclipse.jdt.core/artifactId 
  groupIdorg.eclipse.jetty.orbit/groupId 
  /exclusion 
/exclusions 
 /dependency

 (in fact, I am really trying 2.6.0 nightly to see if this problem will 
 persists) 


 Can someone give me some light on the error and explain it? I want to see 
 if I find some workaround.

 Thank you,
 Cristiano




-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[gwt-contrib] Re: Can someone explain me why I get the following error?

2013-10-16 Thread Jens
Looks like your DevMode is running with Java 6 but it tries to load classes 
that are compiled against Java 7. I would guess you have compiled GWT trunk 
using Java 7 (as its probably the default in your operating system) but 
Eclipse is configured to still use Java 6 to run DevMode.

GWT trunk is fully compatible to Java 7 and you could reconfigure Eclipse 
to use Java 7 for your GWT project to fix the problem. If your server, you 
plan to deploy to for production, still needs Java 6 you must make sure 
that your build script uses -target 1.6 for the java compile so that Java 
6 can load classes.

-- J.

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: Can someone explain me why I get the following error?

2013-10-16 Thread Cristiano Costantini
Good catch!
It is true I compiled GWT with Java 7 and my eclipse may be launching it
still with Java 6!

I'll check it immediately.
How did you recognized that? is that 51.0 in Unsupported major.minor
version (for me it is a non-sense) ?

Thank you!
Cristiano




2013/10/17 Jens jens.nehlme...@gmail.com

 Looks like your DevMode is running with Java 6 but it tries to load
 classes that are compiled against Java 7. I would guess you have compiled
 GWT trunk using Java 7 (as its probably the default in your operating
 system) but Eclipse is configured to still use Java 6 to run DevMode.

 GWT trunk is fully compatible to Java 7 and you could reconfigure Eclipse
 to use Java 7 for your GWT project to fix the problem. If your server, you
 plan to deploy to for production, still needs Java 6 you must make sure
 that your build script uses -target 1.6 for the java compile so that Java
 6 can load classes.

 -- J.

 --
 http://groups.google.com/group/Google-Web-Toolkit-Contributors
 ---
 You received this message because you are subscribed to the Google Groups
 GWT Contributors group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [gwt-contrib] Re: Can someone explain me why I get the following error?

2013-10-16 Thread Cristiano
Yes, 
I confirm it is working and I no more have a conflict with with Jetty 7's 
org.eclipse.jetty.orbit/org.eclipse.jdt.core/3.7.1, inherited by 
org.eclipse.jetty/jetty-jsp/7.6.12.v20130726
;-)

Thank you
Cristiano


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups GWT 
Contributors group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.