Note that in my previous email, both errors came from running (Super)DevMode, but FWIW the Guava errors also occur in a regular production compile (which I was not anticipating).
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/5cfcf422-c969-4a00-8351-fbe34c648958%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I was pretty surprised to find that Guava doesn't compile for 1.8:
https://github.com/google/guava/issues/1738
But not at all for the reason/compile errors I was getting (which were
related to, mostly AFAICT, Predicates.and method missing).
The Guava issue is pretty old and doesn't seem very active. Kind of
disturbing, although I understand setting up separate builds for them
is likely a PITA.
The method and(Predicate<capture#1-of ? super String>, Predicate<capture#2-of ? super String>) is undefined for the type Predicates
Given that GWT embeds JDT, I wonder if it's a bug in the version of JDT
we're currently using? Just guessing, but it looks like there is a
3.11.0 version that I might try as a knee jerk/couldn't hurt first step:
https://repo.eclipse.org/index.html#nexus-search;quick~jdt
(Curious that there are multiple 3.10.0/3.11.0 artifacts in that repo,
but with different date suffixes.)
<inherits name="com.google.common.collect.Collect"/>
Tracing compile failure path for type 'com.google.common.collect.Collections2'
[ERROR] Errors in 'com/google/common/collect/Collections2.java'
[ERROR] Line 201: The method and(Predicate<capture#14-of ? super E>, Predicate<capture#15-of ?>) is undefined for the type Collections2.FilteredCollection<E>
[ERROR] Line 206: The method and(Predicate<capture#16-of ? super E>, Predicate<capture#17-of ?>) is undefined for the type Collections2.FilteredCollection<E>
Tracing compile failure path for type 'com.google.common.collect.Maps'
[ERROR] Errors in 'com/google/common/collect/super/com/google/common/collect/Maps.java'
[ERROR] Line 2244: The method and(Predicate<capture#263-of ? super Map.Entry<K,V>>, Predicate<capture#264-of ? super Map.Entry<K,V>>) is undefined for the type Predicates
[ERROR] Line 2343: The method and(Predicate<capture#265-of ? super Map.Entry<K,V>>, Predicate<capture#266-of ? super Map.Entry<K,V>>) is undefined for the type Predicates
Tracing compile failure path for type 'com.google.common.collect.Multimaps'
[ERROR] Errors in 'com/google/common/collect/super/com/google/common/collect/Multimaps.java'
[ERROR] Line 1691: The method and(Predicate<capture#83-of ? super K>, Predicate<capture#84-of ? super K>) is undefined for the type Predicates
[ERROR] Line 1954: The method and(Predicate<capture#105-of ? super Map.Entry<K,V>>, Predicate<capture#106-of ? super Map.Entry<K,V>>) is undefined for the type Predicates
[ERROR] Line 1735: The method and(Predicate<capture#87-of ? super K>, Predicate<capture#88-of ? super K>) is undefined for the type Predicates
[ERROR] Line 1779: The method and(Predicate<capture#91-of ? super K>, Predicate<capture#92-of ? super K>) is undefined for the type Predicates
[ERROR] Line 1940: The method and(Predicate<capture#103-of ? super Map.Entry<K,V>>, Predicate<capture#104-of ? super Map.Entry<K,V>>) is undefined for the type Predicates
[ERROR] Aborting compile due to errors in some input files
There is another jdt reference to: jdt-3.10.0.jar
Am I right that the two references to:jdt-3.10.0.jar should be changed to org.eclipse.jdt.core-3.11.0.v20141029-0804.jarandjdtCompilerAdapter-3.10.0.jar should be changed to jdtCompilerAdapter-3.11.0.v20141029-0804.jar
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:131: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.AssertStatement;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:132: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Assignment;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:133: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.BinaryExpression;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:134: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Block;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:135: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.BreakStatement;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:136: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CaseStatement;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:137: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CastExpression;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:138: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CharLiteral;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:139: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ClassLiteralAccess;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:140: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.Clinit;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:141: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:142: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.CompoundAssignment;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:143: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ConditionalExpression;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:144: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ConstructorDeclaration;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:145: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.ContinueStatement;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:146: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.DoStatement;
[gwt.javac] ^
[gwt.javac] /Users/mg/Downloads/GWT/trunk/dev/core/src/com/google/gwt/dev/jjs/impl/GwtAstBuilder.java:147: error: package org.eclipse.jdt.internal.compiler.ast does not exist
[gwt.javac] import org.eclipse.jdt.internal.compiler.ast.DoubleLiteral;
[gwt.javac] ^
[gwt.javac] Note: Some input files use or override a deprecated API.
[gwt.javac] Note: Recompile with -Xlint:deprecation for details.
[gwt.javac] Note: Some input files use unchecked or unsafe operations.
[gwt.javac] Note: Recompile with -Xlint:unchecked for details.
[gwt.javac] 100 errors
BUILD FAILED
/Users/mg/Downloads/GWT/trunk/build.xml:40: The following error occurred while executing this line:
/Users/mg/Downloads/GWT/trunk/build.xml:27: The following error occurred while executing this line:
/Users/mg/Downloads/GWT/trunk/build.xml:59: The following error occurred while executing this line:
/Users/mg/Downloads/GWT/trunk/dev/build.xml:183: Compile failed; see the compiler error output for details.
--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/85d94902-7bf0-4f58-9c4d-76cfb2988216%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-contributors+unsubscribe@googlegroups.com.
It looks like I've already a dependency to guava-16.0.1-rebased.jar in the trunk/dev/build.xml (did not change anything except the jdt-things).Here is the full build.xml: https://gist.github.com/foxylion/93c69dcc40a0c0e3a95cDid I miss something?
Thanks Jens, this was the problem. Looks like I missed to change it the second time.