michaelwiles / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

Build failure #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The build from trunk version 147 fails with the following error(s):

Building...
Buildfile: build.xml

compile.production:
    [mkdir] Created dir: /gin/google-gin-read-only/out/production
    [javac] Compiling 52 source files to /gin/google-gin-read-only/out/production
    [javac] /gin/google-gin-read-only/src/com/google/gwt/inject/rebind/util/KeyUtil.java:152: JWildcardType(com.google.gwt.core.ext.typeinfo.JWildcardType.BoundType,com.google.gwt.core.ext.typeinfo.JClassType) is not public in com.google.gwt.core.ext.typeinfo.JWildcardType; cannot be accessed from outside package
    [javac]         return new JWildcardType(JWildcardType.BoundType.SUPER,
    [javac]                ^
    [javac] /gin/google-gin-read-only/src/com/google/gwt/inject/rebind/util/KeyUtil.java:155: JWildcardType(com.google.gwt.core.ext.typeinfo.JWildcardType.BoundType,com.google.gwt.core.ext.typeinfo.JClassType) is not public in com.google.gwt.core.ext.typeinfo.JWildcardType; cannot be accessed from outside package
    [javac]         return new JWildcardType(JWildcardType.BoundType.EXTENDS,
    [javac]                ^
    [javac] /gin/google-gin-read-only/src/com/google/gwt/inject/rebind/util/KeyUtil.java:158: JWildcardType(com.google.gwt.core.ext.typeinfo.JWildcardType.BoundType,com.google.gwt.core.ext.typeinfo.JClassType) is not public in com.google.gwt.core.ext.typeinfo.JWildcardType; cannot be accessed from outside package
    [javac]         return new JWildcardType(JWildcardType.BoundType.UNBOUND, getClassType(Object.class));
    [javac]                ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 3 errors

BUILD FAILED
/gin/google-gin-read-only/build.xml:135: Compile failed; see the compiler error 
output for details.

I just did the following:
svn up
ant clean
ant dist
in the folder where I have downloaded gin. GWT_HOME points to the last GWT 
version 2.1.

Original issue reported on code.google.com by dilbert....@gmail.com on 1 Nov 2010 at 8:14

GoogleCodeExporter commented 9 years ago
I'm facing the same problem when using gwt 2.1. For now I'm compiling with gwt 
2.0.4.

Original comment by nat...@gmail.com on 1 Nov 2010 at 9:30

GoogleCodeExporter commented 9 years ago

Original comment by aragos on 1 Nov 2010 at 4:35

GoogleCodeExporter commented 9 years ago
I'll look into this soon, sounds pretty bad.

Original comment by aragos on 1 Nov 2010 at 4:36

GoogleCodeExporter commented 9 years ago
See http://codereview.appspot.com/2802041/ (blatant plug :) )

Original comment by dburr...@google.com on 1 Nov 2010 at 7:57

GoogleCodeExporter commented 9 years ago
Fixed in r148, thanks to dburrows!

Original comment by aragos on 2 Nov 2010 at 8:37