Re: gwt-compile issue

2011-07-22 Thread Abhijit Rai



Juan Pablo Gardella gardellajuanpablo@... writes:

 
 
 Can you show the classpath?
 2011/6/17 Navindian navind...@gmail.com
 I have imported working project. It is giving the following error. please 
let me know asap.
 
 Compiling module com.ge.inds.evse.io.EVSEGRI
 [ERROR] Unexpected
 java.lang.NoSuchFieldError: 
reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
 
 
   at com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions
(JdtCompiler.java:398)
 
   at com.google.gwt.dev.javac.JdtCompiler$CompilerImpl.init
(JdtCompiler.java:228)
 
 
   at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:689)
 
   at 
com.google.gwt.dev.javac.CompilationStateBuilder$CompileMoreLater.compile
(CompilationStateBuilder.java:215)
 
 
   at com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom
(CompilationStateBuilder.java:406)
 
   at com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom
(CompilationStateBuilder.java:299)
 
 
   at com.google.gwt.dev.cfg.ModuleDef.getCompilationState
(ModuleDef.java:325)
 
   at com.google.gwt.dev.Precompile.precompile(Precompile.java:507)
 
 
   at com.google.gwt.dev.Precompile.precompile(Precompile.java:492)
 
   at com.google.gwt.dev.Precompile.precompile(Precompile.java:405)
 
 
   at com.google.gwt.dev.Compiler.run(Compiler.java:215)
 
   at com.google.gwt.dev.Compiler.run(Compiler.java:187)
 
   at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
 
   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:166)
 
 
 
 

Hey guys facing the same issue wuth eclipse Galelio with gwt 2.3 plugin 

My run config in eclipse is:

Main class: 
com.google.gwt.dev.GWTShell

Arguments :
-remoteUI ${gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -
codeServerPort 9997 -port  com.iflex.cards.Cards/Cards.html

classpath :
JRE6
src
project specific jars

Please do tell me if someone is able to nail the issue. Will keep posted with 
my findings.

Regards,
Abhijit




-- 
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.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: gwt-compile issue

2011-07-22 Thread Abhijit Rai


Ok that was stupid !!!
The problem is that com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions 
(JdtCompiler.java:208) 
is Referring to CompilerOptions which as fate would have it is referencing to 
the implementation in selenium-server.jar instead of gwt specific 
implementation.
This jar of course is not needed and can be safely removed(Its there since I 
was working on the Selenium framework).
So once this dependency is removed it works fine .

If you have a similar problem try figuring out which jar CompilerOptions is 
referring to thats where the problem might be .



Cheers :)
Abhijit


-- 
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.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Need a tool to find out client side coverage .

2011-05-12 Thread Abhijit Rai
Hi all,

Had a query regarding code coverage for the client packages of GWT,
would really appreciate anyone could help out.

I have a client heavy application ( J2EE , GWT ) having 500K lines
client code. We want to automate our test cases and we need to test
the code coverage for these 500K lines too. We are using Selenium,
TestNG (tests) and EMMA for coverage.

On the client side all (most) widgets are internal to the method (say
onModuleLoad() ) and not instance variables.
I have no handle on any of these widgets.

My question is :

Is there a tool that tells us what client end lines got executed when
we execute the corresponding Javascript (generated by GWT) ?




-- 
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.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.