Re: [gwt-contrib] STS RPC failures
The roo directory should be roo-1.1.0.M1; so you should be using Roo 1.1.0.M1 to generate the app, as opposed to Roo 1.0.2. On Fri, May 21, 2010 at 2:22 PM, Rajeev Dayal rda...@google.com wrote: I wonder about the version of Roo that you're using. If you navigate down into your STS folder, do you see a roo-related directory there? What is the name of that directory? I think you need to be using the milestone version of roo, which is located at sts dir/roo dir/bin/roo.{sh, bat}. On Fri, May 21, 2010 at 2:02 PM, Aaron Steele eightyste...@gmail.comwrote: I'm seeing a strange issue with STS where launching a web application from within STS succeeds, but then RPCs fail with the following errors: http://goo.gl/hAkP The project I'm running is from /samples/expenses.roo and was created using the Roo shell (script expenses.roo). If I try running the same project via 'mvn gwt:run', it works. Here's my setup: OS X SpringSource Tool Suite (2.3.3.M1) - DataNucleus Eclipse Plugins (2.0.2) - Google App Engine Java SDK (1.3.4.v201005191217) - Google Plugin for Eclipse 3.5 (1.4.0.m1-201005192034) - Google Web Toolkit SDK (2.1.0.m1-201005191217) - Spring Roo (1.0.2.RELEASE) Thanks! Aaron -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] STS RPC failures
[by the way, the second link you posted is broken] Hm, this is odd. What actions are you taking (in the UI) when the RPC exceptions happen? The dialog that pops up for you to select your WAR directory is expected; the default value is what you should choose. Can you send a text listing of the files that are in that directory (plus subdirectories) during the launch? Also, you shouldn't need to specify --file expenses.roo; you should just be able to type script expenses.roo, but I don't think that would make a difference anyway. On Fri, May 21, 2010 at 3:37 PM, Aaron Steele eightyste...@gmail.comwrote: Similar results using Roo 1.1.0.M1 to generate the app (as opposed to Roo 1.0.2): http://goo.gl/SD8sx $ springsource/roo-1.1.0.M1/bin/roo.sh roo script --file expenses.roo What am I missing? FWIW, when launching from STS (Run as-Web Application), it launches a Finder window and prompts me to select a WAR directory, which defaults to target/extrack-0.1.0-SNAPSHOT. On Fri, May 21, 2010 at 11:24 AM, Rajeev Dayal rda...@google.com wrote: The roo directory should be roo-1.1.0.M1; so you should be using Roo 1.1.0.M1 to generate the app, as opposed to Roo 1.0.2. On Fri, May 21, 2010 at 2:22 PM, Rajeev Dayal rda...@google.com wrote: I wonder about the version of Roo that you're using. If you navigate down into your STS folder, do you see a roo-related directory there? What is the name of that directory? I think you need to be using the milestone version of roo, which is located at sts dir/roo dir/bin/roo.{sh, bat}. On Fri, May 21, 2010 at 2:02 PM, Aaron Steele eightyste...@gmail.com wrote: I'm seeing a strange issue with STS where launching a web application from within STS succeeds, but then RPCs fail with the following errors: http://goo.gl/hAkP The project I'm running is from /samples/expenses.roo and was created using the Roo shell (script expenses.roo). If I try running the same project via 'mvn gwt:run', it works. Here's my setup: OS X SpringSource Tool Suite (2.3.3.M1) - DataNucleus Eclipse Plugins (2.0.2) - Google App Engine Java SDK (1.3.4.v201005191217) - Google Plugin for Eclipse 3.5 (1.4.0.m1-201005192034) - Google Web Toolkit SDK (2.1.0.m1-201005191217) - Spring Roo (1.0.2.RELEASE) Thanks! Aaron -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: [gwt-contrib] STS RPC failures
Oh, also, did you enable AspectJ weaving (when STS asked you about this)? On Fri, May 21, 2010 at 3:50 PM, Rajeev Dayal rda...@google.com wrote: [by the way, the second link you posted is broken] Hm, this is odd. What actions are you taking (in the UI) when the RPC exceptions happen? The dialog that pops up for you to select your WAR directory is expected; the default value is what you should choose. Can you send a text listing of the files that are in that directory (plus subdirectories) during the launch? Also, you shouldn't need to specify --file expenses.roo; you should just be able to type script expenses.roo, but I don't think that would make a difference anyway. On Fri, May 21, 2010 at 3:37 PM, Aaron Steele eightyste...@gmail.comwrote: Similar results using Roo 1.1.0.M1 to generate the app (as opposed to Roo 1.0.2): http://goo.gl/SD8sx $ springsource/roo-1.1.0.M1/bin/roo.sh roo script --file expenses.roo What am I missing? FWIW, when launching from STS (Run as-Web Application), it launches a Finder window and prompts me to select a WAR directory, which defaults to target/extrack-0.1.0-SNAPSHOT. On Fri, May 21, 2010 at 11:24 AM, Rajeev Dayal rda...@google.com wrote: The roo directory should be roo-1.1.0.M1; so you should be using Roo 1.1.0.M1 to generate the app, as opposed to Roo 1.0.2. On Fri, May 21, 2010 at 2:22 PM, Rajeev Dayal rda...@google.com wrote: I wonder about the version of Roo that you're using. If you navigate down into your STS folder, do you see a roo-related directory there? What is the name of that directory? I think you need to be using the milestone version of roo, which is located at sts dir/roo dir/bin/roo.{sh, bat}. On Fri, May 21, 2010 at 2:02 PM, Aaron Steele eightyste...@gmail.com wrote: I'm seeing a strange issue with STS where launching a web application from within STS succeeds, but then RPCs fail with the following errors: http://goo.gl/hAkP The project I'm running is from /samples/expenses.roo and was created using the Roo shell (script expenses.roo). If I try running the same project via 'mvn gwt:run', it works. Here's my setup: OS X SpringSource Tool Suite (2.3.3.M1) - DataNucleus Eclipse Plugins (2.0.2) - Google App Engine Java SDK (1.3.4.v201005191217) - Google Plugin for Eclipse 3.5 (1.4.0.m1-201005192034) - Google Web Toolkit SDK (2.1.0.m1-201005191217) - Spring Roo (1.0.2.RELEASE) Thanks! Aaron -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
[gwt-contrib] Re: ServletValidate disable external DTDs (issue371801)
If that's the main use case, then I agree. The reason I brought it up was because App Engine also does its own validation of the web.xml file, so it seemed like we were doing double-work here. On Mon, Apr 26, 2010 at 3:33 PM, Scott Blum sco...@google.com wrote: I think that would just make things more complicated, and add new requirements to SCLs. This is mostly intended as a sanity check for developers who put servlet tags in their .gwt.xml, but don't update their web.xml and then wonder why their RPC service is 404'ing them. On Mon, Apr 26, 2010 at 3:30 PM, rda...@google.com wrote: LGTM. Though, I wonder if a better solution would be delegating the validation of web.xml to the SCL, as opposed to doing it in GWT. http://gwt-code-reviews.appspot.com/371801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: Compilation Error
Great, glad it is working. On Wed, Apr 21, 2010 at 9:41 AM, rxm0203 rxm0...@gmail.com wrote: Here is the update. I removed the mentioned jar file from Drools- Guvnor's dependent projects class path. Now, I am able to compile successfully. Thanks for your help. On Apr 20, 6:51 pm, rxm0203 rxm0...@gmail.com wrote: I removed the mentioned jar file. I am still getting samecompilationerror. Which is second entry should I remove? On Apr 20, 12:08 pm, Rajeev Dayal rda...@google.com wrote: These two entries look to be problematic: classpathentry kind=var path=M2_REPO/org/apache/jasper/ springsource/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/ 6.0.20.S2-r5956/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2- r5956.jar/ Are these jars required? Can you remove them? On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote: Here are the contents of .classpath file. ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src output=target/test-classes path=src/ test/java/ classpathentry excluding=**/*.java including=** kind=src output=target/test-classes path=src/test/resources/ classpathentry including=**/*.java kind=src path=src/main/java/ classpathentry excluding=**/*.java kind=src path=src/main/ resources/ classpathentry kind=var path=M2_REPO/javax/activation/activation/ 1.1/activation-1.1.jar/ classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb- api-3.0.jar/ classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el- api-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el- ri-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/xml/bind/jaxb-api/2.1/ jaxb-api-2.1.jar/ classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/ jcr-1.0.jar/ classpathentry kind=var path=M2_REPO/javax/faces/jsf-api/1.2/jsf- api-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/ 2.1/jsp-api-2.1.jar/ classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/ jta-1.1.jar/ classpathentry kind=var path=M2_REPO/javax/persistence/ persistence-api/1.0/persistence-api-1.0.jar/ classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/ 2.3/servlet-api-2.3.jar/ classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/ 1.0-2/stax-api-1.0-2.jar/ classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/ antlr-2.7.6.jar/ classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/ 3.1.3/antlr-runtime-3.1.3.jar/ classpathentry kind=var path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/ classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm- attrs-1.5.3.jar/ classpathentry kind=var path=M2_REPO/avalon-framework/avalon- framework/4.1.3/avalon-framework-4.1.3.jar/ classpathentry kind=var path=M2_REPO/bouncycastle/bcmail- jdk14/138/bcmail-jdk14-138.jar/ classpathentry kind=var path=M2_REPO/bouncycastle/bcprov- jdk14/138/bcprov-jdk14-138.jar/ classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/ cglib-2.1_3.jar/ classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/ cobogw-1.0.jar/ classpathentry kind=var path=M2_REPO/org/apache/jasper/ springsource/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/ 6.0.20.S2-r5956/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2- r5956.jar/ classpathentry kind=var path=M2_REPO/commons-codec/commons-codec/ 1.2/commons-codec-1.2.jar/ classpathentry kind=var path=M2_REPO/commons-collections/commons- collections/3.1/commons-collections-3.1.jar/ classpathentry kind=var path=M2_REPO/commons-fileupload/commons- fileupload/1.2.1/commons-fileupload-1.2.1.jar/ classpathentry kind=var path=M2_REPO/commons-httpclient/commons- httpclient/3.1/commons-httpclient-3.1.jar/ classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/ commons-io-1.4.jar/ classpathentry kind=var path=M2_REPO/commons-logging/commons- logging/1.1/commons-logging-1.1.jar/ classpathentry kind=var path=M2_REPO/concurrent/concurrent/1.3.4/ concurrent-1.3.4.jar/ classpathentry kind=var path=M2_REPO/org/apache/derby/derby/ 10.2.1.6/derby-10.2.1.6.jar/ classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/ dom4j-1.6.1-brew.jar/ classpathentry kind=src path=/drools-api/ classpathentry kind=src path=/drools-bpmn2/ classpathentry kind=src path=/drools-compiler/ classpathentry kind=src path=/drools-core
Re: Compilation Error
These two entries look to be problematic: classpathentry kind=var path=M2_REPO/org/apache/jasper/ springsource/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/ 6.0.20.S2-r5956/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2- r5956.jar/ Are these jars required? Can you remove them? On Mon, Apr 19, 2010 at 2:49 PM, rxm0203 rxm0...@gmail.com wrote: Here are the contents of .classpath file. ?xml version=1.0 encoding=UTF-8? classpath classpathentry kind=src output=target/test-classes path=src/ test/java/ classpathentry excluding=**/*.java including=** kind=src output=target/test-classes path=src/test/resources/ classpathentry including=**/*.java kind=src path=src/main/java/ classpathentry excluding=**/*.java kind=src path=src/main/ resources/ classpathentry kind=var path=M2_REPO/javax/activation/activation/ 1.1/activation-1.1.jar/ classpathentry kind=var path=M2_REPO/javax/ejb/ejb-api/3.0/ejb- api-3.0.jar/ classpathentry kind=var path=M2_REPO/javax/el/el-api/1.2/el- api-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/el/el-ri/1.2/el- ri-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/xml/bind/jaxb-api/2.1/ jaxb-api-2.1.jar/ classpathentry kind=var path=M2_REPO/javax/jcr/jcr/1.0/ jcr-1.0.jar/ classpathentry kind=var path=M2_REPO/javax/faces/jsf-api/1.2/jsf- api-1.2.jar/ classpathentry kind=var path=M2_REPO/javax/servlet/jsp/jsp-api/ 2.1/jsp-api-2.1.jar/ classpathentry kind=var path=M2_REPO/javax/transaction/jta/1.1/ jta-1.1.jar/ classpathentry kind=var path=M2_REPO/javax/persistence/ persistence-api/1.0/persistence-api-1.0.jar/ classpathentry kind=var path=M2_REPO/javax/servlet/servlet-api/ 2.3/servlet-api-2.3.jar/ classpathentry kind=var path=M2_REPO/javax/xml/stream/stax-api/ 1.0-2/stax-api-1.0-2.jar/ classpathentry kind=var path=M2_REPO/antlr/antlr/2.7.6/ antlr-2.7.6.jar/ classpathentry kind=var path=M2_REPO/org/antlr/antlr-runtime/ 3.1.3/antlr-runtime-3.1.3.jar/ classpathentry kind=var path=M2_REPO/asm/asm/1.5.3/asm-1.5.3.jar/ classpathentry kind=var path=M2_REPO/asm/asm-attrs/1.5.3/asm- attrs-1.5.3.jar/ classpathentry kind=var path=M2_REPO/avalon-framework/avalon- framework/4.1.3/avalon-framework-4.1.3.jar/ classpathentry kind=var path=M2_REPO/bouncycastle/bcmail- jdk14/138/bcmail-jdk14-138.jar/ classpathentry kind=var path=M2_REPO/bouncycastle/bcprov- jdk14/138/bcprov-jdk14-138.jar/ classpathentry kind=var path=M2_REPO/cglib/cglib/2.1_3/ cglib-2.1_3.jar/ classpathentry kind=var path=M2_REPO/org/cobogw/gwt/cobogw/1.0/ cobogw-1.0.jar/ classpathentry kind=var path=M2_REPO/org/apache/jasper/ springsource/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource/ 6.0.20.S2-r5956/ com.springsource.org.apache.jasper.org.eclipse.jdt.springsource-6.0.20.S2- r5956.jar/ classpathentry kind=var path=M2_REPO/commons-codec/commons-codec/ 1.2/commons-codec-1.2.jar/ classpathentry kind=var path=M2_REPO/commons-collections/commons- collections/3.1/commons-collections-3.1.jar/ classpathentry kind=var path=M2_REPO/commons-fileupload/commons- fileupload/1.2.1/commons-fileupload-1.2.1.jar/ classpathentry kind=var path=M2_REPO/commons-httpclient/commons- httpclient/3.1/commons-httpclient-3.1.jar/ classpathentry kind=var path=M2_REPO/commons-io/commons-io/1.4/ commons-io-1.4.jar/ classpathentry kind=var path=M2_REPO/commons-logging/commons- logging/1.1/commons-logging-1.1.jar/ classpathentry kind=var path=M2_REPO/concurrent/concurrent/1.3.4/ concurrent-1.3.4.jar/ classpathentry kind=var path=M2_REPO/org/apache/derby/derby/ 10.2.1.6/derby-10.2.1.6.jar/ classpathentry kind=var path=M2_REPO/dom4j/dom4j/1.6.1-brew/ dom4j-1.6.1-brew.jar/ classpathentry kind=src path=/drools-api/ classpathentry kind=src path=/drools-bpmn2/ classpathentry kind=src path=/drools-compiler/ classpathentry kind=src path=/drools-core/ classpathentry kind=src path=/drools-decisiontables/ classpathentry kind=src path=/drools-doc/ classpathentry kind=src path=/drools-factconstraint/ classpathentry kind=src path=/drools-repository/ classpathentry kind=src path=/drools-templates/ classpathentry kind=src path=/drools-verifier/ classpathentry kind=var path=M2_REPO/net/sf/ehcache/ehcache/1.2.3/ ehcache-1.2.3.jar/ classpathentry kind=var path=M2_REPO/ch/ethz/ganymed/ganymed-ssh2/ build210/ganymed-ssh2-build210.jar/ classpathentry kind=var path=M2_REPO/com/google/collections/ google-collections/0.8/google-collections-0.8.jar/ classpathentry kind=var path=M2_REPO/org/antlr/gunit/3.1.3/ gunit-3.1.3.jar/ classpathentry kind=var
Re: Compilation Error
Can you post the contents of your .classpath file? On Mon, Apr 19, 2010 at 11:42 AM, rxm0203 rxm0...@gmail.com wrote: Hi Rajeev, I don't see JDT appearing on the build path. Let me know your suggestions for the next step. Thanks, Rahul On Apr 16, 10:28 am, Rajeev Dayal rda...@google.com wrote: Hm, I'm wondering if there is some sort of issue with multiple versions of JDT appearing on the classpath. Does Drools utilize JDT? What does your build path look like? On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote: I hope this is the correct mailing list for the question. We are working on Custom Business Rules designer for our application suite. We are going to customize Drools Guvnor user interface as per our requirements. I checked out latest Drools Guvnor source code from SVN. I am trying to compile and build source code. I am using Eclipse 3.5 for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to compile when I click GWT plug in button from Eclipse menu bar. Here is an error log from GWT console. Compiling module org.drools.guvnor.Guvnor [ERROR] Unexpected java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java: 310) at com.google.gwt.dev.javac.JdtCompiler $CompilerImpl.init(JdtCompiler.java:148) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java: 466) at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:142) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 281) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 182) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 280) at com.google.gwt.dev.Precompile.precompile(Precompile.java:502) at com.google.gwt.dev.Precompile.precompile(Precompile.java:414) at com.google.gwt.dev.Compiler.run(Compiler.java:201) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:159) Does anyone has resolution to the issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Compilation Error
Hm, I'm wondering if there is some sort of issue with multiple versions of JDT appearing on the classpath. Does Drools utilize JDT? What does your build path look like? On Thu, Apr 15, 2010 at 5:00 PM, rxm0203 rxm0...@gmail.com wrote: I hope this is the correct mailing list for the question. We are working on Custom Business Rules designer for our application suite. We are going to customize Drools Guvnor user interface as per our requirements. I checked out latest Drools Guvnor source code from SVN. I am trying to compile and build source code. I am using Eclipse 3.5 for EE and latest GWT Eclipse plug in. However, Drools Guvnor fails to compile when I click GWT plug in button from Eclipse menu bar. Here is an error log from GWT console. Compiling module org.drools.guvnor.Guvnor [ERROR] Unexpected java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java: 310) at com.google.gwt.dev.javac.JdtCompiler $CompilerImpl.init(JdtCompiler.java:148) at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java: 466) at com.google.gwt.dev.javac.CompilationStateBuilder $CompileMoreLater.compile(CompilationStateBuilder.java:142) at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java: 281) at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java: 182) at com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java: 280) at com.google.gwt.dev.Precompile.precompile(Precompile.java:502) at com.google.gwt.dev.Precompile.precompile(Precompile.java:414) at com.google.gwt.dev.Compiler.run(Compiler.java:201) at com.google.gwt.dev.Compiler$1.run(Compiler.java:152) at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87) at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java: 81) at com.google.gwt.dev.Compiler.main(Compiler.java:159) Does anyone has resolution to the issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to bring up the hosted mode console for my web application
To clarify, GWT 2.0+ no longer uses the Hosted Browser - it makes use of Out-Of-Process-Hosted-Mode. See code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html for more information. When using GWT 2.0+ with the Google Plugin for Eclipse, you'll see the Development Mode View pop up whenever you launch a GWT 2.0+ application. From this view, you can see the module-based logs, and restart the Jetty server. Server logs are show in the console view. If you prefer the Swing UI that GWT 2.0+ has (as opposed to the Development Mode View), set the following environment variable in your launch configuration: USE_REMOTE_UI=false However, we'd be curious to know why you actually prefer the Swing UI to the Development Mode view :). Thanks, Rajeev On Fri, Apr 16, 2010 at 7:40 AM, Christian Schuhegger christian.schuheg...@gmail.com wrote: I just wanted to mention that I have the same problem after I updated the google eclipse plugin to its newest version. I was using gwt 2.0.1 and gae 1.3.1 before. Now I ahve gwt 2.0.3 and gae 1.3.2. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to bring up the hosted mode console for my web application
Can you list your build path? It seems like there may be some conflicting classes on your build path. On Sun, Apr 11, 2010 at 7:58 PM, DanG danielmger...@gmail.com wrote: When I create a GWT project in eclipse with gwt2.0.2 and google app engine 1.3.2 and the most updated eclipse plugin for galileo: I can create the project but when I run-web application, I get a google eclipse console (Development Mode) message telling me the URL I can access the app from (that's fine), but I get NO gwt hosted mode console popping up... what am I doing wrong? More info: Was using GWT 1.6 before this without the eclipse plugin and everything was working fine. I thought maybe I was doing something wrong, but after looking for info as to how it should work, I'm definitely doing the same as the following source: http://www.ibm.com/developerworks/java/library/j-gaej1/ Incidentally I thought it might be the fact that Google App engine stuff is now there, but if I create a project but I deselect the using Google app engine SDK, It still gives me the same problem. I have other projects created with GWT 1.6 available in eclipse and they work correctly with the new library. If I try and create a new -Run Configuration- as a -Java Application- instead of the new -Web application- and I copy all the settings from the previous projects, I can run that configuration, I get the hosted mode, but it gives me the error: Exception in thread main java.lang.NoSuchMethodError: org.mortbay.thread.Timeout.init(Ljava/lang/Object;)V at org.mortbay.io.nio.SelectorManager $SelectSet.init(SelectorManager.java:306) at org.mortbay.io.nio.SelectorManager.doStart(SelectorManager.java: 223) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.nio.SelectChannelConnector.doStart(SelectChannelConnector.java: 303) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at org.mortbay.jetty.Server.doStart(Server.java:233) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 39) at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java: 543) at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:421) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1035) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:783) at com.google.gwt.dev.DevMode.main(DevMode.java:275) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Problem with DevMode and GWT 2.0.3
What type of launch configuration are you using to launch your application? Is it a Web Application Launch Configuration, or are you using a Java Launch Configuration? Can you check your Firefox installation to see if you have the GWT Developer Plugin installed already? Also, can you blow away your browser's cache, and verify that the files that you have on your server match those of a recent GWT compilation under GWT 2.0.3? On Fri, Apr 16, 2010 at 4:29 AM, Yves yvesduche...@gmail.com wrote: Hi. I was an happy user of GWT 1.6, using its HostedMode class to debug my Java code. I've installed GWT 2.0.3 and I can't debug anymore. I've installed new Eclipse plugin, that should open a new eclipse view called Web Application Debug View, but when I try to debug my application, I don't see anything appear in this view, as I saw on some tutorials. Here's the way i launch my app: com.google.gwt.dev.DevMode -noserver -logLevel ALL -startupUrl [myUrl] [fully qualified module name] I use tomcat 6 as external server. So, when launching I get a window opening, telling me that it's OK, app has been started, but when I open given URL (with gwt.codesrv=127.0.0.1:9997), firefox doesn't ask me for a plugin installation, and breakpoints don't work. What could be the problem? Thanks. Yves. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to bring up the hosted mode console for my web application
On Fri, Apr 16, 2010 at 11:03 AM, kozura koz...@gmail.com wrote: Ah thanks Rajeev, been looking for that, it works except you have to set USE_REMOVE_UI=true. Really? I'm glad it's working, but I think the right way to set it is to define an environment variable of USE_REMOTE_UI and set its value to false. That should cause the Swing UI to pop up. Does that not work for you? And since you asked... Maybe it's a little I'm used to it, but I find the Swing UI much more convenient than the Development mode view: - Clear tabs for Jetty and each browser window that comes up, navigation is tricky in the Eclipse DMV tab Ah, are you saying that you'd prefer a different tab for each Jetty instance and browser window, instead of having nodes in a Breadcrumb view? Note that you can switch the layout of the DMV - look at the view settings, and switch the layout to Tree - Handy dandy Launch in Browser and Restart Server buttons The DMV also has the Restart Server button. We're working on making the URLs that pop up in the DMV launchable. - Separate window and process makes it easy to see that I have it running, close it to end the process, etc. In dev mode I have to notice the tab, switch to it, and stop it from there to end to process, not nearly as convenient. In this mode I often rerun app only to find conflicting port because I didn't see and close the old process. - Separate window also doesn't compete with my code for space, makes it easy to have a large log and still browse my code in my setup. Personal preference, but hey. Understood. The first two could just be improvements in the Eclipse DMV tab, but don't assume everyone's workflow is improved through the convenience of everything being built into eclipse! Thanks for the feedback - it is definitely useful! jk On Apr 16, 8:41 am, Rajeev Dayal rda...@google.com wrote: To clarify, GWT 2.0+ no longer uses the Hosted Browser - it makes use of Out-Of-Process-Hosted-Mode. See code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.htmlfor more information. When using GWT 2.0+ with the Google Plugin for Eclipse, you'll see the Development Mode View pop up whenever you launch a GWT 2.0+ application. From this view, you can see the module-based logs, and restart the Jetty server. Server logs are show in the console view. If you prefer the Swing UI that GWT 2.0+ has (as opposed to the Development Mode View), set the following environment variable in your launch configuration: USE_REMOTE_UI=false However, we'd be curious to know why you actually prefer the Swing UI to the Development Mode view :). Thanks, Rajeev On Fri, Apr 16, 2010 at 7:40 AM, Christian Schuhegger christian.schuheg...@gmail.com wrote: I just wanted to mention that I have the same problem after I updated the google eclipse plugin to its newest version. I was using gwt 2.0.1 and gae 1.3.1 before. Now I ahve gwt 2.0.3 and gae 1.3.2. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group athttp:// groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to bring up the hosted mode console for my web application
Actually, after some more investigation, there is a bug here, which is why USE_REMOTE_UI=true is working. We'll have this fixed in the next version of GPE, but to make sure that you get the Swing UI, follow these steps: -In your launch configuration, navigate to the Environment tab, and set USE_REMOTE_UI=false -click back over to the Main tab -apply your changes -run the launch configuration I know this seems like an odd workaround; it has to do with a bug in our logic for keeping the Arguments tab in sync with changes in the launch config UI. If you leave it as USE_REMOTE_UI=true, there is a chance that your launch config will flip back to using the Development Mode view. On Fri, Apr 16, 2010 at 11:24 AM, kozura koz...@gmail.com wrote: It's definitely USE_REMOTE_UI=true to get the SWING UI, which semantically makes sense anyway.. (yeah REMOVE was a type, fingers faster than brain). As for the rest, I'm sure I could fiddle with the devmode to fix some of the navigation annoyances, but with my workflow the window works much better for me in any case. I should just post issues, but it would be nice to have the swing ui change to the new browser tab when a new browser connects, and for scrolling to stay at the bottom of the content.. Thanks jk On Apr 16, 9:16 am, Rajeev Dayal rda...@google.com wrote: On Fri, Apr 16, 2010 at 11:03 AM, kozura koz...@gmail.com wrote: Ah thanks Rajeev, been looking for that, it works except you have to set USE_REMOVE_UI=true. Really? I'm glad it's working, but I think the right way to set it is to define an environment variable of USE_REMOTE_UI and set its value to false. That should cause the Swing UI to pop up. Does that not work for you? And since you asked... Maybe it's a little I'm used to it, but I find the Swing UI much more convenient than the Development mode view: - Clear tabs for Jetty and each browser window that comes up, navigation is tricky in the Eclipse DMV tab Ah, are you saying that you'd prefer a different tab for each Jetty instance and browser window, instead of having nodes in a Breadcrumb view? Note that you can switch the layout of the DMV - look at the view settings, and switch the layout to Tree - Handy dandy Launch in Browser and Restart Server buttons The DMV also has the Restart Server button. We're working on making the URLs that pop up in the DMV launchable. - Separate window and process makes it easy to see that I have it running, close it to end the process, etc. In dev mode I have to notice the tab, switch to it, and stop it from there to end to process, not nearly as convenient. In this mode I often rerun app only to find conflicting port because I didn't see and close the old process. - Separate window also doesn't compete with my code for space, makes it easy to have a large log and still browse my code in my setup. Personal preference, but hey. Understood. The first two could just be improvements in the Eclipse DMV tab, but don't assume everyone's workflow is improved through the convenience of everything being built into eclipse! Thanks for the feedback - it is definitely useful! jk On Apr 16, 8:41 am, Rajeev Dayal rda...@google.com wrote: To clarify, GWT 2.0+ no longer uses the Hosted Browser - it makes use of Out-Of-Process-Hosted-Mode. See code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.htmlfor more information. When using GWT 2.0+ with the Google Plugin for Eclipse, you'll see the Development Mode View pop up whenever you launch a GWT 2.0+ application. From this view, you can see the module-based logs, and restart the Jetty server. Server logs are show in the console view. If you prefer the Swing UI that GWT 2.0+ has (as opposed to the Development Mode View), set the following environment variable in your launch configuration: USE_REMOTE_UI=false However, we'd be curious to know why you actually prefer the Swing UI to the Development Mode view :). Thanks, Rajeev On Fri, Apr 16, 2010 at 7:40 AM, Christian Schuhegger christian.schuheg...@gmail.com wrote: I just wanted to mention that I have the same problem after I updated the google eclipse plugin to its newest version. I was using gwt 2.0.1 and gae 1.3.1 before. Now I ahve gwt 2.0.3 and gae 1.3.2. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr
Re: debugger does not work... SDK 1.6.0.19
Instead of using Run As - Web Application, try Debug As - Web Application. On Sat, Apr 10, 2010 at 12:21 PM, Oleg Demidenko odemide...@gmail.comwrote: Yes, I'm using Eclipse with plugin. I'm running it by run as-Web application Application in the browser works correctly an as far as I can see wfrom debug perspective - the development mode process is working. But it doesn't stop on breakpoints set in any method. On 9 апр, 18:08, Rajeev Dayal rda...@google.com wrote: Hey Oleg, Are you using Eclipse and the Google Plugin for Eclipse? If so, how are you launching your application? Rajeev On Thu, Apr 8, 2010 at 5:13 PM, Oleg Demidenko odemide...@gmail.com wrote: Hi all. I am new to GWT. Was studying the Get Startted tutorial. Debugger doesn't work, though it seems that I have always followed the instructions. I am launching with jre from SDK 1.6.0.19 What can be the reason? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: debugger does not work... SDK 1.6.0.19
Hey Oleg, Are you using Eclipse and the Google Plugin for Eclipse? If so, how are you launching your application? Rajeev On Thu, Apr 8, 2010 at 5:13 PM, Oleg Demidenko odemide...@gmail.com wrote: Hi all. I am new to GWT. Was studying the Get Startted tutorial. Debugger doesn't work, though it seems that I have always followed the instructions. I am launching with jre from SDK 1.6.0.19 What can be the reason? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't debug client code from Eclipse
Hi, Are you sure the callback is not firing in development mode, or is the breakpoint not being hit? If the breakpoint is not being hit, you may be running into this issue (if you're using hotswap): http://code.google.com/p/google-web-toolkit/issues/detail?id=4704 If you're not actually getting the callback to fire in development mode, can you paste a code snippet that shows what you're doing? Thanks, Rajeev On Fri, Apr 2, 2010 at 5:07 PM, Dan ddum...@gmail.com wrote: I'm having a similar problem though the only place breakpoints don't seem to work is in my AsyncCallback. I see no errors in firebug or anywhere in eclipse. The method that accepts the callback is a native js method. the js calls the callback onSuccess. With compiled code, I can see this actually works, but running in development mode, i cannot get the callback to fire at all. please advise. On Mar 3, 12:01 pm, Rajeev Dayal rda...@google.com wrote: Glad you got it working. If you wouldn't mind, could you file a bug for this? Provide details about your Eclipse version, JDK version, and OS. On Tue, Mar 2, 2010 at 6:17 PM, urbanus urba...@240gl.org wrote: On Feb 10, 2:53 am, Rajeev Dayal rda...@google.com wrote: Try upgrading your JDK and see if you still experience the problem. Actually I found the problem. I was setting the breakpoint on the method definition line, i.e.: public void onSuccess(String result) { Those breakpoints never hit. If I place breakpoints on any lines *within* that method, they hit just fine. Note that under normal circumstances if you put a breakpoint on a method line, execution will break at the immediately following line. It seems that client-side asynchronous GWT code doesn't behave that way. I wouldn't consider this to be a serious issue: just something to be aware of. Thanks for your advice. Dave -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Eclipse Run As GWT JUnit test generates garbage folders tomcat and www-test
+[jat] Hi Marc, On Thu, Apr 1, 2010 at 8:34 AM, Marc Guillemot mguille...@yahoo.fr wrote: Hi, running a unit test that extends GWTTestCase using Eclipse's Run As GWT JUnit test generates two folders in my project root: - tomcat - www-test This is just garbage and it pollutes my folder. I'm force to see them and to add them to SVN ignore. Is there a way to avoid it and to tell to GWT to use an other place for temporary folders? The tomcat folder is surprising, I thought that GWT was using Jetty now. www-test can be configured in the run configuration for the test but it is very annoying to have to do it again and again for all the tests. Tomcat is still used on the server side for GWTTestCase; the migration to Jetty for the testing infrastructure has not been completed as yet. Unfortunately, I don't think there is a way to specify where the tomcat directory is placed. I've added John to this thread; he may have other ideas. Cheers, Marc. -- Blog: http://mguillem.wordpress.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't debug client code from Eclipse
Glad its working. Do you mind filing an issue for this? On Tue, Apr 6, 2010 at 12:42 PM, Dan Dumont ddum...@gmail.com wrote: It was a scoping problem.I needed to use a closure in the native js method to wrap the callback, because even though passing the function ref works in js, to run in java it needs the context. It would be cool if the documentation explicitly called that out because i didn't realize gwt would barf like that in developer mode. It does make sense now though. On Tue, Apr 6, 2010 at 10:47 AM, Rajeev Dayal rda...@google.com wrote: Hi, Are you sure the callback is not firing in development mode, or is the breakpoint not being hit? If the breakpoint is not being hit, you may be running into this issue (if you're using hotswap): http://code.google.com/p/google-web-toolkit/issues/detail?id=4704 If you're not actually getting the callback to fire in development mode, can you paste a code snippet that shows what you're doing? Thanks, Rajeev On Fri, Apr 2, 2010 at 5:07 PM, Dan ddum...@gmail.com wrote: I'm having a similar problem though the only place breakpoints don't seem to work is in my AsyncCallback. I see no errors in firebug or anywhere in eclipse. The method that accepts the callback is a native js method. the js calls the callback onSuccess. With compiled code, I can see this actually works, but running in development mode, i cannot get the callback to fire at all. please advise. On Mar 3, 12:01 pm, Rajeev Dayal rda...@google.com wrote: Glad you got it working. If you wouldn't mind, could you file a bug for this? Provide details about your Eclipse version, JDK version, and OS. On Tue, Mar 2, 2010 at 6:17 PM, urbanus urba...@240gl.org wrote: On Feb 10, 2:53 am, Rajeev Dayal rda...@google.com wrote: Try upgrading your JDK and see if you still experience the problem. Actually I found the problem. I was setting the breakpoint on the method definition line, i.e.: public void onSuccess(String result) { Those breakpoints never hit. If I place breakpoints on any lines *within* that method, they hit just fine. Note that under normal circumstances if you put a breakpoint on a method line, execution will break at the immediately following line. It seems that client-side asynchronous GWT code doesn't behave that way. I wouldn't consider this to be a serious issue: just something to be aware of. Thanks for your advice. Dave -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: NullPointerException at GWTShellServlet.doGetPublicFile (GWT 2.0.3) - GWT Eclipse plugin 1.3.2
Can you post the contents of your web.xml file? On Mon, Mar 29, 2010 at 10:53 AM, Marek marek.romanow...@gmail.com wrote: Hi, I have problem with running development mode from GWT Eclipse plugin version 1.3.2. I'm connecting to dev mode with Chrome. In logs I find this: [WARN] /com.test.Test/C43A8DC1E50D698B543BF589D0244ECC.cache.png java.lang.NullPointerException at com.google.gwt.dev.shell.GWTShellServlet.doGetPublicFile(GWTShellServlet.java: 438) at com.google.gwt.dev.shell.GWTShellServlet.processFileRequest(GWTShellServlet.java: 184) at com.google.gwt.dev.shell.GWTShellServlet.doGet(GWTShellServlet.java: 132) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at com.google.gwt.dev.shell.GWTShellServlet.service(GWTShellServlet.java: 292) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java: 362) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java: 181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java: 729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java: 49) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java: 152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 505) at org.mortbay.jetty.HttpConnection $RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.QueuedThreadPool $PoolThread.run(QueuedThreadPool.java:488) As a result application starts but no images are shown. There is a file with given name in location project/war/com.test.Test/ C43A8DC1E50D698B543BF589D0244ECC.cache.png. Compiler output folder set in Eclipse: project/war/WEB-INF/classes. I've looked into GWT code and found that GWTShellServlet.doGetPublicFile invokes getShellWorkDirs() that in my case wrongly returns null. getShellWorkDirs() looks for workdirs - servletContext.getAttribute(com.google.gwt.dev.shell.workdirs), but attribute is not set. I've searched where com.google.gwt.dev.shell.workdirs is used and found it only in EmbeddedTomcatServer. I didn't found how is it set for Jetty. My launch configuration looks like this: ?xml version=1.0 encoding=UTF-8 standalone=no? launchConfiguration type=com.google.gdt.eclipse.suite.webapp stringAttribute key=com.google.gdt.eclipse.suiteMainTypeProcessor.PREVIOUSLY_SET_MAIN_TYPE_NAME value=com.google.gwt.dev.DevMode/ booleanAttribute key=com.google.gdt.eclipse.suiteWarArgumentProcessor.IS_WAR_FROM_PROJECT_PROPERTIES value=true/ listAttribute key=com.google.gwt.eclipse.core.ENTRY_POINT_MODULES listEntry value=com.test.Test/ /listAttribute stringAttribute key=com.google.gwt.eclipse.core.URL value=com.test.Test/Test.html/ listAttribute key=org.eclipse.debug.core.MAPPED_RESOURCE_PATHS listEntry value=/test/ /listAttribute listAttribute key=org.eclipse.debug.core.MAPPED_RESOURCE_TYPES listEntry value=4/ /listAttribute stringAttribute key=org.eclipse.jdt.launching.CLASSPATH_PROVIDER value=com.google.gwt.eclipse.core.moduleClasspathProvider/ stringAttribute key=org.eclipse.jdt.launching.MAIN_TYPE value=com.google.gwt.dev.DevMode/ stringAttribute key=org.eclipse.jdt.launching.PROGRAM_ARGUMENTS value=-remoteUI quot;${gwt_remote_ui_server_port}:${unique_id}quot; -startupUrl com.test.Test/Test.html -logLevel INFO -port -war C: \java\workspace\test\war com.test.Test/ stringAttribute key=org.eclipse.jdt.launching.PROJECT_ATTR value=test/ stringAttribute key=org.eclipse.jdt.launching.VM_ARGUMENTS value=- Xmx512m -Dgwt.nowarn.legacy.tools/ /launchConfiguration There was a similar thread some time ago, but nobody responded: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/739820505bfd8cdc/0fdde9b31e2e4b67 I was working with version 1.2.0 of plugin and everything was fine. Maybe I've missed something, but I cannot run DevMode in a proper way. Could you give me any advice what am I doing wrong? Thanks in advance, Marek. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group,
Re: closing port
Are you using the Google Plugin for Eclipse? When you say that the project did not terminate normally, what exactly happened? Did you kill the GWT Java process? On Fri, Mar 26, 2010 at 1:28 PM, imgnik ytbr...@gmail.com wrote: if my gwt project did not terminate properly, the localhost port will still be occupied. how do i close that manually? it is giving me error saying port is in use. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
Thanks, it is in the Labels section (if you click in one of the boxes). I added the EclipsePlugin label for you. On Thu, Mar 25, 2010 at 6:02 PM, Randell josephrandell.benavi...@gmail.comwrote: I filed it here: http://code.google.com/p/google-web-toolkit/issues/detail?id=4791, although I didn't see any fields to indicate EclipsePlugin. On Wed, Mar 24, 2010 at 10:36 PM, Rajeev Dayal rda...@google.com wrote: Ha, hopefully you won't encounter too many! You can file an issue via this URL: http://code.google.com/p/google-web-toolkit/issues/list When choosing a category, choose EclipsePlugin. On Wed, Mar 24, 2010 at 4:23 AM, Randell josephrandell.benavi...@gmail.com wrote: On Mon, Mar 22, 2010 at 10:30 PM, Rajeev Dayal rda...@google.comwrote: HI Randell, Good point - do you mind filing an issue for this? Sure thing. How can I file an issue? I'd like to learn how since I'll probably be encountering a lot of issues. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- http://randell.ph/ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
Ha, hopefully you won't encounter too many! You can file an issue via this URL: http://code.google.com/p/google-web-toolkit/issues/list When choosing a category, choose EclipsePlugin. On Wed, Mar 24, 2010 at 4:23 AM, Randell josephrandell.benavi...@gmail.comwrote: On Mon, Mar 22, 2010 at 10:30 PM, Rajeev Dayal rda...@google.com wrote: HI Randell, Good point - do you mind filing an issue for this? Sure thing. How can I file an issue? I'd like to learn how since I'll probably be encountering a lot of issues. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: About deploying using eclipse plugin.
Can you post the contents of your appengine-web.xml file? On Tue, Mar 23, 2010 at 10:14 AM, Jolam j.jo...@gmail.com wrote: My app works fine in my own machine but when I deploy it using eclipse plugin , an error occurs: javax.servlet.ServletContext log: UrlServiceImpl: ERROR: The serialization policy file '/urlshorter/ C62BC673E99C4E252FDCF22B3898D6E7.gwt.rpc' was not found; did you forget to include it in this deployment? I checked if it the file C62BC673E99C4E252FDCF22B3898D6E7.gwt.rpc exists , It is in the folder mentioned above.What can i do? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
HI Randell, Good point - do you mind filing an issue for this? Rajeev On Fri, Mar 19, 2010 at 11:14 AM, Randell josephrandell.benavi...@gmail.com wrote: On Fri, Mar 19, 2010 at 10:53 PM, Rajeev Dayal rda...@google.com wrote: See http://code.google.com/eclipse/docs/faq.html#wstinstallerror It solved the problem. Thanks! Side note: The plugin installation page ( http://code.google.com/eclipse/docs/install-eclipse-3.5.html) should have at least mentioned the requirement at the top of the page. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error while installing Google Plugin for (Fedora) Eclipse 3.5.1
See http://code.google.com/eclipse/docs/faq.html#wstinstallerror On Fri, Mar 19, 2010 at 9:25 AM, Randell josephrandell.benavi...@gmail.comwrote: I'm getting this error when I'm trying to install the Google Plugin for Eclipse 3.5.1. I already did a yum remove *eclipse* and removed all occurrences of find / -name eclipse, then yum install eclipse again, but I'm getting the same error. Cannot complete the install because one or more required items could not be found. Software being installed: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) Missing requirement: Google Web Toolkit Plugin 1.3.0.v201003161223 (com.google.gwt.eclipse.core 1.3.0.v201003161223) requires 'bundle org.eclipse.wst.xml.ui 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.2.0.3 2.0.3.v201002191036) To: bundle com.google.gwt.eclipse.core 0.0.0 Cannot satisfy dependency: From: Google Web Toolkit SDK 2.0.3 2.0.3.v201002191036 (com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.3.feature.group 2.0.3.v201002191036) To: com.google.gwt.eclipse.sdkbundle.2.0.3 [2.0.3.v201002191036] Any clues? -- http://twitter.com/_randell -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: How are the app engine jars in WEB-INF/lib/ upgraded?
Hi, Whenever you switch SDKs, the appropriate runtime jars for the SDK should be automatically copied into war/WEB-INF/lib for you. The copy happens on SDK switch; not on compilation. What version of the plugin are you using? Rajeev On Fri, Mar 19, 2010 at 10:36 AM, jbdhl jbirksd...@gmail.com wrote: In a GWT-only project, the correct gwt-servlet.jar is automatically copied to WEB-INF/lib when the project is compiled. That is a very nice behavior! However, the app engine jars does *not* seem to be copied to lib/ when compiling the project. Why not? How do I upgrade from one app engine version to another? That is, which jars should be manually copied? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Eclipse doesn't work. Attempted to beginRule: R/, does not match outer scope rule
What action were you performing when this happened? Are there any other errors that appear in the error log (Window - Show View - Error Log) that appear around the same time? On Thu, Mar 18, 2010 at 10:25 AM, Silverado malans...@gmail.com wrote: I get the same error when I open my project after installing GWT and the Eclipse plugin. I use the Seapine Surround SCM source control plugin from: http://downloads.seapine.com/pub/eclipse/surround/ Error message: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MyProject Any recommendations on what to do? Thank you. On Jan 22, 11:54 am, Rajeev Dayal rda...@google.com wrote: Can you post the full stack trace? Also, have you always had this problem, or did you upgrade the plugin (or other plugins) in your Eclipse installation lately? Are you using any Eclipse plugins for source control? On Thu, Jan 21, 2010 at 8:39 AM, MaEcTPo olegik...@gmail.com wrote: Hi, I have a trouble with Eclipse and GWT. My GWT projects don't work. All of them. They compile, but don't run in hosted mode. When I start Eclipse I receive popup with error. In eclipse error log I have this: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MySmartGWT at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) . And it is for all gwt projects. When I run project I receive a link, for example http://localhost:/MySmartGWT2.html?gwt.codesvr=127.0.1.1:9997, but when I open it in FireFox - nothing happens. There are not logs, errors or something like that. I use Ubuntu 9.10, Eclipse 3.5, GWT 2.0. In some project I am playing with SmartGWT. Source control - mercurial. Best regars, Oleg. P.S. I know that my English is not very well, but I am learning it now. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
[gwt-contrib] Re: Code Review Request: Fix flaxy MessageTransport test
I'm testing that if you try to use MessageTransport.executeRequestAsync(..) and the server side of the network has closed its input stream, then an exception will be thrown (an ExecutionException with an underlying cause of IllegalStateException). I don't think shutdownInput(..) would work, because it says that any input coming in will be silently discarded. I could probably use network.getClientSocket(..).shutdownOutput() to achieve the same effect, though I was really trying to test the case where the server side shut down the input stream. I don't know if there is a better way to do this than polling. On Mon, Mar 15, 2010 at 4:28 PM, k...@google.com wrote: Now we understand the mysterious failure. Thanks for finding it! http://gwt-code-reviews.appspot.com/111808/diff/1/2 File dev/core/test/com/google/gwt/dev/shell/remoteui/MessageTransportTest.java (right): http://gwt-code-reviews.appspot.com/111808/diff/1/2#newcode135 Line 135: sleepCycles++; We should fail with a clear message if the socket cannot be closed, rather than a misleading message down stream. http://gwt-code-reviews.appspot.com/111808 -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
Re: noserver option, maven, and real-time java code compilation
Hi, I think there is some sort of .tmp directory that you'll see in your war folder (or maybe as a peer of your war folder). I wouldn't necessarily rely on this though; it is an implementation detail, and could change in the future. Is there a reason as to why you need these .class files? Rajeev On Sat, Mar 13, 2010 at 8:35 AM, romant roman.te...@gmail.com wrote: Thanks for the answer Rajeev. It works now, the classpath was the problem. As you write that GWT performs its own compilation of the java source files (which is why the folder needs to be on the runtime classpath) I would like to know where GWT stores the compiled up-to-date client- side classes. I checked the war/WEB-INF/classes directory but when I modify some client-side code the corresponding class files in the directory remain still the same, the time of their creation is not changed. Thus the GWT compiler must store the recently compiled classes probably somewhere else, but where, somewhere in a temp directory? On 12 bře, 22:06, Rajeev Dayal rda...@google.com wrote: If you make a change to your CLIENT-SIDE Java code, it should be reflected in the browser, even in -noserver mode. What is the URL that you're entering into your browser? Also, when running development mode, do you have your java source folder on the runtime classpath? The client-side .class files are not important for browser refresh; GWT performs its own compilation of the java source files (which is why the folder needs to be on the runtime classpath). However, if you make a change in your server-side code, the compiled artifacts will not automatically be pushed to your war/WEB-INF/classes directory - you would either have to have your compilation process dump compiled artifacts in war/WEB-INF/classes, or you'd have to run some sort of maven target to update your deployment directory. On Thu, Mar 11, 2010 at 1:21 PM, romant roman.te...@gmail.com wrote: Maybe if someone could put here the pom.xml file and the command with all the parameters which he uses to run maven to compile a GWT app in the development mode, that could help. Thnx. On 11 bře, 18:08, romant roman.te...@gmail.com wrote: The thing is that I don't use maven in Eclipse, I just use maven installed in my operating system. There must be a configuration option available for the gwt-maven- plugin in the pom.xml file or something like that. I am sure not everyone uses maven integrated in Eclipse. But thanks for the hint anyway. On 11 bře, 16:34, olivier nouguier olivier.nougu...@gmail.com wrote: Rather than using sym link you could use the wtp manifest to deploy the GWT stuff. wb-resource deploy-path=/search source-path=war/search/ Then then dev mode will work (refresh) ... as long as you provide the magic url parameter :) On Thu, Mar 11, 2010 at 4:08 PM, romant roman.te...@gmail.com wrote: Hi, some of you definitely has some experience with the noserver option. I use GWT 2.0.2, gwt-maven-plugin version 1.2. I run my GWT application, compiled by maven with the noserver option turned on, in Tomcat. In Tomcat the /webapp directory contains a symbolic link to the /target/myapplication directory which is located in my project and which is created by maven. The /target/ myapplication directory contains the exploded war file, so Tomcat can easily run it. It works. When I compile it by maven it works. The problem is that when I make a change in the java code of my application and when I refresh the browser the changes are not visible there. I tried to check the class files in the /target/myapplication/ web-inf/classes directory and it seems that they were just not compiled automatically again when I changed the java code. Does the development mode save the recently compiled class files somewhere else? Or am I missing something else? Thnx. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubs-cr...@googlegroups.comgoogle-web-toolkit%252bunsubs-cr...@googlegroups.com google-web-toolkit%2bunsubs-cr...@googlegroups.comgoogle-web-toolkit%252bunsubs-cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi- Skrýt citovaný text - - Zobrazit citovaný text - -- You received this message because you
Re: Bug in GWT eclipse plugin?
Hi Krishna, Glad you were able to get around this issue. It looks like there might be some sort of escaping issue on our side as well. We'll take a look at the bug that you mentioned. Rajeev On Mon, Mar 8, 2010 at 7:33 AM, Krishna shrikrishna.sh...@gmail.com wrote: OK, I traced this down to a bug in my code where I forgot to escape ? in a regular expression. Am unsure why this triggered an error in the OOPHM code. The following error while loading the compiled code pointed out the problem: Uncaught SyntaxError: Invalid regular expression: /?/: Nothing to repeat Thanks, Krishna On Mar 8, 4:06 pm, Krishna shrikrishna.sh...@gmail.com wrote: Hi, I just upgraded to GWT 2.0.3 from within Eclipse (I use the Google eclipse plugin). However, I am unable to run my code after the upgrade. Eclipse throws the following exception: java.lang.IllegalArgumentException: Argument not valid The entity circ was referenced, but not declared. at org.eclipse.swt.SWT.error(SWT.java:3865) at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseInputStream(FormTe xtModel.java: 133) at org.eclipse.ui.internal.forms.widgets.FormTextModel.parseTaggedText(FormTex tModel.java: 111) at org.eclipse.ui.forms.widgets.FormText.setText(FormText.java:673) at org.eclipse.ui.forms.widgets.ScrolledFormText.loadText(ScrolledFormText.jav a: 156) at org.eclipse.ui.forms.widgets.ScrolledFormText.setText(ScrolledFormText.java : 126) at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.updateDetailsPan e(LogContent.java: 289) at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent.access $1(LogContent.java:224) at com.google.gwt.eclipse.oophm.views.hierarchical.LogContent $5.selectionChanged(LogContent.java:201) at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.core.runtime.Platform.run(Platform.java:888) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java: 160) at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer .java: 2132) at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.ja va: 1669) at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java: 1124) at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:392) at com.google.gwt.eclipse.oophm.model.LogContentProvider $2.run(LogContentProvider.java:127) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java: 134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3855) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3476) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java: 332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java: 493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java: 149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication .java: 113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java : 194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java: 110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseA ppLauncher.java: 79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: 179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) It looks like there is at least one other person who has encountered this issue: http://code.google.com/p/google-web-toolkit/issues/detail?id=4708 I'd really like to know if there is a workaround or if I can rollback the upgrades to the eclipse plugin. I am pretty much blocked on this as I am unable to develop any new code. Thanks in advance for your help. Krishna -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group.
Re: noserver option, maven, and real-time java code compilation
If you make a change to your CLIENT-SIDE Java code, it should be reflected in the browser, even in -noserver mode. What is the URL that you're entering into your browser? Also, when running development mode, do you have your java source folder on the runtime classpath? The client-side .class files are not important for browser refresh; GWT performs its own compilation of the java source files (which is why the folder needs to be on the runtime classpath). However, if you make a change in your server-side code, the compiled artifacts will not automatically be pushed to your war/WEB-INF/classes directory - you would either have to have your compilation process dump compiled artifacts in war/WEB-INF/classes, or you'd have to run some sort of maven target to update your deployment directory. On Thu, Mar 11, 2010 at 1:21 PM, romant roman.te...@gmail.com wrote: Maybe if someone could put here the pom.xml file and the command with all the parameters which he uses to run maven to compile a GWT app in the development mode, that could help. Thnx. On 11 bře, 18:08, romant roman.te...@gmail.com wrote: The thing is that I don't use maven in Eclipse, I just use maven installed in my operating system. There must be a configuration option available for the gwt-maven- plugin in the pom.xml file or something like that. I am sure not everyone uses maven integrated in Eclipse. But thanks for the hint anyway. On 11 bře, 16:34, olivier nouguier olivier.nougu...@gmail.com wrote: Rather than using sym link you could use the wtp manifest to deploy the GWT stuff. wb-resource deploy-path=/search source-path=war/search/ Then then dev mode will work (refresh) ... as long as you provide the magic url parameter :) On Thu, Mar 11, 2010 at 4:08 PM, romant roman.te...@gmail.com wrote: Hi, some of you definitely has some experience with the noserver option. I use GWT 2.0.2, gwt-maven-plugin version 1.2. I run my GWT application, compiled by maven with the noserver option turned on, in Tomcat. In Tomcat the /webapp directory contains a symbolic link to the /target/myapplication directory which is located in my project and which is created by maven. The /target/ myapplication directory contains the exploded war file, so Tomcat can easily run it. It works. When I compile it by maven it works. The problem is that when I make a change in the java code of my application and when I refresh the browser the changes are not visible there. I tried to check the class files in the /target/myapplication/ web-inf/classes directory and it seems that they were just not compiled automatically again when I changed the java code. Does the development mode save the recently compiled class files somewhere else? Or am I missing something else? Thnx. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi– Skrýt citovaný text – – Zobrazit citovaný text – -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: upgrading GWT plugin sdk in Eclipse
Hi, Unfortunately, due to the way in which we deliver the SDKs, choosing the Update option will not bring down new SDKs. They are considered to be new features. To properly update the Google Plugin for Eclipse and its associated SDKs, navigate to Help -- Install New Software. Choose Google's update site for Eclipse 3.5, and you should see the new SDKs listed, along with the newest version of the plugin. Select all of the available software, and go through the normal installation process. We've got an open bug addressing the problem that you speak of; the update notification's instructions are incorrect. This issue will be fixed in GPE 1.3 (a preview release is available). Let me know if you run into any other problems. Rajeev On Fri, Mar 5, 2010 at 10:48 AM, bakki bakki.ku...@gmail.com wrote: Hi, I am running Eclipse 3.5.2 on Mac OS 10.6.2. I have GWT plugin 3.5 and SDK 2.0.0 installed. Whenever there is an update I get a msg within Eclipse. But I am unable to upgrade the sdk from within Eclipse. If I remember right the update notification says that I should go to Help - Software - upgrade. But if I do Help - Check for Updates, Eclipse itself is updated but not GWT. The other counter-intuitive and convoluted path is to go Help - Install New Software... and then click on the link What is already installed?, select the package and hit update... except this also does not work. I get 'There is nothing to update' msg. A third method seems to me is from Eclipse - Preferences... then select Google - Web Toolkit in the tree and then choose 'Download...'. With this I can download the sdk which then can be uzipped anywhere in the file system and 'added' to the sdk list. The last time I did the upgrade to 2.0.0 I had to uninstall the previous plugin and sdk and install from scratch. Can some one shine some light on this upgrade process and how to make it a bit smoother and consistent? Is this a Mac only issue that upgrading from within Eclipse does not seem to work? I would appreciate any help on this. Thank you, bakki -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can google plugin use different jar files for server and client?
I'd recommend filing a feature request if you're interested in something like this; that will get the right eyes on it. On Tue, Mar 2, 2010 at 10:53 AM, Chris Lercher cl_for_mail...@gmx.netwrote: On Mar 2, 4:39 pm, Rajeev Dayal rda...@google.com wrote: While you might be able to make something work out here, it would definitely not be supported behavior (as we've not thought through this use case). Thanks, that's what I needed to know - I'd personally only use it, if it were supported behavior (with rules like always drop any non- existent fields, or rather make specially annotated fields optional etc.) Maybe really worth thinking about it... Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't debug client code from Eclipse
Glad you got it working. If you wouldn't mind, could you file a bug for this? Provide details about your Eclipse version, JDK version, and OS. On Tue, Mar 2, 2010 at 6:17 PM, urbanus urba...@240gl.org wrote: On Feb 10, 2:53 am, Rajeev Dayal rda...@google.com wrote: Try upgrading your JDK and see if you still experience the problem. Actually I found the problem. I was setting the breakpoint on the method definition line, i.e.: public void onSuccess(String result) { Those breakpoints never hit. If I place breakpoints on any lines *within* that method, they hit just fine. Note that under normal circumstances if you put a breakpoint on a method line, execution will break at the immediately following line. It seems that client-side asynchronous GWT code doesn't behave that way. I wouldn't consider this to be a serious issue: just something to be aware of. Thanks for your advice. Dave -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can google plugin use different jar files for server and client?
Hey Chris, This would not do any magic to handle serialization between the client and server versions of the types. While you might be able to make something work out here, it would definitely not be supported behavior (as we've not thought through this use case). Rajeev On Mon, Feb 22, 2010 at 1:35 PM, Chris Lercher cl_for_mail...@gmx.netwrote: Cool, does this also allow for serialization between client and server version out of the box, or will this require any special additional serialization code? BTW, this would probably solve the issues in this thread about reusing TopLink objects etc on the client: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/71e0e7ca92425ad/c69170c5c1121504 On Feb 22, 7:14 pm, Rajeev Dayal rda...@google.com wrote: I think you can achieve this by using GWT's super-source mechanism: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... On Fri, Feb 19, 2010 at 2:48 PM, Tim K timk...@gmail.com wrote: I have a server version of a class in one jar, and a client version of the class in another. The client version is restricted to JRE emulation, while the server version can use the entire JRE. Can the google plug-in for eclipse be configured to use the server jar for the server code and the client jar for the client code? *** Server jar *** class X { X() { ... } X( File directory ) { . } ... *** Client jar *** class X { X() { ... } // Can't access a file on client side, so disable this constructor // X( File directory ) { . } ... Regards, Tim K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can google plugin use different jar files for server and client?
Glad that worked out for you, and thanks for posting an example. super-src is definitely a strange concept, so it helps to have a clear example of how to use it, and why it might be valuable :) On Wed, Feb 24, 2010 at 11:16 AM, Tim K timk...@gmail.com wrote: Great answer Rajeev! I worked up a simple example that works in development mode and production mode. Here's the link again. http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml I had the mindset that the server side code always included all of the client side code. This is not the case. The fourth directory is not used by the server. DIRECTORY CLIENT PACKAGE SERVER PACKAGE src\package1\client package1.clientpackage1.client src\package1\server -- none -- package1.server src\package2 -- none -- package2 src\package1\jscriptSrc\package2 package2 -- none -- This shows that the client and server have two different definitions of 'package2'. Why does src\package1\jscriptSrc\package2 not create package1.jscriptSrc.package2? The super-source tag instructs the compiler to 're-root' a source path. File: src\package1\Test001.gwt.xml ... source path='client' / super-source path='jscriptSrc'/ ... * Please note: This convention confuses Eclipse, so exclude jscriptSrc from the buildPath. This allows me to create one definition of a class for the server and another for the client. The server version may use any java class, such as java.io.File. * File: src\package2\WhoAmI.java * package package2; import java.io.File; public class WhoAmI { public static String name=Server; } * File: src\package1\jscriptSrc\package2\WhoAmI.java * package package2; public class WhoAmI { public static String name=Client; } On Feb 22, 12:14 pm, Rajeev Dayal rda...@google.com wrote: I think you can achieve this by using GWT's super-source mechanism: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjec... On Fri, Feb 19, 2010 at 2:48 PM, Tim K timk...@gmail.com wrote: I have a server version of a class in one jar, and a client version of the class in another. The client version is restricted to JRE emulation, while the server version can use the entire JRE. Can the google plug-in for eclipse be configured to use the server jar for the server code and the client jar for the client code? *** Server jar *** class X { X() { ... } X( File directory ) { . } ... *** Client jar *** class X { X() { ... } // Can't access a file on client side, so disable this constructor // X( File directory ) { . } ... Regards, Tim K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: stop validating ClientBundles
Hey Jim, This is a known issue in GPE 1.2, and it has been fixed. The fix will be released in a forthcoming version of the plugin. At this time, there is no workaround for this issue. Rajeev -- Forwarded message -- From: Jim jim.p...@gmail.com Date: Fri, Feb 26, 2010 at 7:47 PM Subject: stop validating ClientBundles To: Google Web Toolkit google-web-toolkit@googlegroups.com I am using GWT Eclipse Plugin. In the bottom status panel, I can see Validating ClientBundles running forever. I can not find anywhere to stop it. Any solution? Jim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error loading module No source code is available for com.google.gdata.util.AuthenticationException; did you forget to inherit a required module in GWT after using gdata-java-client and appeng
What type of application are you trying to write? Are you trying to use Google App Engine for Java? Can you list the build classpath for your application? On Fri, Feb 19, 2010 at 11:21 AM, dane.molotok dane.molo...@gmail.comwrote: I bet this addresses GWT not being able to find your Exception: http://thejavamonkey.blogspot.com/2009/08/gwt-basics-reusable-bean-libraries.html On Feb 19, 9:03 am, Shyam Visamsetty shyamsunder...@gmail.com wrote: Can anyone help me with this error? TIA -Shyam. On Feb 19, 12:56 am, Shyam Visamsetty shyamsunder...@gmail.com wrote: Hi All, I am getting an error while running in development mode in GWT 2.0 and also AppEngine. I add the external library gdata-java-client' Using Eclipse IDE. Error is: No source code is available for com.google.gdata.util.AuthenticationException; did you forget to inherit a required module Another error is The import com.google.appengine cannot be resolved Could you kindly provide suggestions on how to overcome them. What is the module to be inherited. Why is AppEngine not resolving. I am a newbie and would appreciate any help. TIA. Thanks, Shyam. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 and Eclipse, Project redeployment
Hi Paul, Hotswapping should work if the following are true: 1) Your project's output folder is set to war/WEB-INF/classes (as all WAR-based projects created with GPE do) 2) Your GPE launch configuration uses the embedded server (i.e. not -noserver mode) 3) You run the GPE launch configuration in DEBUG mode 4) Your project has the Build Automatically option turned on Let me know if you see different results. Rajeev On Fri, Feb 19, 2010 at 3:09 AM, Paul S paulsschw...@gmail.com wrote: Rajeev, please elaborate on this. I thought is was just part of the fact that we had to restart the server if functionality there changed. Would be very nice if server code could be hot swapped. Naturally I would think that changes to web.xml and so on would require a server restart, but that's to be expected. So you are saying that normal Java code in the server side servlets can be changed? Please give a bit more instruction on how to do this (I'm using GWT 2 in Eclipse). Thanks Paul On Feb 18, 7:27 pm, Rajeev Dayal rda...@google.com wrote: How are you restarting the server? Are you using the Restart Server option in the Development Mode view? Also, if you are running your launch configuration using Debug (not Run), and you've set Eclipse to Build Automatically, then server-side changes should be hotswapped in most cases. On Thu, Feb 18, 2010 at 10:44 AM, paata paata...@gmail.com wrote: Hi all, I'm newbie on gwt. I've eclipse gwt project with smartgwt. When i make changes on client side code, changes appeard after saving, but when i make changes on server side (change anything into servlet method ) it is required to restart server. I need redeployment not server restart Restart needs long time, approximately 3-4 minute. any idea? regards paata -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can google plugin use different jar files for server and client?
I think you can achieve this by using GWT's super-source mechanism: http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html#DevGuideModuleXml On Fri, Feb 19, 2010 at 2:48 PM, Tim K timk...@gmail.com wrote: I have a server version of a class in one jar, and a client version of the class in another. The client version is restricted to JRE emulation, while the server version can use the entire JRE. Can the google plug-in for eclipse be configured to use the server jar for the server code and the client jar for the client code? *** Server jar *** class X { X() { ... } X( File directory ) { . } ... *** Client jar *** class X { X() { ... } // Can't access a file on client side, so disable this constructor // X( File directory ) { . } ... Regards, Tim K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 and Eclipse, Project redeployment
How are you restarting the server? Are you using the Restart Server option in the Development Mode view? Also, if you are running your launch configuration using Debug (not Run), and you've set Eclipse to Build Automatically, then server-side changes should be hotswapped in most cases. On Thu, Feb 18, 2010 at 10:44 AM, paata paata...@gmail.com wrote: Hi all, I'm newbie on gwt. I've eclipse gwt project with smartgwt. When i make changes on client side code, changes appeard after saving, but when i make changes on server side (change anything into servlet method ) it is required to restart server. I need redeployment not server restart Restart needs long time, approximately 3-4 minute. any idea? regards paata -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Failure upgrading 1.7 to 2.0
There is a a bug with switching SDKs. Try the following: 1) Remove any GWT-generated folders under your war directory. 2) Clear your browser's cache, and restart your browser. See if that helps. On Thu, Feb 18, 2010 at 11:09 AM, Tapas Adhikary tapas4...@gmail.comwrote: Hi , I am also getting the same issue. Once compiled explicitly , it started working but debugging and UI compilation on browser changes are not happening. Please help. I had created the project using GWT 1.5 application creator. and then upgraded it to GWT 2.0. I have installed the GWT dev plug-in as well. Thanks, -Tapas On Thu, Feb 18, 2010 at 6:18 AM, jfeingold jjfeing...@gmail.com wrote: I'm trying to upgrade an application from working with GWT 1.7 to 2.0. However, when I go through the steps to convert from 1.7 to 2.0, I get a failure message when launching my browser saying that I need to (re)compile my source. This message makes no sense since I should not have to compile to run in DevMode. I am running Win7 and launching from IntelliJ 8. I initially suspcted an installation problem. However, I observed the same behavior with both 2.0.1 and 2.0.2. I also set up a test where I created an analogous IJ project, module, and launch configuration using the Hello example application, which works just fine. This has left me rather confused, since the 1.7 to 2.0 upgrade seemed rather minimal and my setup worked before, and an analogous setup currently works as well. I wish I could be more descriptive of the problem, but I am pretty well stymied by the thing at this point. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't debug client code from Eclipse
Actually, setting a breakpoint in async callback code should definitely work. In the sample, I set a breakpoint in the onSuccess method of the RPC callback, and it breaks there. Try upgrading your JDK and see if you still experience the problem. On Sat, Feb 6, 2010 at 7:28 AM, urbanus urba...@240gl.org wrote: What happens if you set the breakpoint in the onModuleLoad() method within your entry point? Thanks for your advice. I found that breakpoints work in the onModuleLoad() method, but not in any asynchronous callback code. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: upgrade gwt 1.5 to 1.6 help!!
If you're using the plugin, you don't need to switch to DevMode on your own - the plugin will automatically do this for you, if it recognizes that your project is in a 1.6-compatible form. See the Working with GWT 1.5 and Earlier Projects section of: http://code.google.com/eclipse/docs/existingprojects.html On Mon, Feb 8, 2010 at 7:00 AM, asle asle...@gmail.com wrote: I tried with the plugin and without the plugin. When i create a new project, i am not problem. My problem is when i upgrade my project, because i have a project with gwt 1.5 and i upgrade to 1.6 and i folowing the steps but i not understand how switch shell for hosted mode. Sorry for the writing, but i am not speak english Thanks best regards On 5 feb, 13:42, Rajeev Dayal rda...@google.com wrote: Are you using the Google Plugin for Eclipse? On Fri, Feb 5, 2010 at 1:26 AM, Gal Dolber gal.dol...@gmail.com wrote: I recommend you to go straight to GWT 2.0. Just update the SDK and find the deprecated's in your code. The biggest problem you can have is with the ImageBundle, now you have to use ClientBundle. Also I don't remember if the Listeners - Handlers transition was before of after 1.6 ... Anyway... you won't regret it Best 2010/2/4 asle asle...@gmail.com Hello: We have a problem to upgrade gwt , and folowing the steps in http://code.google.com/intl/es/webtoolkit/doc/1.6/ReleaseNotes_1_6.ht. .. . The first step is ok, but de second step: Switch from GWTShell to HostedMode i am not understand how i do, because i do not know where directory is the main class for swich. I need you help for indications to change the main class because i need folowing the steps for upgrating my project: In order to eliminate this warning, change your main class from com.google.gwt.dev.GWTShell to com.google.gwt.dev.HostedMode When i run the project, indicate this warning: WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.HostedMode' instead. Sorry for the writing, but i am not speak english Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.- Ocultar texto de la cita - - Mostrar texto de la cita - -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0.1 out but Eclipse says There is nothing to update
The problem has to do with the P2 system used in Eclipse 3.4+. This is the provisioning system, which is responsible for plugin installation and management. Every so often, P2 performs a garbage collection of plugins that are no longer used by Eclipse. If you deliver SDKs by using plugins as the delivery mechanism, P2 deletes the older ones, because Eclipse only runs the latest version of a given plugin. By modifying the plugin ID every time we deliver a new SDK, we prevent P2 from garbage-collecting older SDKs. While this is not an ideal solution, it's a decent compromise until we can come up with another way to deliver SDKs during the Eclipse installation process. On Mon, Feb 8, 2010 at 1:22 PM, Chris Lercher cl_for_mail...@gmx.netwrote: On Feb 5, 4:41 pm, Rajeev Dayal rda...@google.com wrote: Actually, the problem is that when we release a new SDK, the feature id changes, I'm curious: Why do you change it? If I understand it correctly, Eclipse features shouldn't contain the version number as a part of their feature id. The feature.xml offers a separate 'version' attribute. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Changed war destination no refresh
Can you explain in more detail the changes that you've made? You should not need to change any settings at all in order to get the proper refresh behavior. A GWT Compilation is not necessary to run your application in development mode; you only need to compile it when you deploy it to your production server. On Fri, Feb 5, 2010 at 7:03 AM, Pietro santure...@gmail.com wrote: Hi all, I've configured Eclipse Plugin for GWT 2.0 so that compile directory is in web app of my web server. All have gone right, but now when I change java code I need to recompile. In Debug configuration I'veconfigured working directory so that it points to compile directory. I'm running on Windows XP and Eclispe 3.4 Ganymede. I really appreciate any help. Thanls in advance, Pietro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0.1 out but Eclipse says There is nothing to update
Actually, the problem is that when we release a new SDK, the feature id changes, so Eclipse does not detect this as an update - it detects it as a new component to install. We need to change the update notification text to reflect this. On Fri, Feb 5, 2010 at 5:51 AM, olivier nouguier olivier.nougu...@gmail.com wrote: Yep it is just because it's a SDK Update and *not* a plugin update... On Fri, Feb 5, 2010 at 2:22 AM, Sky myonceinalifet...@gmail.com wrote: Go to Help - Install new software... then choose Google Plugin - http://dl.google.com/eclipse/plugin/3.5; from the drop down or else add it if it isn't already there. It should show both the App Engine and GWT under SDKs. Check SDKs and click Next. I had the same thing as you, but this way worked for me. Hope this helps. On Feb 4, 6:15 pm, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: Ive just noticed GWT 2.0.1 has been released, so I wanted to check how does my bug do in the new release, but Eclipse says there's nothing to update from the update site. When I browse available software from Google within Available Software the new version is actually listed (also when I check Hide items that are already installed). Am I the only one experiencing this? Am I missing something? Regards J. Záruba -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- A coward is incapable of exhibiting love; it is the prerogative of the brave. -- Mohandas Gandhi -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: upgrade gwt 1.5 to 1.6 help!!
Are you using the Google Plugin for Eclipse? On Fri, Feb 5, 2010 at 1:26 AM, Gal Dolber gal.dol...@gmail.com wrote: I recommend you to go straight to GWT 2.0. Just update the SDK and find the deprecated's in your code. The biggest problem you can have is with the ImageBundle, now you have to use ClientBundle. Also I don't remember if the Listeners - Handlers transition was before of after 1.6 ... Anyway... you won't regret it Best 2010/2/4 asle asle...@gmail.com Hello: We have a problem to upgrade gwt , and folowing the steps in http://code.google.com/intl/es/webtoolkit/doc/1.6/ReleaseNotes_1_6.html#Upgrading . The first step is ok, but de second step: Switch from GWTShell to HostedMode i am not understand how i do, because i do not know where directory is the main class for swich. I need you help for indications to change the main class because i need folowing the steps for upgrating my project: In order to eliminate this warning, change your main class from com.google.gwt.dev.GWTShell to com.google.gwt.dev.HostedMode When i run the project, indicate this warning: WARNING: 'com.google.gwt.dev.GWTShell' is deprecated and will be removed in a future release. Use 'com.google.gwt.dev.HostedMode' instead. Sorry for the writing, but i am not speak english Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Can't debug client code from Eclipse
There have been problems with versions of JDK 1.6.0_X, where X is between 0-15, where breakpoints are not hit when debugging. However, it is odd that your server breakpoints consistently work, but your client breakpoints do not; in those cases where the JDK has been the source of the problem, the breakpoints don't work at all (on either side). What is the URL that you're pasting into your browser? Can you provide a screenshot of what the development mode view looks like (I want to make sure that there is an entry for the web browser)? What happens if you set the breakpoint in the onModuleLoad() method within your entry point? On Thu, Feb 4, 2010 at 11:16 PM, urbanus urba...@240gl.org wrote: Debugging a default GreetingService application from Eclipse works fine -- including breakpoints in the server code -- but breakpoints in the client code aren't triggered. I installed GWT 2.0.1, plus the GWT 2.0.1 plugin for Eclipse. I generated a new, default project from the command-line, added it as an Eclipse project, went to Properties and set the Web Toolkit to 2.0.1. I can debug it as a Web Application and it appears on the new Development Mode panel in Eclipse. I pasted the URL into Firefox and was prompted to install the plugin -- OK. Restarted Firefox, the plugin seems to be talking to Eclipse (if I stop Development Mode in Eclipse, the page is greyed out and GWT Code Server Disconnected is displayed). Debugging works fine in the *server* code: I can set breakpoints in GreetingServiceImpl.java and step, etc. But if I set a breakpoint in the *client* code (such as the sendNameToServer() method) the code runs but the breakpoints are never hit. System: Eclipse 3.5, Fedora 11, Java 1.6.0_0 build 14.0-b16. Thanks, Dave -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Changed war destination no refresh
Hi, On Fri, Feb 5, 2010 at 1:18 PM, cretz chad.r...@gmail.com wrote: A GWT Compilation is not necessary to run your application in development mode I don't necessarily agree with this. There have been times I have entered my application via development mode and it tells me GWT module 'MODULE_NAME' may need to be (re)compiled. I assume this only occurs when you have completely cleaned out the MODULE_NAME folder of your war, but I am not sure. That error is a bit of a misnomer - it usually occurs in development mode when you switch SDKs. To fix this problem (until we fix it on our side), do the following (whenever you switch SDKs): a) Blow away the generated MODULE_NAME folder in your war directory b) Clear your browser's cache As for the refresh issue, I too am having the exact same problem with the exact same setup, and I simply deleted and rechecked out my project; didn't change any paths. I tried w/ Eclipse 3.5 and that didn't help. It always worked for me before, but now does not. I have to completely GWT-Compile my app to see any changes I make. That is definitely problematic, and that should not be the case. When you're running your app in development mode, what URL are you using to load up your application? Does it contain the gwt.codesvr query parameter? Are there any links or redirects in your application (which might cause this parameter to be dropped, thereby taking you 'out' of development mode)? On Feb 5, 9:36 am, Rajeev Dayal rda...@google.com wrote: Can you explain in more detail the changes that you've made? You should not need to change any settings at all in order to get the proper refresh behavior. A GWT Compilation is not necessary to run your application in development mode; you only need to compile it when you deploy it to your production server. On Fri, Feb 5, 2010 at 7:03 AM, Pietro santure...@gmail.com wrote: Hi all, I've configured Eclipse Plugin for GWT 2.0 so that compile directory is in web app of my web server. All have gone right, but now when I change java code I need to recompile. In Debug configuration I'veconfigured working directory so that it points to compile directory. I'm running on Windows XP and Eclispe 3.4 Ganymede. I really appreciate any help. Thanls in advance, Pietro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Changed war destination no refresh
Hi, I don't think that's the best way to handle it, as you'll be littering those calls throughout your code. Take a look at our Showcase sample - in particular, look at the code that gets executed when the user changes locales by selecting a different one in the upper-right hand corner of the app. The code had to be written to handle the exact case that you're talking about. Rajeev On Fri, Feb 5, 2010 at 2:35 PM, cretz chad.r...@gmail.com wrote: I use the URL it recommends (http://127.0.0.1:/index.html? gwt.codesvr=127.0.0.1:9997) and I add a history token, but it keeps the gwt.codesvr (i.e. http://127.0.0.1:/index.html?gwt.codesvr=127.0.0.1:9997#login). When I login, I do issue a full redirect for OpenID and security reasons. That appears to be the issue, because when I add the request parameter back, all is good. I guess I will make sure I do a GWT.isScript check and if so, redirect with request parameters included. Thanks for the help. On Feb 5, 12:25 pm, Rajeev Dayal rda...@google.com wrote: Hi, On Fri, Feb 5, 2010 at 1:18 PM, cretz chad.r...@gmail.com wrote: A GWT Compilation is not necessary to run your application in development mode I don't necessarily agree with this. There have been times I have entered my application via development mode and it tells me GWT module 'MODULE_NAME' may need to be (re)compiled. I assume this only occurs when you have completely cleaned out the MODULE_NAME folder of your war, but I am not sure. That error is a bit of a misnomer - it usually occurs in development mode when you switch SDKs. To fix this problem (until we fix it on our side), do the following (whenever you switch SDKs): a) Blow away the generated MODULE_NAME folder in your war directory b) Clear your browser's cache As for the refresh issue, I too am having the exact same problem with the exact same setup, and I simply deleted and rechecked out my project; didn't change any paths. I tried w/ Eclipse 3.5 and that didn't help. It always worked for me before, but now does not. I have to completely GWT-Compile my app to see any changes I make. That is definitely problematic, and that should not be the case. When you're running your app in development mode, what URL are you using to load up your application? Does it contain the gwt.codesvr query parameter? Are there any links or redirects in your application (which might cause this parameter to be dropped, thereby taking you 'out' of development mode)? On Feb 5, 9:36 am, Rajeev Dayal rda...@google.com wrote: Can you explain in more detail the changes that you've made? You should not need to change any settings at all in order to get the proper refresh behavior. A GWT Compilation is not necessary to run your application in development mode; you only need to compile it when you deploy it to your production server. On Fri, Feb 5, 2010 at 7:03 AM, Pietro santure...@gmail.com wrote: Hi all, I've configured Eclipse Plugin for GWT 2.0 so that compile directory is in web app of my web server. All have gone right, but now when I change java code I need to recompile. In Debug configuration I'veconfigured working directory so that it points to compile directory. I'm running on Windows XP and Eclispe 3.4 Ganymede. I really appreciate any help. Thanls in advance, Pietro -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com google-web-toolkit%252bunsubscr...@googlegroups.comgoogle-web-toolkit%25252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com
Re: Struggling to get stockwatcher example running in Eclipse
Hi Tim, Thanks for pointing this issue out. There is an issue with the packaged launch configuration files; we're going to update them and push new ones out. Regarding this error: C:\path\to\gwt.sdk not found. See the documentation at the top of http://code.google.com/webtoolkit/doc/latest/tutorial/i18n.html. We need to update the documentation in the general Getting Started Guide to have that note. When it comes to running your application in Eclipse, do not use the *.launch files; follow the instructions here: http://code.google.com/webtoolkit/doc/latest/tutorial/create.html#test for enabling the Google Plugin for Eclipse to work with your project. That document also contains instructions on running your application using the Google Plugin for Eclipse (which does not utilize the .launch files). If you're still running into problems, please post back on this thread. Thanks, Rajeev On Thu, Jan 28, 2010 at 1:33 PM, timwhunt timwh...@gmail.com wrote: I'm switching to Eclipse (from Netbeans) for the first time to try using GWT and Google App Engine (Java) for a new project. I'm following the instructions at http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html by downloading the complete StockWatcher code and then following the instructions to convert it to a GAE/J project, but I can't get it to run. When I try to run it in dev mode I get an error of: The archive: /usr/local/google/jlabanca/gwt_all/gwt-2.0.0/gwt-dev.jar which is referenced by the classpath, does not exist. I've tried to configure the paths near the top of build.xml with !-- Configure path to GWT SDK -- property name=gwt.sdk location=C:\Program Files\GWT\gwt-2.0.0 / !-- Configure path to App Engine SDK -- property name=appengine.sdk location=C:\Program Files\appengine- java-sdk-1.3.0 / Another sign of path trouble is in the build.xml file where the editor is underlying the following bit and saying C:\path\to\gwt.sdk not found. taskdef name=datanucleusenhancer classpathref=tools.class.path classname=org.datanucleus.enhancer.tools.EnhancerTask / I'm also curious about the ' /usr/local/google/jlabanca/' part of the error message above. It appears to be looking in a path from another user that doesn't exist on my computer. That path seems to come from StockWatcherTest-dev.launch, which includes the following line: listEntry value=lt;?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?gt;#13;#10;lt;runtimeClasspathEntry externalArchive=quot;/usr/local/google/jlabanca/gwt_all/gwt-2.0.0/gwt- dev.jarquot; path=quot;3quot; type=quot;2quot;/gt;#13;#10;/ Any help would be greatly appreciated! -Tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Struggling to get stockwatcher example running in Eclipse
Sorry, forget about the mention of http://code.google.com/webtoolkit/doc/latest/tutorial/create.html#test - I meant that you should follow the Eclipse-specific instructions on http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html. On Fri, Jan 29, 2010 at 2:54 PM, Rajeev Dayal rda...@google.com wrote: Hi Tim, Thanks for pointing this issue out. There is an issue with the packaged launch configuration files; we're going to update them and push new ones out. Regarding this error: C:\path\to\gwt.sdk not found. See the documentation at the top of http://code.google.com/webtoolkit/doc/latest/tutorial/i18n.html. We need to update the documentation in the general Getting Started Guide to have that note. When it comes to running your application in Eclipse, do not use the *.launch files; follow the instructions here: http://code.google.com/webtoolkit/doc/latest/tutorial/create.html#test for enabling the Google Plugin for Eclipse to work with your project. That document also contains instructions on running your application using the Google Plugin for Eclipse (which does not utilize the .launch files). If you're still running into problems, please post back on this thread. Thanks, Rajeev On Thu, Jan 28, 2010 at 1:33 PM, timwhunt timwh...@gmail.com wrote: I'm switching to Eclipse (from Netbeans) for the first time to try using GWT and Google App Engine (Java) for a new project. I'm following the instructions at http://code.google.com/webtoolkit/doc/latest/tutorial/appengine.html by downloading the complete StockWatcher code and then following the instructions to convert it to a GAE/J project, but I can't get it to run. When I try to run it in dev mode I get an error of: The archive: /usr/local/google/jlabanca/gwt_all/gwt-2.0.0/gwt-dev.jar which is referenced by the classpath, does not exist. I've tried to configure the paths near the top of build.xml with !-- Configure path to GWT SDK -- property name=gwt.sdk location=C:\Program Files\GWT\gwt-2.0.0 / !-- Configure path to App Engine SDK -- property name=appengine.sdk location=C:\Program Files\appengine- java-sdk-1.3.0 / Another sign of path trouble is in the build.xml file where the editor is underlying the following bit and saying C:\path\to\gwt.sdk not found. taskdef name=datanucleusenhancer classpathref=tools.class.path classname=org.datanucleus.enhancer.tools.EnhancerTask / I'm also curious about the ' /usr/local/google/jlabanca/' part of the error message above. It appears to be looking in a path from another user that doesn't exist on my computer. That path seems to come from StockWatcherTest-dev.launch, which includes the following line: listEntry value=lt;?xml version=quot;1.0quot; encoding=quot;UTF-8quot;?gt;#13;#10;lt;runtimeClasspathEntry externalArchive=quot;/usr/local/google/jlabanca/gwt_all/gwt-2.0.0/gwt- dev.jarquot; path=quot;3quot; type=quot;2quot;/gt;#13;#10;/ Any help would be greatly appreciated! -Tim -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Tomcat in Eclipse: Tomcat loads its classes from gwt-dev.jar instead of its own.
Glad you got it working. On Fri, Jan 29, 2010 at 1:00 PM, Bob Luo bob...@rebels.com wrote: Hello, Just to let any reader know, I managed to solve my problem by separating the backend stuff from the frontend stuff, with the creation of 2 eclipse projects. I also created a source directory named shared which is imported in both projects. This way, I fixed every problem I had and would have had in the long run. I can: Run tomcat in debug with the front-end compiled as production (Debug in backend, no debug in front end) with only the backend project open Run tomcat in debug with the front-end running in GWT in debug mode (Debug in both projects means I can debug either side) requires both projects open I can easily deploy both sides compiled as production in a stand-alone tomcat (No Eclipse at all) We configure JNDI ressources etc, all of this included in Spring, with AJDT. Using only the Google App Engine in an integrated project would have come with its set of problems in the long run (I could not find how to define JNDI ressources in GAE, etc) We work the same way with our integration with Flex. We are used to it. Regards, Bob -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: port, eclipse, ff
We definitely want to improve the experience of importing sample projects into Eclipse in an automated fashion - the current process is cumbersome. On Mon, Jan 25, 2010 at 2:39 AM, Ewald Pankratz ewald.pankr...@gmail.comwrote: Again a strange problem occurred. I copied a functional project in eclipse. One had an error in eclipse and the other one not. There was no reason for the error. They looked exactly the same. So I decided to install eclipse again. I deleted my $HOME/.eclipse directory and reinstalled eclipse. The problem disappeared. I suppose the reason was that I did some changes on the configuration. I followed the GWT eclipse instruction in README.txt (DND) and got jammed with the Checkstyle version 4.4.2, which I couldn't find. I installed a newer version and decided later to get rid of it, because it is written that a newer version will not work. Maybe at this point I mad some mistakes. Google should really automate the shit if possible. nevertheless, thanks a lot On Jan 23, 5:38 pm, Ewald Pankratz ewald.pankr...@gmail.com wrote: In the meantime I installed new software ssh, nfs, samba and imported another project and run it. I stopped it and wanted to reproduce the problem I had. But it was always working correctly. On Jan 23, 10:51 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I restarted my computer, opened eclipse, closed unrelated projects, run the program with port , opened my ff. did the address in, pressed return, got my result with no styling, pressed the reload button, same result. I stopped the program in ecilpse, changed the port to 8887, pressed apply, run it, copied the address, did it in ff, result was with styling. On Jan 22, 5:22 pm, Rajeev Dayal rda...@google.com wrote: You should not need to perform a compilation in order to get development mode to work. I'm not sure why port 8887 would have been active, unless you specified that in your launch configuration. What was appearing when you selected port vs port 8887? Can you reproduce the problem? 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- ÑóÈóøäóÇ áÇó ÊõÒöÛú ÞõáõæÈóäóÇ ÈóÚúÏó ÅöÐú åóÏóíúÊóäóÇ æóåóÈú áóäóÇ ãöä áóøÏõäßó ÑóÍúãóÉð Åöäóøßó ÃóäÊó ÇáúæóåóøÇÈõ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You
Re: IncompatibleRemoteServiceException with -noserver argument in gwt 2.0
Hi, If you want to pick up changes to your server code while the development server is running, you need to deploy your application in exploded-war format to JBoss. When you run GWT in -noserver mode, you should point your -war directory over to your JBoss server's deployment directory - that way, any files generated by GWT will be dumped into your running server's directory. Unfortunately, there is a bug in GWT's RPC system that will prevent the server from picking up changes to the RPC serialization policy file, even if you copy the modified serialization file into the running server's deployment directory: http://code.google.com/p/google-web-toolkit/issues/detail?id=4548 I'd recommend that you star this issue if you want it to be prioritized. Rajeev On Thu, Jan 14, 2010 at 12:38 PM, denis56 denis.ergashb...@gmail.comwrote: His, I have been struggling with com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException (which finds several entries in web) for a while and was able to find a clumsy workaround. Could anyone please suggest a solution in the following case as I believe it may be either my configuration error or gwt bug. Here is a sample project structure to refer to: - java - modules | -- gwtclient There is an ant task that compiles gwt code and puts it generated code under modules/gwtclient, this folder is than zipped as war file and deployed to jboss. It all runs then smoothly in a browser. However should I start DevMode with -noserver option and the -war option pointing at NOT PACKAGED directory modules/gwtclient in the project structure, the following exception com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException: Type 'XYZ' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer. For security purposes, this type will not be deserialized. will be thrown. I noticed that on every start DevMode creates new .gwt.rpc file under modules/gwtclient (and not to deployed war) and that the exception disappears if the modules/gwtclient is packaged and redeployed as DevMode runs. From http://groups.google.com/group/google-web-toolkit/browse_thread/thread/d026ef687c504eef# I understand that the server (jboss' tomcat?) cannot find suitable .gwt.rpc file and falls back to LegacySerializationPolicy which demands IsSerializable interface. Shouldn't DevMode running with -noserver argument be able create new .gwt.prc files direct in the war file deployed to jboss or not create it at all? Is this a bug or my DevMode configuration mistake? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT + Eclipse doesn't work. Attempted to beginRule: R/, does not match outer scope rule
Can you post the full stack trace? Also, have you always had this problem, or did you upgrade the plugin (or other plugins) in your Eclipse installation lately? Are you using any Eclipse plugins for source control? On Thu, Jan 21, 2010 at 8:39 AM, MaEcTPo olegik...@gmail.com wrote: Hi, I have a trouble with Eclipse and GWT. My GWT projects don't work. All of them. They compile, but don't run in hosted mode. When I start Eclipse I receive popup with error. In eclipse error log I have this: java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/MySmartGWT at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63) . And it is for all gwt projects. When I run project I receive a link, for example http://localhost:/MySmartGWT2.html?gwt.codesvr=127.0.1.1:9997, but when I open it in FireFox - nothing happens. There are not logs, errors or something like that. I use Ubuntu 9.10, Eclipse 3.5, GWT 2.0. In some project I am playing with SmartGWT. Source control - mercurial. Best regars, Oleg. P.S. I know that my English is not very well, but I am learning it now. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT Plugin Change Folder
As it stands now, there is no way to configure the name of the folder that the Google Plugin for Eclipse uses; the folder must be named war. However, we're currently working on a change make the war folder name configurable. On Fri, Jan 22, 2010 at 5:48 AM, Luca Servalli luca.serva...@gmail.comwrote: I have a web project in IBM RAD 7.5 that have folder WebContent instead war. Someone have a solution for plugin of google or I have to change the name of folder? thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: No Jetty Tab in Eclipse
Hi, Are you using the Development Mode View in Eclipse, or are you using GWT's Development Mode window? If you're talking about the view, it does not have an entry for the server; server messages are printed out to Eclipse's console view. Rajeev On Fri, Jan 22, 2010 at 3:53 AM, Fletch fletcherfow...@gmail.com wrote: I am running Eclipse 3.5 Galileo and just upgraded to GWT 2.0 I am able to run my application in Firefox with the add-on but I cannot figure out how to show the Jetty tab next to the development mode tab. This was clearly not an issue in GWT 1.71 but is really annoying for debugging any server issues. Please advise how to enable this feature again. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: port, eclipse, ff
You should not need to perform a compilation in order to get development mode to work. I'm not sure why port 8887 would have been active, unless you specified that in your launch configuration. What was appearing when you selected port vs port 8887? Can you reproduce the problem? 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com Clean an compile didn't help. When I choose Automatically select an unused port it's working. On Jan 22, 10:01 am, Hind AbdolKhaleq habdolkha...@gmail.com wrote: may try Project- clean and compile again : *Notice the message at console and print it out* 2010/1/22 Ewald Pankratz ewald.pankr...@gmail.com With something else I mean the wrong page I had before. On Jan 22, 6:30 am, Ewald Pankratz ewald.pankr...@gmail.com wrote: I work with eclipse 3.5, ubuntu 9.10 64 bit, firefox 3.57. I use the lastest release of GWT and GA and had a strange experience with the result of my GWT program. When I run the program with the default address http://localhost:/ DragDropDemo.html?gwt.codesvr=127.0.1.1:9997 I always got a screen which has nothing to do with the program work. Many time I checked the configuration an tried it again. I always got the same strange result, which looked like the result of another program. I even checked with find and grep after the string whichs appeared on the screen. There were no such strings in this project. I also restarted my computer again. Finally I changed the port to 8887 because the response of the browser was far too fast. And then I got the right screen. When I changed back to port , I again got somehing else. There were no other GWT programs runnung. Any idea? A bug? Something to issue? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- رَبَّنَا لاَ تُزِغْ قُلُوبَنَا بَعْدَ إِذْ هَدَيْتَنَا وَهَبْ لَنَا مِن لَّدُنكَ رَحْمَةً إِنَّكَ أَنتَ الْوَهَّابُ -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Error com.google.gwt.dev.shell.GWTShellServlet
Does that jar file exist in the war/WEB-INF/lib folder of your application as well? 2010/1/9 Andrés Cerezo acerezoguil...@gmail.com No, because I've the jar in the build path. 2010/1/9 UJ upendra.jar...@gmail.com gwt-servlet.jar is needed. see: http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/f30983fcbef8030f Regards, Upendra Jariya. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Upgrade Problem
Hi, Have you seen an instance where GWT tries to load the nocache.js file directly from the root of your war folder? What does the HTTP GET request look like? There is definitely a bug in GWT when switching between SDKs. The problem is twofold: 1) The hosted.html file does not get regenerated. The workaround for this is to blow away the generated subdirectories of the war directory after switching SDKs. 2) Because of the caching rules that GWT's embedded Jetty uses, hosted.html is not re-requested by the browser whenever it is requested. The workaround for this is to clear your browser's cache. Rajeev On Mon, Jan 11, 2010 at 11:16 AM, m.mil...@newelements.de m.mil...@newelements.de wrote: Thanks for the hints, but all of this issues i could handle by myself. the problem is gwt produces erroneus code. it tries loading XYZ.cache.js files from the war folder, but into the war fiolder are subdirectories where the js files lies. It looks like this only happens on special occasions but i still can´t fire out what is responsible for that. On 9 Jan., 23:15, Sorinel C scristescu...@hotmail.com wrote: Hi all, There small tricks related with the environment, which aren't documented, in the GWT tutorial. Here you can find what helped me to solve the migration issues: http://ui-programming.blogspot.com/2009/12/update-your-application-to... Cheers! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWTShell dev mode problem
Hi Shawn, I'm not sure how those Android natures/builders were added to your project. Maybe you inadvertently triggered a wizard that creates a GAE + Android project, or some other wizard that converts your project to an Android project? At any rate, to remove the Androidness from your project, remove the following entries from the file: buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/com.android.ide.eclipse.adt.ResourceManagerBuilder.launch/value /dictionary /arguments /buildCommand buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/com.android.ide.eclipse.adt.PreCompilerBuilder.launch/value /dictionary /arguments /buildCommand buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/com.android.ide.eclipse.adt.ApkBuilder.launch/value /dictionary /arguments /buildCommand naturecom.android.ide.eclipse.adt.AndroidNature/nature On Mon, Dec 21, 2009 at 5:38 PM, Shawn Brown big.coffee.lo...@gmail.comwrote: Hi Miguel, Is the war directory at the root of your project? yes If you look at your .project file does it have the web app nature? Can you post what a .project file should look like? Originally mine was of web app nature but (please understand I never set it to be like this -- others have the same problem) the Android plugin decided it owns the world and tried to make my GWT-appengine project into an Android one. You can see how messed up this is... If you don't have time, that's fine. I can launch devmode as an external program. It'd be nice though to have it cleaned up so I don't end up somehow getting confusing errors that nobody can track down. projectDescription nameFluencyBuilderGAE/name comment/comment projects /projects buildSpec buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/com.android.ide.eclipse.adt.ResourceManagerBuilder.launch/value /dictionary /arguments /buildCommand buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary keyLaunchConfigHandle/key valuelt;projectgt;/.externalToolBuilders/com.android.ide.eclipse.adt.PreCompilerBuilder.launch/value /dictionary /arguments /buildCommand buildCommand namecom.google.appengine.eclipse.core.enhancerbuilder/name arguments /arguments /buildCommand buildCommand namecom.google.gdt.eclipse.core.webAppProjectValidator/name arguments /arguments /buildCommand buildCommand namecom.google.appengine.eclipse.core.projectValidator/name arguments /arguments /buildCommand buildCommand namecom.google.gwt.eclipse.core.gwtProjectValidator/name arguments /arguments /buildCommand buildCommand nameorg.eclipse.jdt.core.javabuilder/name arguments /arguments /buildCommand buildCommand nameorg.eclipse.ui.externaltools.ExternalToolBuilder/name triggersfull,incremental,/triggers arguments dictionary
Re: Unable to run DevMode
On Mon, Dec 21, 2009 at 11:57 PM, Sam E. ssaam...@gmail.com wrote: I am having the same issue right now. 00:00:00.684 [WARN] Error processing classpath URL 'file:/Users/ ssaammee/.m2/repository/com/sun/jdmk/jmxtools/1.2.1/ jmxtools-1.2.1.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:114) at java.util.jar.JarFile.init(JarFile.java:133) at java.util.jar.JarFile.init(JarFile.java:97) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl (ResourceOracleImpl.java:175) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries (ResourceOracleImpl.java:223) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries (ResourceOracleImpl.java:249) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:293) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:283) at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule (ModuleDefLoader.java:287) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath (ModuleDefLoader.java:141) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:867) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:425) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:340) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953)at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690)at com.google.gwt.dev.DevMode.main(DevMode.java:251) On Dec 21, 4:55 pm, Raziel raziel...@gmail.com wrote: Hi, I just upgraded my application from 1.7.0 to 2.0, and while everything is working fine in production mode, when I try to run Development mode I get the following error: Loading modules com.appiancorp.gwt.appbuilder.ApplicationBuilderDev Public resources found in... [WARN] Error processing classpath URL 'file:/C:/Documents %20and%20Settings/raziel.alvarez/.m2/repository/com/sun/jdmk/jmxtools/ 1.2.1/jmxtools-1.2.1.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:114) at java.util.jar.JarFile.init(JarFile.java:133) at java.util.jar.JarFile.init(JarFile.java:97) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl (ResourceOracleImpl.java:175) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries (ResourceOracleImpl.java:223) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries (ResourceOracleImpl.java:249) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:293) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:283) at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule (ModuleDefLoader.java:287) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath (ModuleDefLoader.java:141) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:867) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:425) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:340) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:953) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:690) at com.google.gwt.dev.DevMode.main(DevMode.java:251) [WARN] Error processing classpath URL 'file:/C:/Documents %20and%20Settings/raziel.alvarez/.m2/repository/com/sun/jmx/jmxri/ 1.2.1/jmxri-1.2.1.jar' java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:114) at java.util.jar.JarFile.init(JarFile.java:133) at java.util.jar.JarFile.init(JarFile.java:97) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.createEntryForUrl (ResourceOracleImpl.java:175) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.addAllClassPathEntries (ResourceOracleImpl.java:223) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.getAllClassPathEntries (ResourceOracleImpl.java:249) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:293) at com.google.gwt.dev.resource.impl.ResourceOracleImpl.init (ResourceOracleImpl.java:283) at com.google.gwt.dev.cfg.ModuleDef.normalize(ModuleDef.java:449) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule (ModuleDefLoader.java:287) at
Re: GWT 2.0 + Mac OS X Leopard + Eclipse 3.5.1 + Java 6: NSConditionLock unlock error messages?
Hey Jim, Based on your comments in the bug report, it looks like the fact that your app uses Swing is what causes the problem. In that case, -XstartOnFirstThread should not be present. Unfortunately, due to the way that the Web Application Launch Configurations work, there is no way to disable this argument from being added automatically (on the Mac). We're thinking of making some changes to the launch configurations in the near future that will make this option configurable (along with others) instead of fixed. For now, your best workaround would be to use a Java launch configuration (as you've been doing). Rajeev On Fri, Dec 18, 2009 at 6:36 PM, Jim Douglas jdoug...@basis.com wrote: -XstartOnFirstThread IS added the command-line, but that is intentional Ahh, that's useful information! Would it be possible to make that a configurable option? I just generated the trivial Web Application Starter Project, and it runs without generating those error messages. But I'm not sure what specifically in my app is triggering those errors -- just that they go away when I run DevMode without the -XstartOnFirstThread flag. Jim. On Dec 18, 3:12 pm, Rajeev Dayal rda...@google.com wrote: Hi Jim, I was unable to reproduce this issue. I was using the following platform: Mac OS X 10.5.8 Java 1.6.0_17 Eclipse - Java Edition, 64 bit, Cocoa (running with Java 1.6.0_17) Now, here's the thing: -XstartOnFirstThread IS added the command-line, but that is intentional; we did that so that Development Mode would not appear as it's own application with a dock item on Mac OS X. I am not getting any of the NSCondition-related error messages. In your Eclipse install, if you generate a new test app (using the New Web App Wizard), do you run into this problem (not -XstartOnFirstThread being present, because it should be there, but the NSLock messages appearing). Rajeev On Fri, Dec 18, 2009 at 2:40 PM, Jim Douglas jdoug...@basis.com wrote: Hi Rajeev, Apple doesn't really give you a lot of choice about the JVM; you basically get what they give you. :-) The current version of Java 6 is: $ /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/ java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) (Apple only distributes Java 6 on 64-bit Intel systems.) We recently moved completely to Java 6; our app no longer builds or runs with Java 5. This is Eclipse 3.5 Cocoa. FWIW, here's my eclipse.ini: $ cd /Applications/eclipse/Eclipse.app/Contents/MacOS $ cat eclipse.ini -startup ../../../plugins/ org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library ../../../plugins/ org.eclipse.equinox.launcher.cocoa.macosx_1.0.1.R35x_v20090707 -product org.eclipse.epp.package.java.product -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Xms512m -Xmx1024m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts On Dec 18, 11:16 am, Rajeev Dayal rda...@google.com wrote: Hi Jim, A couple of questions: -What version of Java 6 is installed on your machine (do a java -version to find out)? Do you experience the same problem with a different version of Java 6 (not sure if Apple allows you to have multiple minor JDK versions on your system at the same time), or with Java 5? -Is your machine 64-bit (I think it has to be in order run Java 6 on Leopard)? -Are you using the Cocoa or Carbon version of Eclipse? Does the problem go away with one versus another? Thanks, Rajeev On Fri, Dec 18, 2009 at 11:46 AM, Rajeev Dayal rda...@google.com wrote: I'll look into this and see if I can reproduce it. On Fri, Dec 18, 2009 at 9:38 AM, Jim Douglas jdoug...@basis.com wrote: Which files did you edit? On Dec 17, 11:59 am, Madprof kickingve...@gmail.com wrote: FWIW, I get the same behavior. I did a quick fix by editing the .launch and build.xml files so that .XstartOnFirstThread were suppressed. OTOH, I'm kinda freaked out by this; would like assurance that this is really a bug in the toolkit and that -XstartOnFirstThread is really supposed to work. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit
Re: GWTCompiler Launch problem (Eclipse Plugin)
http://code.google.com/p/google-web-toolkit/issues/detail?id=4395 2009/12/21 Miguel Méndez mmen...@google.com Could you file and issue for this? On Fri, Dec 18, 2009 at 5:38 PM, bosakm martin_bo...@csgsystems.comwrote: Part 2: It would be nice, when launching the GWTCompiler in the plugin, to be able to specify the specific jars/directories for it to use (similar to being able to specify the classpath in an ANT script). On Dec 18, 9:30 am, Miguel Méndez mmen...@google.com wrote: I've seen this problem on Windows when a classpath gets too long. How big is your eclipse project's build path? On Wed, Dec 16, 2009 at 10:48 PM, bosakm martin_bo...@csgsystems.com wrote: I started getting the following error when I try to launch the GWTCompiler from RAD 7.5. The weird thing is that it worked the night before. Cannot run program C:\Program Files\IBM\SDP75\runtimes\base_v61\java \jre\bin\javaw.exe (in directory C:\workspaces\RAD7.5\milcvs1-HEAD- GWT\carenet-lexar): CreateProcess error=87, The parameter is incorrect. Here's the appropriate entry from the Eclipse log: !ENTRY com.google.gwt.eclipse.core 4 0 2009-12-16 21:45:37.997 !MESSAGE Cannot run program C:\Program Files\IBM\SDP75\runtimes \base_v61\java\jre\bin\javaw.exe (in directory C:\workspaces \RAD7.5\milcvs1-HEAD-GWT\carenet-lexar): CreateProcess error=87, The parameter is incorrect. !STACK 0 java.io.IOException: Cannot run program C:\Program Files\IBM \SDP75\runtimes\base_v61\java\jre\bin\javaw.exe (in directory C: \workspaces\RAD7.5\milcvs1-HEAD-GWT\carenet-lexar): CreateProcess error=87, The parameter is incorrect. at java.lang.ProcessBuilder.start(Unknown Source) at com.google.gdt.eclipse.core.ProcessUtilities.launchProcessAndWaitFor (Unknown Source) at com.google.gwt.eclipse.core.compile.GWTCompileRunner.compile (Unknown Source) at com.google.gwt.eclipse.core.actions.GWTCompileToolbarAction $1.runInWorkspace(Unknown Source) at org.eclipse.core.internal.resources.InternalWorkspaceJob.run (Unknown Source) at org.eclipse.core.internal.jobs.Worker.run(Unknown Source) Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect. at java.lang.ProcessImpl.init(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 6 more -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- Miguel -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt plugin on eclipse/fedora linux
What version of Eclipse are you using? Do you see any errors mentioned in the error log (Window - Show View - Error Log)? The Google Plugin for Eclipse depends on WST. Check out this FAQ entry for more details: http://code.google.com/eclipse/docs/faq.html#wstinstallerror On Thu, Dec 17, 2009 at 11:49 PM, Henry HO djhenr...@gmail.com wrote: hi, i'm trying to use the gwt plugin in eclipse for linux, but can't get it to work. the plugin is installed but, when i go to create a new project, the Web Application Project choice isn't there and there is no mention of Google in the Preferences menu (unlike eclipse/os x). has anyone been to using gwt plugin in eclipse/linux? thanks, -henry -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 + Mac OS X Leopard + Eclipse 3.5.1 + Java 6: NSConditionLock unlock error messages?
Hi Jim, A couple of questions: -What version of Java 6 is installed on your machine (do a java -version to find out)? Do you experience the same problem with a different version of Java 6 (not sure if Apple allows you to have multiple minor JDK versions on your system at the same time), or with Java 5? -Is your machine 64-bit (I think it has to be in order run Java 6 on Leopard)? -Are you using the Cocoa or Carbon version of Eclipse? Does the problem go away with one versus another? Thanks, Rajeev On Fri, Dec 18, 2009 at 11:46 AM, Rajeev Dayal rda...@google.com wrote: I'll look into this and see if I can reproduce it. On Fri, Dec 18, 2009 at 9:38 AM, Jim Douglas jdoug...@basis.com wrote: Which files did you edit? On Dec 17, 11:59 am, Madprof kickingve...@gmail.com wrote: FWIW, I get the same behavior. I did a quick fix by editing the .launch and build.xml files so that .XstartOnFirstThread were suppressed. OTOH, I'm kinda freaked out by this; would like assurance that this is really a bug in the toolkit and that -XstartOnFirstThread is really supposed to work. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 + Mac OS X Leopard + Eclipse 3.5.1 + Java 6: NSConditionLock unlock error messages?
Hi Jim, I was unable to reproduce this issue. I was using the following platform: Mac OS X 10.5.8 Java 1.6.0_17 Eclipse - Java Edition, 64 bit, Cocoa (running with Java 1.6.0_17) Now, here's the thing: -XstartOnFirstThread IS added the command-line, but that is intentional; we did that so that Development Mode would not appear as it's own application with a dock item on Mac OS X. I am not getting any of the NSCondition-related error messages. In your Eclipse install, if you generate a new test app (using the New Web App Wizard), do you run into this problem (not -XstartOnFirstThread being present, because it should be there, but the NSLock messages appearing). Rajeev On Fri, Dec 18, 2009 at 2:40 PM, Jim Douglas jdoug...@basis.com wrote: Hi Rajeev, Apple doesn't really give you a lot of choice about the JVM; you basically get what they give you. :-) The current version of Java 6 is: $ /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/ java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) (Apple only distributes Java 6 on 64-bit Intel systems.) We recently moved completely to Java 6; our app no longer builds or runs with Java 5. This is Eclipse 3.5 Cocoa. FWIW, here's my eclipse.ini: $ cd /Applications/eclipse/Eclipse.app/Contents/MacOS $ cat eclipse.ini -startup ../../../plugins/ org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library ../../../plugins/ org.eclipse.equinox.launcher.cocoa.macosx_1.0.1.R35x_v20090707 -product org.eclipse.epp.package.java.product -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Xms512m -Xmx1024m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts On Dec 18, 11:16 am, Rajeev Dayal rda...@google.com wrote: Hi Jim, A couple of questions: -What version of Java 6 is installed on your machine (do a java -version to find out)? Do you experience the same problem with a different version of Java 6 (not sure if Apple allows you to have multiple minor JDK versions on your system at the same time), or with Java 5? -Is your machine 64-bit (I think it has to be in order run Java 6 on Leopard)? -Are you using the Cocoa or Carbon version of Eclipse? Does the problem go away with one versus another? Thanks, Rajeev On Fri, Dec 18, 2009 at 11:46 AM, Rajeev Dayal rda...@google.com wrote: I'll look into this and see if I can reproduce it. On Fri, Dec 18, 2009 at 9:38 AM, Jim Douglas jdoug...@basis.com wrote: Which files did you edit? On Dec 17, 11:59 am, Madprof kickingve...@gmail.com wrote: FWIW, I get the same behavior. I did a quick fix by editing the .launch and build.xml files so that .XstartOnFirstThread were suppressed. OTOH, I'm kinda freaked out by this; would like assurance that this is really a bug in the toolkit and that -XstartOnFirstThread is really supposed to work. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 + Mac OS X Leopard + Eclipse 3.5.1 + Java 6: NSConditionLock unlock error messages?
Jim, One other question - are you using Eclipse's Development Mode View, or did you set the USE_REMOTE_UI environment variable in your launch configuration to disable it? If you did, I think I can see why you're running into problems. We've got a bug in the plugin where we're not removing -XstartOnFirstThread when you've got this override set AND you're on a Mac. Logged the following issue for this: http://code.google.com/p/google-web-toolkit/issues/detail?id=4378 Rajeev On Fri, Dec 18, 2009 at 6:12 PM, Rajeev Dayal rda...@google.com wrote: Hi Jim, I was unable to reproduce this issue. I was using the following platform: Mac OS X 10.5.8 Java 1.6.0_17 Eclipse - Java Edition, 64 bit, Cocoa (running with Java 1.6.0_17) Now, here's the thing: -XstartOnFirstThread IS added the command-line, but that is intentional; we did that so that Development Mode would not appear as it's own application with a dock item on Mac OS X. I am not getting any of the NSCondition-related error messages. In your Eclipse install, if you generate a new test app (using the New Web App Wizard), do you run into this problem (not -XstartOnFirstThread being present, because it should be there, but the NSLock messages appearing). Rajeev On Fri, Dec 18, 2009 at 2:40 PM, Jim Douglas jdoug...@basis.com wrote: Hi Rajeev, Apple doesn't really give you a lot of choice about the JVM; you basically get what they give you. :-) The current version of Java 6 is: $ /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Commands/ java -version java version 1.6.0_17 Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125) Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode) (Apple only distributes Java 6 on 64-bit Intel systems.) We recently moved completely to Java 6; our app no longer builds or runs with Java 5. This is Eclipse 3.5 Cocoa. FWIW, here's my eclipse.ini: $ cd /Applications/eclipse/Eclipse.app/Contents/MacOS $ cat eclipse.ini -startup ../../../plugins/ org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar --launcher.library ../../../plugins/ org.eclipse.equinox.launcher.cocoa.macosx_1.0.1.R35x_v20090707 -product org.eclipse.epp.package.java.product -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m -vmargs -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Xms512m -Xmx1024m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts On Dec 18, 11:16 am, Rajeev Dayal rda...@google.com wrote: Hi Jim, A couple of questions: -What version of Java 6 is installed on your machine (do a java -version to find out)? Do you experience the same problem with a different version of Java 6 (not sure if Apple allows you to have multiple minor JDK versions on your system at the same time), or with Java 5? -Is your machine 64-bit (I think it has to be in order run Java 6 on Leopard)? -Are you using the Cocoa or Carbon version of Eclipse? Does the problem go away with one versus another? Thanks, Rajeev On Fri, Dec 18, 2009 at 11:46 AM, Rajeev Dayal rda...@google.com wrote: I'll look into this and see if I can reproduce it. On Fri, Dec 18, 2009 at 9:38 AM, Jim Douglas jdoug...@basis.com wrote: Which files did you edit? On Dec 17, 11:59 am, Madprof kickingve...@gmail.com wrote: FWIW, I get the same behavior. I did a quick fix by editing the .launch and build.xml files so that .XstartOnFirstThread were suppressed. OTOH, I'm kinda freaked out by this; would like assurance that this is really a bug in the toolkit and that -XstartOnFirstThread is really supposed to work. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com
Re: GWT Plugin for Eclipse 3.6
No, there is not. We have not tested the plugin against Eclipse 3.6 as yet. On Fri, Dec 18, 2009 at 11:12 AM, RadhikaSunil sunilradh...@gmail.comwrote: Is there GWT plugin for Eclipse 3.6 ? Will the 3.5 version work for 3.6 ? I get the following error when trying to install on 3.6: Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.5 1.2.0.v200912062003 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.2.0.v200912062003) Missing requirement: Google Plugin for Eclipse 3.5 1.2.0.v200912062003 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.2.0.v200912062003) requires 'org.eclipse.platform.feature.group [3.5.0,3.6.0)' but it could not be found -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: development mode isn't updating
No, that should be fine. The important point is that anytime you have some sort of link route in your application that takes you away from the GWT app and back into it, you've got to make sure that the URL that's used when you re-enter the GWT app has the gwt.codesvr parameter. All seems to be fine in your case. Can you try generating a new sample app with the New Web Application Wizard, and seeing if updating/refreshing your code works in that case? On Wed, Dec 16, 2009 at 5:06 PM, darkflame darkfl...@gmail.com wrote: The webpage itself has no redirects, it stays at the same url, and I still see the query in the bar. Looking at firebug net tag I see; http://www.darkflame.co.uk/sharespace/firebug.jpg The get for the *.js does not have the query at the end, but the page is correctly specified as the referer..is that correct? My code does have other requests in it further down, however, the very first line of my gwt code is to write to the firebug console ( Log.info (version X) ) so I can see if the codes updated or not long before these requests are made. When that screenshot was taken, on the console page it showed version 5 as the first line in the log, when in my code I changed it to version 6 hours ago. (and stoped and rerun development mode a few times too inbetween). On Dec 16, 4:02 pm, Rajeev Dayal rda...@google.com wrote: On Tue, Dec 15, 2009 at 4:31 PM, darkflame darkfl...@gmail.com wrote: Hi, Sorry to hear that you're having troubles. thanks, I really appreciate all your help. No, they should not be. 1723 is the web server port, but 9997 is the code server port. The web server port is just that - a port on the web server which is used to serve up the page you are requesting (MyAppl...html). The code server port is a port that is opened on the development mode server for incoming browser connections. Ok, thanks, that clears that up. I wanted to leave it on by it kept telling me I had another session active. If I change it to any fixed number it always tells me that after the first time; so sessions arnt being closed correctly. So I had to tick automatically select unused port from the eclipse run options. Which gives random port numbers that work, but my application just dosnt update. If you have it at a fixed number, you need to make sure you've terminated the existing launch configuration before you try running it again. This will not be done for you automatically, which is why you're always going to get this error message if you run a launch with a fixed number twice in a row. If you want to run multiple launches at the same time, then you have to use the option to select a random port number. Normally I press the red square in eclipse to close things, which I assumed should terminate everything. Is there something else I should do? Which red square are you hitting? The one in the Debug perspective, or the one in the Development Mode View? Either way, that should be sufficient. However, that should definitely not prevent an update from occurring. Perhaps you are running into problems because you're connecting to an existing development mode session. Note that it is always possible to connect to an existing running session, even if you've started a new session from a launch configuration - all that really matters is the URL that you paste into the browsers. Be sure that all other development mode servers are terminated before starting a new one. To verify this, look at the Debug view in Eclipse, or take a look at the java processes are running on your machine. Ah, that worked though, using the Debug view I can terminate sessions and relaunch, seems to work eachtime now. Lastly; When using eclipse I have two run configurations, both were automatically generated, and I'm not sure which to use. 1. Has it popping up separately see; http://www.lostagain.nl/tempspace/config1.jpg 2. Has the development mode appearing in a eclipse panel at the bottom see; http://www.lostagain.nl/tempspace/config2.jpg The one were it pops up separately I often cant run as the port is used and I cant find where to change it (though when it does run, the code still dosnt update without a recompile). Use the second one. That is the one that uses the view integrated with Eclipse. Ok, I'll use that from now on. cheers. So, it seems multiple problems for me, but by far and away the most annoying is not being able to preview changes without recompiling. This should definitely not have to be the case. Please report back any problems that you run into so that we can get you up and running without having to perform recompilations to see your changes. Well, its still not updateing
Re: Eclipse Plugin for GWT 2.0 release
On Wed, Dec 16, 2009 at 6:34 PM, Henry q8e...@gmail.com wrote: Is there a way in the Dev Mode plugin to set the war directory to something else? No, at this time, there is not, but that is a much-requested feature. We're doing some work on this right now. What class is the DevMode plugin running... is it DevMode or is it GWTShell? Are you talking about the Google Plugin for Eclipse? If you have a GWT 2.0 folder with a WAR directory, then it uses DevMode. thx, H On Dec 11, 9:37 am, Rajeev Dayal rda...@google.com wrote: Thanks for the feedback. Please feel free file any suggestions for improvement in the issue trackerhttp://code.google.com/p/google-web-toolkit/issues/list - we'd appreciate it! 2009/12/11 István Szoboszlai mrsz...@gmail.com Hello Rajeev, Actually I think it is good, but I liked it when it was a separate window. Of course you can drag the development mode tab to be a separate window. I liked the tabbing in the normal oophm window better, and there was a way to restart jetty (perhaps I just did not find it yet in Eclipse plugin. As pointed out by Jonas, there is a way to restart the server from the Development Mode View. When you mention that you prefer the tabbing, do you mean the organization of the tabs? Or do you just prefer the navigation style of using tabs as opposed to the breadcrumb layout? Keep in mind that you can switch the layout of the Development Mode View by clicking on the arrow in the upper-right hand corner of the view. I also liked, that the debug info and the http request log was in a separate window. That is the case in the Development Mode View as well - the Server messages are logged to stdout. However, we only log HTTP requests that result in an error. If you want to see the HTTP log messages in the Development Mode View, turn the log level up to TRACE in your launch configuration. Actually I really like gwt 2.0 and also the eclipse plugin rocks! The UiBinder support is awesome! Glad to hear it. Best - István On Thu, Dec 10, 2009 at 5:43 PM, Rajeev Dayal rda...@google.com wrote: If you want to use the Development Mode UI provided by GWT, define the USE_REMOTE_UI environment variable for the launch configuration, and set its value to false. You can do this via the Environment tab for the launch configuration. If you don't mind, can you tell us why you're not a fan of the Development Mode View in Eclipse? 2009/12/10 István Szoboszlai mrsz...@gmail.com Hello! I have tried the new GWT 2.0 release, and it looks very god! My only problem is with the eclipse plugin. Do you know how to debug the project using the normal devmode window instead of the Development Mode tab in eclipse? I don't really like the new tab:) Is there a command line argument to use the nomral devmode window? Any answer is really appreciated:) Thanks in advance - István Szoboszlai | inepex.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr
Re: development mode isn't updating
Hi, Sorry to hear that you're having troubles. On Tue, Dec 15, 2009 at 8:46 AM, darkflame darkfl...@gmail.com wrote: I have the same problem, only that didnt work for me. GWT Developer plugin for firefox is listed in the firefox plugins list, however. (despite me not getting a prompt, I installed in manually). Also, there *is* a query string of what seems to be the correct format present in the url bar when trying it out in different browsers. The connection between browser and development mode seems to work...at least, if I copy the link in I see any debug things popup correctly. However, updateing the code makes no changes whatsoevereven in other browsers. (Opera,IE). I have to recompile in order to get changes. (in fact, I have to recompile under GWT1.7). I think this might be to do with the url's its giving me to copy; http://localhost:1723/MyApplicatifn.html?gwt.codesvr=192.168.178.22:9997 For example. Shouldnt 1723 and 9997 be the same? The 9997 dosnt seem to change anymore but the other does. No, they should not be. 1723 is the web server port, but 9997 is the code server port. The web server port is just that - a port on the web server which is used to serve up the page you are requesting (MyAppl...html). The code server port is a port that is opened on the development mode server for incoming browser connections. I wanted to leave it on by it kept telling me I had another session active. If I change it to any fixed number it always tells me that after the first time; so sessions arnt being closed correctly. So I had to tick automatically select unused port from the eclipse run options. Which gives random port numbers that work, but my application just dosnt update. If you have it at a fixed number, you need to make sure you've terminated the existing launch configuration before you try running it again. This will not be done for you automatically, which is why you're always going to get this error message if you run a launch with a fixed number twice in a row. If you want to run multiple launches at the same time, then you have to use the option to select a random port number. However, that should definitely not prevent an update from occurring. Perhaps you are running into problems because you're connecting to an existing development mode session. Note that it is always possible to connect to an existing running session, even if you've started a new session from a launch configuration - all that really matters is the URL that you paste into the browsers. Be sure that all other development mode servers are terminated before starting a new one. To verify this, look at the Debug view in Eclipse, or take a look at the java processes are running on your machine. Lastly; When using eclipse I have two run configurations, both were automatically generated, and I'm not sure which to use. 1. Has it popping up separately see; http://www.lostagain.nl/tempspace/config1.jpg 2. Has the development mode appearing in a eclipse panel at the bottom see; http://www.lostagain.nl/tempspace/config2.jpg The one were it pops up separately I often cant run as the port is used and I cant find where to change it (though when it does run, the code still dosnt update without a recompile). Use the second one. That is the one that uses the view integrated with Eclipse. So, it seems multiple problems for me, but by far and away the most annoying is not being able to preview changes without recompiling. This should definitely not have to be the case. Please report back any problems that you run into so that we can get you up and running without having to perform recompilations to see your changes. Despite all the coolness that gwt2 has brought, I'm tempted to go back to 1.7 till this problems resolved :-/ I really dont want to do that though, as being able to see debug information clearly while trying to get IE to behaviour helps a lot. -Thomas On Dec 12, 1:44 am, Bonor bono...@gmail.com wrote: First I couldn't see the refresh and breakpoint changes either in the browser. I also never got the Extension prompt either (like it says inhttp://code.google.com/intl/nl/webtoolkit/usingeclipse.html). Try recompiling the project with GWT recompile. Then refresh the browser and the prompt for the extendion will show. From there on it's happy hour!!! Thank you google! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email
Re: GWT 2.0 Upgrade Problem
Which browser are you using? On Tue, Dec 15, 2009 at 2:56 AM, Chris uk.org.micros...@googlemail.comwrote: Have you tried deleting the war/MyApp directory, and performing an unconditional reload of MyApp.html (hold down SHIFT and hit reload) in your browser? I tried this and a new war/MyApp directory structure was created, this time with just the gwt directory and the files clear.cache.js, hosted.html and MyApp.nocache.js. I also noticed that I wasn't inheriting GWTCanvas's module (I guess I forgot to commit this change to the repo I checked this code out of!). Once I added this back, I still get the same behaviour in the browser (i.e., the static HTML is displayed, but not the GWT portion), but now the Development Mode pane in Eclipse gives me a warning that I'm referencing a deprecated class 'com.google.gwt.client.impl.DocumentRootImpl', which comes from the the jar for the GWT 1.7 version of GWTCanvas I'm using. Do you mind posting the contents of your MyApp.html page? See below; thanks for your continued assistance. —Chris !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head !-- Use Google Chrome Frame under IE if possible. -- meta http-equiv=X-UA-Compatible content=chrome=1/ meta http-equiv=content-type content=text/html; charset=UTF-8 / !-- Favicon. -- link rel=SHORTCUT ICON href= http://www.manchester.ac.uk/ medialibrary/images/corporate/favicon.ico / !-- Our GWT styles. -- link type=text/css rel=stylesheet href=MyApp.css / link rel=stylesheet href=standard.css / !-- University of Manchester styles. -- link href= http://www.manchester.ac.uk/medialibrary/css/corporate/ _base.css type=text/css rel=stylesheet media=screen / style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_layout.css);/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_layoutleader.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_navigation.css);/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_boxes.css);/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_colourpalettes.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_colourhome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_layouthome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_rae.css);/style !--[if lt IE 7] style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome_ie6.css );/style ![endif]-- !-- Places the Manchester logo on the left by the BII logo. -- style type=text/css media=screenbody { background: url('http:// www.mhs.manchester.ac.uk/includes/tabs/v1_2/images/logomanchesterleft.gif ') no-repeat 0px 66px; }/style titleMyApp/title !-- -- !-- This script loads your compiled module. -- !-- If you add any GWT meta tags, they must -- !-- be added before this line.-- !-- -- script type=text/javascript language=javascript src=MyApp/ MyApp.nocache.js/script /head body class=homedesign1 diva name=pagetop id=pagetop/a/div div id=header div class=logo a href=/img src= http://www.bii.manchester.ac.uk/images/ BII_logo2.jpg alt=Biomedical Imaging Institute width=170 height=66 border=0 //a /div /div div class=cleannbsp;/div div id=middle div id=tabbedbar div class=tab ul style=width: 950px; li id=menu-id1a href=MyApp.html title=Use MyAppUse MyApp/a/li li id=menu-id2a href=GettingStarted.html title=Getting StartedGetting Started/a/li li id=menu-id3a href=RelatedWork.html title=Related WorkRelated Work/a/li li id=menu-id4a href=HelpAndSupport.html title=Help amp;
Re: GWT 2.0 Upgrade Problem
Also, it looks like you're loading your GWT app twice (I see two script tags that pull in MyApp.nocache.js). Can you get rid of one of the references (the one in the body) and see what happens? On Tue, Dec 15, 2009 at 12:33 PM, Rajeev Dayal rda...@google.com wrote: Which browser are you using? On Tue, Dec 15, 2009 at 2:56 AM, Chris uk.org.micros...@googlemail.comwrote: Have you tried deleting the war/MyApp directory, and performing an unconditional reload of MyApp.html (hold down SHIFT and hit reload) in your browser? I tried this and a new war/MyApp directory structure was created, this time with just the gwt directory and the files clear.cache.js, hosted.html and MyApp.nocache.js. I also noticed that I wasn't inheriting GWTCanvas's module (I guess I forgot to commit this change to the repo I checked this code out of!). Once I added this back, I still get the same behaviour in the browser (i.e., the static HTML is displayed, but not the GWT portion), but now the Development Mode pane in Eclipse gives me a warning that I'm referencing a deprecated class 'com.google.gwt.client.impl.DocumentRootImpl', which comes from the the jar for the GWT 1.7 version of GWTCanvas I'm using. Do you mind posting the contents of your MyApp.html page? See below; thanks for your continued assistance. —Chris !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en lang=en head !-- Use Google Chrome Frame under IE if possible. -- meta http-equiv=X-UA-Compatible content=chrome=1/ meta http-equiv=content-type content=text/html; charset=UTF-8 / !-- Favicon. -- link rel=SHORTCUT ICON href= http://www.manchester.ac.uk/ medialibrary/images/corporate/favicon.icohttp://www.manchester.ac.uk/medialibrary/images/corporate/favicon.ico / !-- Our GWT styles. -- link type=text/css rel=stylesheet href=MyApp.css / link rel=stylesheet href=standard.css / !-- University of Manchester styles. -- link href= http://www.manchester.ac.uk/medialibrary/css/corporate/ _base.css type=text/css rel=stylesheet media=screen / style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_layout.css);/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_layoutleader.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_navigation.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_boxes.css);/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_colourpalettes.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_colourhome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_layouthome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome.css );/style style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/_rae.css);/style !--[if lt IE 7] style type=text/css media=screen@import url(http:// www.manchester.ac.uk/medialibrary/css/corporate/home/_customhome_ie6.css );/style ![endif]-- !-- Places the Manchester logo on the left by the BII logo. -- style type=text/css media=screenbody { background: url('http:// www.mhs.manchester.ac.uk/includes/tabs/v1_2/images/logomanchesterleft.gif ') no-repeat 0px 66px; }/style titleMyApp/title !-- -- !-- This script loads your compiled module. -- !-- If you add any GWT meta tags, they must -- !-- be added before this line.-- !-- -- script type=text/javascript language=javascript src=MyApp/ MyApp.nocache.js/script /head body class=homedesign1 diva name=pagetop id=pagetop/a/div div id=header div class=logo a href=/img src= http://www.bii.manchester.ac.uk/images/ BII_logo2.jpg http://www.bii.manchester.ac.uk/images/BII_logo2.jpg alt=Biomedical Imaging Institute width=170 height=66 border=0 //a /div /div div class=cleannbsp;/div div id=middle div id=tabbedbar div class=tab ul
Re: RC2 and Eclipse Plugin
You will only get a list of startup URL suggestions if you have HTML/JSP files directly underneath your war folder. You can always add the -startupUrl html page argument to your launch configuration's program arguments, and that URL will show in the developer mode view. On Tue, Dec 15, 2009 at 5:44 AM, julian julian.n...@internode.on.netwrote: I also have no urls in the developer mode view. Running Eclipse 3.5, OS X Snow Leopard, gwt 2.0 using gwt-maven-plugin 1.2-SNAPSHOT But I can access the developer server by entering the url in the browser manually: http://localhost:/my.web.App/index.html?gwt.codesvr=localhost:9997 Interesting that I get a dialog saying that my module may need to recompiled when I use the url: http://localhost:/my.web.App/index.html Changing the working directory to point to the war folder didn't help. Also.. when using developer mode it runs extremely slowly in both safari and firefox. cpu at about 70% and network over local loop at 2.3MB / sec -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Upgrade Problem
On Tue, Dec 15, 2009 at 1:15 PM, Chris uk.org.micros...@googlemail.comwrote: Which browser are you using? I'm using Safari 4.0.4 on OS X 10.6.2. Also, it looks like you're loading your GWT app twice… OK, I removed one and still no dice. How do I add the GWT app within my page in GWT 2.0? Still using something like div id=MyApplication/div? Yes, that technique still works in GWT 2.0. Since adding that GWTCanvas inherit, I get a spinning beachball under Safari; Activity Monitor says that app isn't responding and the CPU usage of Safari goes up to about 30%. Try creating a new Web Application with the New Web Application Wizard, and try running it. Does that work? If it does, then try getting rid of the GWTCanvas inherit in your existing app. Does that help? Continued assistance very much appreciated! —Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: RC2 and Eclipse Plugin
Hi David, You should not have had to tweak the working directory. When GEP launches a GWT app, the -war option is specified, an an absolute path to the war folder is given as an argument. The startup URLs are actually derived from the war folder. Can you verify that if you change the working directory of your launch configuration that the URLs no longer show up? Thanks, Rajeev On Mon, Dec 14, 2009 at 10:08 AM, David Fuelling sappe...@gmail.com wrote: I had this problem too (though in my case it was because I took a 1.x GWT project and opened it in GWT 2.0). In my case, I had the wrong working directory during debug. To fix it, I had to go into the debug configuration for my GWT app, and set my Working Directory to be my WAR directory (it was previously just my project root). So, select Debug Configurations -- Your WebApp -- Click Arguments tab -- Select other for Working Directory -- Click the Workspace button -- Select your WAR file -- Apply. After I did that, the URL for my Hosted-mode app started showing up in the Development Mode convenience tab during debugging. On Dec 3, 3:58 pm, John Patterson jdpatter...@gmail.com wrote: Yes I see the dev mode view but there is no link. ie it says For you convenience and there is an empty list. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Upgrade Problem
Have you tried deleting the war/MyApp directory, and performing an unconditional reload of MyApp.html (hold down SHIFT and hit reload) in your browser? Do you mind posting the contents of your MyApp.html page? On Fri, Dec 11, 2009 at 5:50 PM, Chris uk.org.micros...@googlemail.comwrote: What does the war dir structure look like under your project root? Does CA786633770B20A7881AAE6CBEB6.cache.html exist anywhere? That file doesn't exist. The structure looks like the following: /MyApp/war/MyApp /MyApp/war/MyApp/gwt /MyApp/war/MyApp/14A43CD7E24B0A0136C2B8B20D6DF3C0.cache.png /MyApp/war/MyApp/548CDF11D6FE9011F3447CA200D7FB7F.cache.png /MyApp/war/MyApp/6F02E4D1CC4E715CEC0109830ED7B11F.cache.html /MyApp/war/MyApp/9A5835AB2A7C1435D8A10A61458849CC.cache.html /MyApp/war/MyApp/9DA92932034707C17CFF15F95086D53F.cache.png /MyApp/war/MyApp/A7CD51F9E5A7DED5F85AD1D82BA67A8A.cache.png /MyApp/war/MyApp/B388430974F442BEFB0B1FA19B496931.cache.html /MyApp/war/MyApp/B8517E9C2E38AA39AB7C0051564224D3.cache.png /MyApp/war/MyApp/clear.cache.gif /MyApp/war/MyApp/EA60B1BB1D14E9E4AB586FF01FF63FE5.cache.html /MyApp/war/MyApp/EE757F57A252492548FF9A859F768C5B.cache.html /MyApp/war/MyApp/hosted.html /MyApp/war/MyApp/MyApp.nocache.js -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: plugin does not show up
How did you install the plugin? Did you use the update site mechanism, or did you install it via zip files? On Fri, Dec 11, 2009 at 10:23 AM, r a f t hakan.erya...@gmail.com wrote: hi, i've just installed gwt plugin to eclipse-jee-galileo-SR1 64 bit on ubuntu 9.1. installation went smooth and i've restarted eclipse but plugin is missing. i cant see it in preferences, in launch configurations dialog, in new categories. it's just missing. error logs says nothing about it. i also tried installing the sdk bundles but didnt help. any ideas ? thanks, r a f t -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT.log on GWT 2.0
Did you try looking at the log messages in the browser entry in the Development Mode View (within Eclipse)? Also, what level are you logging at? By default, launch configurations are set to log messages that are at a level of WARN and above. On Sat, Dec 12, 2009 at 5:36 PM, Pion onlee2...@gmail.com wrote: I have just done the following: 1. Download the GWT 2.0 2. Call 'GWT.log(debug, null);' 3. Run it on my Eclipse-Galileo 4. Open Firefox 3.5.5 5. http://localhost:/foo.html. My page shows up as expected 6. Turn on Firebug 1.4.5 7. Enable Firebug console 8. Refresh I don't see any debug message on the Firebug console. I was expecting to see debug message on Firefox console. Where did the GWT.log() output go on GWT 2.0? What did I do wrong? Thanks in advance for your help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Unable to mirror Eclipse 3.5 update site
Hi Robert, On Fri, Dec 11, 2009 at 2:47 PM, Robert Munteanu robert.munte...@gmail.comwrote: Hi, I'm not able to update using the Eclipse update manager ( No repository found containing: ... ) , and I've tried to mirror the update site, using Is there any more information for that error message in particular? Have you tried removing the site from the list of Available Software Sites and re-adding it? java -jar /opt/eclipse/plugins/ org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://dl.google.com/eclipse/plugin/3.5 -to . I suspect that you may be running into problems with this because of an error in our site.xml file. There is an extra period in the URL field for the GWT SDK Bundle feature. In practice, this usually doesn't matter, because Eclipse 3.5 uses P2, which relies on the content.jar and artifacts.jar files instead of the site.xml file. It looks like the mechanism that you're using to mirror the update site may actually rely on site.xml itself instead of the jar files. We're going to push a fix out for this soon. As an FYI, there may be a P2-compatible way to mirror the update site which would get you around this problem with the site.xml file. and it fails from 2 different locations with the same error ( below ). I know about http://dl.google.com/eclipse/plugin/3.5/zips/gpe-e35-latest.zip but I'd rather use a zipped update site than dropins. Any ideas why this is happening? Thanks, Robert - !SESSION 2009-12-11 21:25:19.576 --- eclipse.buildId=M20090917-0800 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Framework arguments: -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://dl.google.com/eclipse/plugin/3.5 -to . Command-line arguments: -application org.eclipse.update.core.standaloneUpdate -command mirror -from http://dl.google.com/eclipse/plugin/3.5 -to . !ENTRY org.eclipse.update.core 4 0 2009-12-11 21:25:21.784 !MESSAGE Unable to retrieve remote reference http://dl.google.com/ eclipse/plugin/3.5/features/ com.google.gwt.eclipse.sdkbundle.e35.feature. 2.0.0._2.0.0.v200912062003.jar. [Server returned HTTP response code: 404 Not Found for URL: http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.0._2.0.0.v200912062003.jar .] !STACK 0 org.eclipse.update.internal.core.FatalIOException: Server returned HTTP response code: 404 Not Found for URL: http://dl.google.com/eclipse/plugin/3.5/features/com.google.gwt.eclipse.sdkbundle.e35.feature.2.0.0._2.0.0.v200912062003.jar . at org.eclipse.update.internal.core.UpdateManagerUtils.checkConnectionResult (UpdateManagerUtils.java:468) at org.eclipse.update.core.ContentReference.getInputStream (ContentReference.java:149) at org.eclipse.update.core.FeatureContentProvider.asLocalReference (FeatureContentProvider.java:264) at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureEntryArchiveReferences (FeaturePackagedContentProvider.java:157) at org.eclipse.update.internal.core.FeaturePackagedContentProvider.getFeatureManifestReference (FeaturePackagedContentProvider.java:83) at org.eclipse.update.internal.core.FeaturePackagedFactory.createFeature (FeaturePackagedFactory.java:39) at org.eclipse.update.core.Site.createFeature(Site.java:536) at org.eclipse.update.core.FeatureReference.createFeature (FeatureReference.java:124) at org.eclipse.update.core.FeatureReference.getFeature (FeatureReference.java:112) at org.eclipse.update.core.FeatureReference.getFeature (FeatureReference.java:99) at org.eclipse.update.internal.mirror.MirrorSite.mirrorAndExposeFeatures (MirrorSite.java:145) at org.eclipse.update.internal.mirror.MirrorSite.mirrorAndExpose (MirrorSite.java:85) at org.eclipse.update.internal.mirror.MirrorCommand.run (MirrorCommand.java:91) at org.eclipse.update.standalone.ScriptedCommand.run (ScriptedCommand.java:66) at org.eclipse.update.standalone.StandaloneUpdateApplication.run (StandaloneUpdateApplication.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException (EclipseAppContainer.java:574) at org.eclipse.equinox.internal.app.EclipseAppHandle.run (EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication (EclipseAppLauncher.java:110)
Re: Installing GWT Eclipse plugin, version 1.1.0
Yes, I'd say it's worth filing as an enhancement. That's a legitimate point. On Mon, Dec 14, 2009 at 1:04 PM, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 12, 1:08 am, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 11, 2:14 pm, Rajeev Dayal rda...@google.com wrote: We did not opt for this approach for simplicity's sake. Since we were planning on maintaining backwards compatibility with previous SDK versions, there was no good reason to provide older versions of the plugin for installation. That makes sense for the plugin; could you not have the update site list the current plugin and current-and-previous SDKs, allowing people the option of installing GPE 1.2 with SDK 1.7.1 after a few checkbox clicks? - Geoffrey Is this worth filing as a desired enhancement somewhere? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Installing GWT Eclipse plugin, version 1.1.0
On Fri, Dec 11, 2009 at 8:27 PM, Javier jasand...@gmail.com wrote: Rajeev, thanks for your reply. You can use the Google Plugin for Eclipse 1.2 with GWT 1.7 - they are compatible. If this is the case, I don't care at all about which GPE version is exposed via the update site, so long as it works with GWT 1.7.1. So GPE 1.2 will work for me. So, you can install the latest plugin from the update side BUT exclude the installation of the SDK. This is my problem. I want to be able to install the GWT 1.7.1 SDK via the update site on a brand new Eclipse installation, which doesn't have any GWT SDKs. Currently there is no mechanism for selecting the GWT SDK to be installed: the update site currently forces you to pick GWT 2.0.0. Downloading the whole GWT distro just to tell Eclipse to use that particular SDK sounds pretty silly, specially when I was able to do it seamlessly via the update site two months ago. If I understand correctly, there is no real reason for disabling the GWT 1.7.x SDK in the update site (as it could be used with the latest GPE, so this combination wouldn't produce an invalid environment). Could please confirm if this is correct? You're right. In the message above, Geoffrey suggested that an enhancement be filed for this. Having this functionality is definitely a reasonable request. Thanks again. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Cannot install GWT Eclipse plug-in
That is really odd. The update site that SHOULD have been part of the default list of update sites is: Galileo - http://download.eclipse.org/releases/galileo On Fri, Dec 11, 2009 at 1:44 AM, robert_hancock hancock.rob...@gmail.comwrote: I solved it by installing Eclipse on my Windows machine, exporting the bookmarks, and importing them into my Ubuntu 64-bi instance. Now the plugin installs. On Dec 11, 12:20 am, robert_hancock hancock.rob...@gmail.com wrote: I have the same issue with 3.5.1. Contact Other Update Sites for Needed Software is checked. This is the error message I receive: Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 3.5 1.2.0.v200912062003 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.2.0.v200912062003) Missing requirement: Google Plugin for Eclipse 3.5 1.2.0.v200912062003 (com.google.gdt.eclipse.suite.e35.feature.feature.group 1.2.0.v200912062003) requires 'org.eclipse.wst.css.core 0.0.0' but it could not be found Does someone have the Eclipse site that we can add to the list? On Dec 10, 11:09 am, Rajeev Dayal rda...@google.com wrote: There have been reports of the 64-bit versions of Eclipse not having the default update sites (such as the Galileo Update Site) included. Since the Google Plugin for Eclipse depends on WST, Eclipse needs to hit the Galileo update site during installation. Try Eclipse 3.5.1 and see if you run into the same issue. Ensure that when you're installing the Google Plugin for Eclipse, the option to Contact Other Update Sites for Needed Software is checked. On Thu, Dec 10, 2009 at 7:00 AM, Nixarn nix...@gmail.com wrote: Happens to me too :( I'm on Windows 7 64bit, got a 32bit version of Eclipse 2.5 for Java (Not EE). Fresh eclipse install and havn't had in any older version of GWT. On Oct 29, 3:01 am, Gamer_Z. zmy...@gmail.com wrote: I cannot install the GWT plug-in on Eclipse (3.5/Galileo). I have re- installed Eclipse several times. I have also copied Eclipse on a flash drive to a friend's computer and the plug-in installed fine there, so it is not a problem with Eclipse. When I get to step four ofhttp://code.google.com/eclipse/docs/install-eclipse-3.5.html, I get the message The operation cannot be completed. See the details. The Details are below: Cannot complete the install because one or more required items could not be found. Software being installed: Google Web Toolkit SDK 1.7.1 1.7.1.v200909221731 (com.google.gwt.eclipse.sdkbundle.e35.feature.feature.group 1.7.1.v200909221731) Missing requirement: Google Web Toolkit Plugin 1.1.2.v200910130758 (com.google.gwt.eclipse.core 1.1.2.v200910130758) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not be found Missing requirement: Google Web Toolkit Plugin 1.1.2.v200910131704 (com.google.gwt.eclipse.core 1.1.2.v200910131704) requires 'bundle org.eclipse.wst.sse.core 0.0.0' but it could not be found Cannot satisfy dependency: From: Google Web Toolkit SDK 1.7.1 1.7.1.v200909221731 (com.google.gwt.eclipse.sdkbundle.e35.feature.feature.group 1.7.1.v200909221731) To: com.google.gwt.eclipse.sdkbundle.win32 [1.7.1.v200909221731] Cannot satisfy dependency: From: Google Web Toolkit SDK for Win32 1.7.1.v200909221731 (com.google.gwt.eclipse.sdkbundle.win32 1.7.1.v200909221731) To: bundle com.google.gwt.eclipse.core 0.0.0 -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Download GWT Development Mode plugin for Firefox
I'd recommend that you initially have your system connected to the Internet, and when you first access your GWT Application in development mode via the browser, you'll be prompted to install the GWT Development Mode plugin. After that point, you can debug your GWT Apps without having to be connected to the Internet (for that browser). On Fri, Dec 11, 2009 at 3:26 AM, rjcarr rjc...@gmail.com wrote: Agreed, same question here. No matter what I do I can't get the browser to even trigger the download. I assume it is because I need to run as no server, but shouldn't I still be able to get it? Is no server even an option for gwt 2? I'm really confused about the new gwt 2 updates and how closely integrated it is into eclipse. Running in no server mode has nothing to do with being connected to the Internet - you only need to use that option if you don't want to make use of GWT's embedded web server (i.e. you have a back-end with a specific configuration set up already that you'd like to use). If the browser is not triggering the download, you may be getting bit by the issue of having a stale hosted.html file after switching SDK versions. This is a bug that we definitely need to fix. Delete the generated directory in your war folder, and then try hitting your GWT App again. If the download is not triggered, hold down the SHIFT key and hit Reload in your browser. That should force your browser to request the new version of hosted.html, ignoring any files in its cache. If you have any other questions about GWT 2.0's integration with Eclipse, please do ask. We definitely do not want people to be confused about it :). On Dec 9, 2:56 pm, webMustard jwille...@gmail.com wrote: I am developing on a browser that is not connected to the internet. Is there a download page where I can download the plugin instead of the browser trying to do it automatically? Thank you for time. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt 2.0 pls help
What files do you have in your war directory? Are both modules listed as startup modules under Project Properties - Google - Web Toolkit? On Fri, Dec 11, 2009 at 6:49 AM, ben fenster fenster@gmail.com wrote: m sorry 2 modules :) On 11 דצמבר, 13:14, ben fenster fenster@gmail.com wrote: i have a project with to modules it compiles with no errors when i try to run it after setting the module to run in run configuration the development shows everything is ok but dont give me any link that i can use for the browser -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2/Eclipse Project References
This is a general problem with having your GWT or App Engine project depend on another project that ultimately contributes artifacts to the war/WEB-INF/lib folder. We're going to address this in a future version of the plugin. Even though this appears to work in GWT, you'll still have to revert to the clunky technique (exporting the files from the parent project and copying them into the war/WEB-INF/lib folder of the child project) when you perform a deployment; the Google Plugin for Eclipse will not automatically do this for you. On Fri, Dec 11, 2009 at 7:09 AM, Graham graham.mor...@gmail.com wrote: This seems to be related to the AppEngine, which I don't need. Problem solved! On Dec 11, 11:51 am, Graham graham.mor...@gmail.com wrote: Sorry, just to clarify - I am referring specifically to development mode. On Dec 11, 11:49 am, Graham graham.mor...@gmail.com wrote: I've successfully upgraded to GWT 2.0 using the GWT Eclipse Plugin. All seems well, with one exception. I write all of my servlets in a seperate project, which worked under well under 1.* by simply adding the project to the build path. Unfortunately after moving to GWT 2.0 the project is being ignored at run time, and the servlets are not found (although the project appears in the Classpath tab in my run configuration). Is there anyway to specify other projects to be included in the classpath? If I export my servlets to a JAR file and drop them into the WEB-INF/ lib directory it works, but it is a bit clunky, especially as the servlets are modified frequently! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What is main class?
That is definitely odd - the correct entry point should be selected for you automatically. Do you mind posting the contents of your .project and your .classpath files? 2009/12/11 Jaroslav Záruba jaroslav.zar...@gmail.com http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading -- After upgrading to the GWT 2.0 jars, you will see the following message when running development mode using HostedMode: [WARN] The class com.google.gwt.dev.HostedMode is deprecated and will be removed -- use com.google.gwt.dev.DevMode instead. In order to eliminate this warning, change your main class from com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode. -- This is the first time I hear/read about that class. (I can't find anything like main class anywhere in the Eclipse or project settings.) Is it something that is available for change only after upgrading to GWT 2.0? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Eclipse Plugin for GWT 2.0 release
Actually, there is no way to go back to the GWT 1.7-style Hosted Browser. The workaround I gave disables the use of the Development View in Eclipse, but it will still bring up GWT's own Development Mode UI, which requires the GWT Developer Plugin to be installed in your browser. For the ssue that you're experiencing, it might be best to start a new thread about it. On Fri, Dec 11, 2009 at 12:06 AM, zinkronz network zinkr...@gmail.comwrote: i also hope can view normal window instead of development view. my firefox and safari crased after i install gwt developer plugin tosafari and firefox.. iam using mac osx 10.4 ... please help me in this matter On Fri, Dec 11, 2009 at 12:10 AM, Paul oldcoderexcept...@gmail.comwrote: Hi all, Yesterday I was concerned that I couldn't get the Development mode working at all. Turns out I guess I am a bit too bleeding edge and was using the newly released Chrome beta for linux (Fedora) and it doesn't have the GWT developer plugin. At first I had missed the message in the browser because I also had a problem in that my application tries to trap query strings to use for a single-signon redirect. I had to disable that feature in my application for now since this development mode uses it's own redirect (you might want to look at that guys, for those of use that also redirects). Anyway, got things working using Firefox instead of Chrome, and so far my one big complaint is...SLOW!! Now I do a lot of logging at the UI side (and server, but that's not where the hit is) so that is the likely cause, but still, compared to the old hosted mode, this can be painful. Overall, though, I'm starting to like it. My two cents cheers, Paul On Dec 10, 8:43 am, Rajeev Dayal rda...@google.com wrote: If you want to use the Development Mode UI provided by GWT, define the USE_REMOTE_UI environment variable for the launch configuration, and set its value to false. You can do this via the Environment tab for the launch configuration. If you don't mind, can you tell us why you're not a fan of the Development Mode View in Eclipse? 2009/12/10 István Szoboszlai mrsz...@gmail.com Hello! I have tried the new GWT 2.0 release, and it looks very god! My only problem is with the eclipse plugin. Do you know how to debug the project using the normal devmode window instead of the Development Mode tab in eclipse? I don't really like the new tab:) Is there a command line argument to use the nomral devmode window? Any answer is really appreciated:) Thanks in advance - István Szoboszlai | inepex.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%2Bunsubs cr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Eclipse Plugin for GWT 2.0 release
Thanks for the feedback. Please feel free file any suggestions for improvement in the issue trackerhttp://code.google.com/p/google-web-toolkit/issues/list - we'd appreciate it! 2009/12/11 István Szoboszlai mrsz...@gmail.com Hello Rajeev, Actually I think it is good, but I liked it when it was a separate window. Of course you can drag the development mode tab to be a separate window. I liked the tabbing in the normal oophm window better, and there was a way to restart jetty (perhaps I just did not find it yet in Eclipse plugin. As pointed out by Jonas, there is a way to restart the server from the Development Mode View. When you mention that you prefer the tabbing, do you mean the organization of the tabs? Or do you just prefer the navigation style of using tabs as opposed to the breadcrumb layout? Keep in mind that you can switch the layout of the Development Mode View by clicking on the arrow in the upper-right hand corner of the view. I also liked, that the debug info and the http request log was in a separate window. That is the case in the Development Mode View as well - the Server messages are logged to stdout. However, we only log HTTP requests that result in an error. If you want to see the HTTP log messages in the Development Mode View, turn the log level up to TRACE in your launch configuration. Actually I really like gwt 2.0 and also the eclipse plugin rocks! The UiBinder support is awesome! Glad to hear it. Best - István On Thu, Dec 10, 2009 at 5:43 PM, Rajeev Dayal rda...@google.com wrote: If you want to use the Development Mode UI provided by GWT, define the USE_REMOTE_UI environment variable for the launch configuration, and set its value to false. You can do this via the Environment tab for the launch configuration. If you don't mind, can you tell us why you're not a fan of the Development Mode View in Eclipse? 2009/12/10 István Szoboszlai mrsz...@gmail.com Hello! I have tried the new GWT 2.0 release, and it looks very god! My only problem is with the eclipse plugin. Do you know how to debug the project using the normal devmode window instead of the Development Mode tab in eclipse? I don't really like the new tab:) Is there a command line argument to use the nomral devmode window? Any answer is really appreciated:) Thanks in advance - István Szoboszlai | inepex.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com . To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: What is main class?
It applies only when developing without the Google Plugin for Eclipse. 2009/12/11 Jaroslav Záruba jaroslav.zar...@gmail.com I apologize if I confused you, I'm only reading through the GWT 2.0 stuff. I haven't faced this error myself as I'm yet to upgrade to 2.0. (I have two days to a minor deadline, so I don't want to mess with my dev.env.) My understanding is that setting the main class is fundamental part of the upgrade process, but I can't find it anywhere. Or does it apply only when compiling without the Eclipse plug-in? On Dec 11, 6:30 pm, Rajeev Dayal rda...@google.com wrote: That is definitely odd - the correct entry point should be selected for you automatically. Do you mind posting the contents of your .project and your .classpath files? 2009/12/11 Jaroslav Záruba jaroslav.zar...@gmail.com http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html#Upgrading -- After upgrading to the GWT 2.0 jars, you will see the following message when running development mode using HostedMode: [WARN] The class com.google.gwt.dev.HostedMode is deprecated and will be removed -- use com.google.gwt.dev.DevMode instead. In order to eliminate this warning, change your main class from com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode. -- This is the first time I hear/read about that class. (I can't find anything like main class anywhere in the Eclipse or project settings.) Is it something that is available for change only after upgrading to GWT 2.0? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0 Upgrade Problem
Are you using the Google Plugin for Eclipse? If you are, then it's not necessary to make any changes to the main class - this is done for you automatically by the plugin. What is the URL that you're hitting your application with when you're trying to debug it? It almost sounds like you're running in Web Mode instead of Development Mode. Do you know if your browser has the GWT Developer Plugin installed? On Fri, Dec 11, 2009 at 12:51 PM, Chris uk.org.micros...@googlemail.comwrote: Hi I've set up a brand new Mac with GWT 2.0 running under Eclipse according to the instructions at (http://code.google.com/webtoolkit/ usingeclipse.html), and the template app runs fine. However, when I checked my own GWT project that ran fine under GWT 1.7, and followed the steps in (http://code.google.com/webtoolkit/doc/latest/ ReleaseNotes.html#Upgrading), the GWT portion of the app doesn't display at all (the static HTML is displayed, just not the GWT part). (Note: I have replaced the old style div-based method of including the GWT app with the new script-based method; neither works, though.) I'm noticing a couple of 404 warnings on the console (indicating that /myprojname/CA786633770B20A7881AAE6CBEB6.cache.html, for example, can't be found—and indeed it doesn't exist). I guess this might have something to do with the problem, but I'm not sure what to do about it. (One part of the upgrade instructions (link above) that I didn't understand was about changing from com.google.gwt.dev.HostedMode to com.google.gwt.dev.DevMode. It's not clear where this should be done and I'm not seeing the warning about the former being deprecated, anyway.) Lastly, I'm using GWTCanvas (I'm using the 1.7 jar), if this makes any difference, although no part of my app gets displayed (except for the static HTML surrounding the app). I'd be really grateful if someone could suggest a way forward. Thanks in advance —Chris -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Installing GWT Eclipse plugin, version 1.1.0
You can use the Google Plugin for Eclipse 1.2 with GWT 1.7 - they are compatible. So, you can install the latest plugin from the update side BUT exclude the installation of the SDK. Even if you did install the SDK, it does not automatically change your project over to use the new one, so you would not be in a forced upgrade situation anyway. As an FYI, whenever we release a new version of the plugin, we maintain backwards compatibility with previous versions of the GWT and App Engine SDKs. So, GPE 1.2 works with App Engine 1.2.0 - 1.2.8 and GWT 1.4 - 2.0. If we ever decide to drop support for a particular SDK, we'll clearly call that out in the release notes. On Fri, Dec 11, 2009 at 1:24 PM, Javier jasand...@gmail.com wrote: Hello there: our current project uses GWT 1.7.1 and, for a variety of reasons, we don't want to upgrade to 2.0.0 yet. I'd like to setup our current development environment on a new machine; I'm at the point where I need to install the GWT eclipse plugin, but when I go to the update site (http://dl.google.com/eclipse/ plugin/3.5) the GWT SDK has been magically upgraded from 1.7.1 to 2.0.0. How can I install the previous GWT plugin for Eclipse (I believe version 1.1.0) that uses the 1.7.1 GWT SDK? Are previous versions of the GWT plugin being archived anywhere? Ideally I don't want to have to download a separate GWT bundle distribution on the side and then have to tweak Eclipse to point to it (given that I was able to seamlessly install it in the past via the site update). If it's helpful in anyway, I'm using Galileo 3.5.1. Thanks in advanced for any help. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Installing GWT Eclipse plugin, version 1.1.0
We did not opt for this approach for simplicity's sake. Since we were planning on maintaining backwards compatibility with previous SDK versions, there was no good reason to provide older versions of the plugin for installation. If it is ever the case that we release a version of the plugin that breaks compatibility with an existing SDK, we'll probably make both versions available for download. Up till now, we have not made such a change. On Fri, Dec 11, 2009 at 2:05 PM, Geoffrey Wiseman geoffrey.wise...@gmail.com wrote: On Dec 11, 1:24 pm, Javier jasand...@gmail.com wrote: Are previous versions of the GWT plugin being archived anywhere? Ideally I don't want to have to download a separate GWT bundle distribution on the side and then have to tweak Eclipse to point to it (given that I was able to seamlessly install it in the past via the site update). I know the Eclipse update system is capable of holding past versions (and hiding them by default) although it doesn't seem like that's what's being done in this case. There may be good reasons for that that i'm not aware of (e.g. the cross-compatibility of different versions of the GWT SDK and the Google Plugin that could make the user experience more painful if you chose to go that route), but ideally I'd like to be able to get the plugin (new or old) with at least the latest 1.X and 2.X SDKs for quite a while yet -- not everyone's going to want to upgrade right away. Is there something preventing this kind of approach? - Geoffrey -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: gwt 2.0 pls help
What is the name of your host HTML page (which loads up the GWT Module)? Where is it located? On Fri, Dec 11, 2009 at 2:13 PM, ben fenster fenster@gmail.com wrote: no each one in a diffrent folder inside the war the forlder is names acording to the full package name of its module for instance module x sits in war/bcom.bla.x On 11 דצמבר, 18:50, Rajeev Dayal rda...@google.com wrote: What files do you have in your war directory? Are both modules listed as startup modules under Project Properties - Google - Web Toolkit? On Fri, Dec 11, 2009 at 6:49 AM, ben fenster fenster@gmail.com wrote: m sorry 2 modules :) On 11 דצמבר, 13:14, ben fenster fenster@gmail.com wrote: i have a project with to modules it compiles with no errors when i try to run it after setting the module to run in run configuration the development shows everything is ok but dont give me any link that i can use for the browser -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com google-web-toolkit%2bunsubscr...@googlegroups.comgoogle-web-toolkit%252bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Download GWT Development Mode plugin for Firefox
Here are the URLs for the plugins: IE http://dl.google.com/dl/gwt/plugins/ie/1.0.7263.2009120800/gwt-dev-plugin.msi Firefox https://dl.google.com/dl/gwt/plugins/firefox/gwt-dev-plugin.xpi Safari https://dl.google.com/dl/gwt/plugins/safari/gwt-dev-plugin.dmg Chrome https://dl.google.com/dl/gwt/plugins/chrome/gwt-dev-plugin.crx (thanks to cramsdale) On Fri, Dec 11, 2009 at 1:12 PM, Eric erjab...@gmail.com wrote: On Dec 11, 11:43 am, Rajeev Dayal rda...@google.com wrote: I'd recommend that you initially have your system connected to the Internet, and when you first access your GWT Application in development mode via the browser, you'll be prompted to install the GWT Development Mode plugin. After that point, you can debug your GWT Apps without having to be connected to the Internet (for that browser). What if your network can never be connected to the Internet? Is there anything I could download and burn onto a CD for transfer? Respectfully, Eric Jablow -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: GWT 2.0, Browser Plugin, logging/etc issues.
The problem may have been an old hosted.html file that existed from an old SDK. Right now, there is a problem where that file is not re-generated when the SDK is switched. I believe that you would have achieved the same effect if you had blown away the generated directory for your app under the war folder. System.out.println/System.err.println statements in server code will appear in Eclipse's Console View. At this time, there is no real way to contribute logging statements to the Development Mode View from your application; the statements that appear there are generated by GWT's TreeLogger, which is a part of GWT's infrastructure. On Wed, Dec 9, 2009 at 2:41 AM, Nathan nathan.shel...@gmail.com wrote: Okay, well now I feel silly. I dunno if this is a bug, or if my post will help anyone else, but here's what I did to get it working: I did a full compile in Eclipse. I uploaded the site to my test host. I browsed there (to make sure it was working) then I went BACK to Eclipse, re-ran the project, then browsed to it and Firefox figured it out and said I needed to install the plugin, then everything worked. Quite strange. My guess is I didn't need to upload and browse to the site, but it seems like you need to do a full compile before just doing Development Mode...? Hope that'll help someone else. Everyone can just ignore my questions for help now. -nathan On Dec 9, 2:33 am, Nathan nathan.shel...@gmail.com wrote: Hey everyone. I just upgraded to GWT 2.0 today, all my code still compiles, I clicked run and it said hey browse to this place with any browser! and I did, and everything looked groovy. Then I go and try to fix a bug. I throw in a quick logging statement, like I used to in Hosted Mode in 1.7, I started with a System.out.println, figuring it would print to the console. No dice, I only get console logs from server-side code, not java-side code. Well, okay. Back to the previous system: Window.alert(...)...Also, no dice. For some reason, in Development mode, Window.alert isn't working - nothing pops up. I can compile and deploy live and it works great. I tried to poke around online, but I found nothing, but I did notice that the conversations about RC2 talk about needing a Browser GWT Plugin. Neither Chrome nor FF asked me to install a plugin, they just worked ... Am I missing something? How can I install the plugin if it doesn't ask? Is the plugin still necessary? How would my browsers *mostly* work without it? I am so confused by this. Also, just to make sure, is the Development Mode tab in Eclipse the tab that my logging statements should be going to? That's what I'm gathering, but I wanted to double check there wasn't some other view I somehow disabled and that's my problem? Thanks a bunch! -nathan -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Upgradeing to 2.0, web.xml file problem
Hey, Do you mind pasting the contents of your .project and .classpath files? I want to verify that the DevMode class is actually what's being run when you launch your app. Rajeev On Wed, Dec 9, 2009 at 2:50 PM, darkflame darkfl...@gmail.com wrote: Upgrading to 2.0, and I started getting problems with my web.xml file. Specifically its complaining of some wrong set up with my log class in use (which is ; http://code.google.com/p/gwt-log/downloads/list). The complaint was; [WARN] Server class 'com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl' could not be found in the web app, but was found on the system classpath [WARN] Adding classpath entry 'file:/D:/TomsProjects/Google%20GWT/ gwt-log-3.0.0.jar' to the web app classpath for this session For additional info see: file:/D:/eclipse/plugins/ com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/ doc/helpInfo/webAppClassPath.html Loading modules com.lostagain.companywebsite.Lostagainwebsite Validating servlet tags for module 'lostagainwebsite' For additional info see: file:/D:/eclipse/plugins/ com.google.gwt.eclipse.sdkbundle.2.0.0_2.0.0.v200912062003/gwt-2.0.0/ doc/helpInfo/servletMappings.html [WARN] Module declares a servlet class 'com.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl', but the web.xml has no corresponding declaration; please add the following lines to your web.xml: servlet servlet-nameremoteLoggingServiceImpl/servlet-name servlet- classcom.google.gwt.libideas.logging.server.RemoteLoggingServiceImpl/ servlet-class /servlet servlet-mapping servlet-nameremoteLoggingServiceImpl/servlet-name url-pattern/lostagainwebsite/logging/url-pattern /servlet-mapping --- Now I did try adding this to my web.xml file; ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app !-- Servlets -- servlet servlet-namegreetServlet/servlet-name servlet- classcom.lostagain.companywebsite.server.GreetingServiceImpl/servlet- class /servlet servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/lostagainwebsite/greet/url-pattern /servlet-mapping servlet servlet-nameremoteLoggerServiceImpl/servlet-name servlet- classcom.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/servlet- class /servlet servlet-mapping servlet-nameremoteLoggerServiceImpl/servlet-name url-pattern/lostagainwebsite/gwt-log/url-pattern /servlet-mapping !-- Default page to serve -- welcome-file-list welcome-fileLostagainwebsite.html/welcome-file /welcome-file-list /web-app ...and got the same error. I also tried with; !-- Servlets -- servlet servlet-namegreetServlet/servlet-name servlet- classcom.lostagain.companywebsite.server.GreetingServiceImpl/servlet- class servlet-nameremoteLoggerServiceImpl/servlet-name servlet- classcom.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl/servlet- class /servlet servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/lostagainwebsite/greet/url-pattern servlet-nameremoteLoggerServiceImpl/servlet-name url-pattern/lostagainwebsite/gwt-log/url-pattern /servlet-mapping ...same error. Any ideas? It was working fine in 1.7. I'm using eclipse and have run the update. (and changed the project to 2.0). -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.comgoogle-web-toolkit%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.