It seems you are hitting this issue:
http://code.google.com/p/google-web-toolkit/issues/detail?id=5708

<http://code.google.com/p/google-web-toolkit/issues/detail?id=5708>Unfortunately
one of the jarjar'd Jar GWT uses causes Javac 1.5 to die in flames when
compiling GWT from source. The easiest workaround is to use Java 1.6
instead.

El 4 de diciembre de 2010 07:02, Luis <xocob...@gmail.com> escribió:

> Hi!
>
> I'm trying to execute the tests but I get this message:
>
> =============================================
> ...
> ...
> ...
> -do:
> test:
> ant-gwt:
> compile:
> build:
> compile.emma.if.enabled:
> -compile.emma.if.enabled:
> compile.tests:
> test:
>     [echo] Writing test results to /Users/Luis/Documents/workspace-
> gwt/gwt/build/out/build-tools/ant-gwt/test/reports for tests.antgwt
> -create.emma.coverage.if.enabled:
>    [junit] WARNING: multiple versions of ant detected in path for
> junit
>    [junit]          jar:file:/Applications/eclipse%20J2EE%20Helios/
> plugins/org.apache.ant_1.7.1.v20100518-1145/lib/ant.jar!/org/apache/
> tools/ant/Project.class
>    [junit]      and jar:file:/Users/Luis/Documents/workspace-gwt/gwt/
> build/staging/gwt-0.0.0/gwt-dev.jar!/org/apache/tools/ant/
> Project.class
>    [junit] Running com.google.gwt.ant.taskdefs.CommandRunnerTest
>    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,079
> sec
>    [junit] Running com.google.gwt.ant.taskdefs.SvnInfoTest
>    [junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 0,067
> sec
> customchecks:
> compile:
> build:
> test:
> doctool:
> compile:
> build:
> test:
> -do:
> dev:
> buildtools:
> build:
> ant-gwt:
> compile:
> build:
> customchecks:
> compile:
> build:
> doctool:
> compile:
> build:
> -do:
> compiler.standalone:
> build.alldeps.jar:
> compile:
> -filter.props:
> build:
> compile.emma.if.enabled:
> -compile.emma.if.enabled:
> compile.tests:
> [gwt.javac] Compiling 2249 source files to /Users/Luis/Documents/
> workspace-gwt/gwt/build/out/dev/bin-test
> [gwt.javac] An exception has occurred in the compiler (1.5.0_20).
> Please file a bug at the Java Developer Connection (http://
> java.sun.com/webapps/bugreport)  after checking the Bug Parade for
> duplicates. Include your program and the following diagnostic in your
> report.  Thank you.
> [gwt.javac] com.sun.tools.javac.code.Symbol$CompletionFailure: file
> com/google/common/annotations/GwtCompatible.class not found
>
> BUILD FAILED
> /Users/Luis/Documents/workspace-gwt/gwt/build.xml:117: The following
> error occurred while executing this line:
> /Users/Luis/Documents/workspace-gwt/gwt/build.xml:27: The following
> error occurred while executing this line:
> /Users/Luis/Documents/workspace-gwt/gwt/build.xml:54: The following
> error occurred while executing this line:
> /Users/Luis/Documents/workspace-gwt/gwt/dev/build.xml:34: Compile
> failed; see the compiler error output for details.
>
> Total time: 2 minutes 18 seconds
>
> =============================================
>
> the default target works for me, but I get the error with the target
> test. The problem comes from dev/build.xml target compile.tests. I
> tried to run that target directly, getting the same message, and with
> user/build.xml compile.tests target too
>
> Any idea? I have been trying to solve this for two of days :S
>
> Thank you
>
> --
> http://groups.google.com/group/Google-Web-Toolkit-Contributors
>

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to