Re: Errors in com/google/gwt/emul/java/lang/String.java
I want to confirm that having 2.8.0-rc3 (used for org.codehaus.mojo:gwt-maven-plugin) 2.8.0-rc3 solved the isue. Thank you. joi, 13 octombrie 2016, 20:21:00 UTC+3, Thomas Broyer a scris: > > The problem is that you have a mix of rc2 and rc3 libs in your classpath, > and this is because org.codehaus.mojo:gwt-maven-plugin itself brings GWT > dependencies (with the same version as the plugin, as a convention). > See > http://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html; > > or use rc3 of the plugin too. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: best practices for modular GWT app
> My recommendation, do NOT create a maven module if you don't need it (I > think that you do not need it). > +1. Right. I would only split my client side code into multiple maven modules if I want to share client side code with a different project. If you don't do that, then adding multiple client side maven modules only adds complexity without a lot of value. You can still organize your code well within a single "client" maven module by creating multiple *.gwt.xml files, e.g. com.example.app.App.gwt.xml com.example.app.core.Core.gwt.xml com.example.app.module1.Module1.gwt.xml com.example.app.module2.Module2.gwt.xml -- J. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: Errors in com/google/gwt/emul/java/lang/String.java
The problem is that you have a mix of rc2 and rc3 libs in your classpath, and this is because org.codehaus.mojo:gwt-maven-plugin itself brings GWT dependencies (with the same version as the plugin, as a convention). See http://gwt-maven-plugin.github.io/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html; or use rc3 of the plugin too. On Thursday, October 13, 2016 at 6:42:31 PM UTC+2, Teletin Alin wrote: > > Hi all, > > I have the following error at compilation: > > Errors in com/google/gwt/emul/java/lang/String.java > [INFO] [ERROR] Line 165: 'String.NativeFunction > String.getFromCharCodeFunction()' has invalid name 'String.fromCharCode'. > [INFO] [ERROR] Line 165: 'String.NativeFunction > String.getFromCharCodeFunction()' has invalid namespace ''. > [INFO] [ERROR] Line 757: 'String.NativeString' has invalid > namespace ''. > [INFO] [ERROR] Compiler returned false > > The pom.xml versions for gwt: > 2.8.0-rc2-patched > 2.8.0-rc3 > > I search for the issue and there are only 2 relevant discussions: > > > https://groups.google.com/forum/#!topic/Google-Web-Toolkit-Contributors/4IY_L0Hj1cU > and > https://github.com/gwtproject/gwt/issues/9423 (I think the commit from > here is causing the issue). > > But I don't get from those discussions how to fix the issue. > Can you please help me? > > Thank you, > Alin T. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Errors in com/google/gwt/emul/java/lang/String.java
Hi all, I have the following error at compilation: Errors in com/google/gwt/emul/java/lang/String.java [INFO] [ERROR] Line 165: 'String.NativeFunction String.getFromCharCodeFunction()' has invalid name 'String.fromCharCode'. [INFO] [ERROR] Line 165: 'String.NativeFunction String.getFromCharCodeFunction()' has invalid namespace ''. [INFO] [ERROR] Line 757: 'String.NativeString' has invalid namespace ''. [INFO] [ERROR] Compiler returned false The pom.xml versions for gwt: 2.8.0-rc2-patched 2.8.0-rc3 I search for the issue and there are only 2 relevant discussions: https://groups.google.com/forum/#!topic/Google-Web-Toolkit-Contributors/4IY_L0Hj1cU and https://github.com/gwtproject/gwt/issues/9423 (I think the commit from here is causing the issue). But I don't get from those discussions how to fix the issue. Can you please help me? Thank you, Alin T. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: best practices for modular GWT app
The IT directory in the gwt-maven-plugin includes more ussage examples, this one includes all possible maven module types https://github.com/tbroyer/gwt-maven-plugin/tree/master/src/it/e2e as described here https://tbroyer.github.io/gwt-maven-plugin/. You do not need to use resources->includes and you should use classifiers for shared-non-gwt-only modules. Hehe, but this recommendations will make it work perfect using the command line, I think that Kirill recommendations will make eclipse more happy, not sure, I always execute GWT using mvn. My recommendation, do NOT create a maven module if you don't need it (I think that you do not need it). Client and Server modules are required because in maven each module should output only one artifact, and also client and server have independent run classpath. The shared is required to share code ;). On Thu, Oct 13, 2016 at 4:38 PM Kirill Prazdnikov wrote: > I do not know. We don't use "classifier-sources" in our maven files. > I never run super-dev-mode from command-line. I run it form within the IDE. > > > -- > You received this message because you are subscribed to the Google Groups > "GWT Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-web-toolkit+unsubscr...@googlegroups.com. > To post to this group, send email to google-web-toolkit@googlegroups.com. > Visit this group at https://groups.google.com/group/google-web-toolkit. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: A DateBox where I can select the time and hide the DatePicker
it's a vry old thread, but seems many ppl still have the same problem, so regarding 1: begin.getDatePicker().setVisible(false); -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: best practices for modular GWT app
I do not know. We don't use "classifier-sources" in our maven files. I never run super-dev-mode from command-line. I run it form within the IDE. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Re: best practices for modular GWT app
> On 12 Oct 2016, at 19:38, Kirill Prazdnikov wrote: > > I do not completely understand which problems do you have, but we dont have > any issues working with SDM with modules I described above. maybe was something wrong in my project layout. Now I made another test, and in the submodule I revert the packaging to “jar” and added back this: src/main/java **/*.java **/*.gwt.xml **/*.ui.xml and in the main GWT pom.xml file I need to have this to work it correctly: ${project.groupId} WebMetabase-module-user ${project.version} sources otherwise without the classifier-sources I didn’t get a recompile when I refresh the browser. As I posted yesterday the system is also working using the other GWT-Maven plugin, but I think is a “clear” way to add extra modules to the project, I’m right? -- Luca Morettoni | http://www.morettoni.net http://it.linkedin.com/in/morettoni/ | http://twitter.com/morettoni -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at https://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.