Home | About | Account | Forums | Games
Guest   | Login
  Index  | Recent Threads  | Register  | Search  | Help  | RSS feeds  | View Unanswered Threads  
  Search  


Quick Go »
Thread Status: Normal
Forum Status: Locked
Total posts in this thread: 1
[Add To My Favorites] [Watch this Thread]
Author
Previous Thread This topic has been viewed 268 times and has 0 replies
__underscore
Stranger



Joined: Apr 23, 2010
Posts: 1
Status: Offline

Difficulty building from SVN

Hi there, I'm trying to build the Game Gardens source from the svn repo. I initially had some trouble building samskivert and depot due to a missing google-collect.jar, which I fixed by copying gardens/lib/*.jar into projects/{samskivert,depot}/dist/lib . I'm not convinced that was the correct solution, but it at least advanced me through the build a bit. Now I'm running into what appears to be a code problem in depot. When I do "ant distall" from the root, or "ant dist" from within the depot directory, I get the following output:


Buildfile: build.xml

prepare:

compute-builds:
[echo] Ant: true
[echo] EH Cache: ${ehcache.present}
[echo] JUnit: true

compile:
[javac] Compiling 130 source files to /home/breath/Desktop/gardens/projects/depot/dist/classes
[javac] /home/breath/Desktop/gardens/projects/depot/src/java/com/samskivert/depot/impl/operator/In.java:47: <T>toArray(java.lang.Iterable<T>,java.lang.Class<T>) in com.google.common.collect.Iterables cannot be applied to (java.lang.Iterable<capture#797 of ? extends java.lang.Comparable<?>>,java.lang.Class<java.lang.Comparable>)
[javac] this(pColumn, Iterables.toArray(values, Comparable.class));
[javac] ^
[javac] /home/breath/Desktop/gardens/projects/depot/src/java/com/samskivert/depot/Ops.java:54: <T>toArray(java.lang.Iterable<T>,java.lang.Class<T>) in com.google.common.collect.Iterables cannot be applied to (java.lang.Iterable<capture#605 of ? extends com.samskivert.depot.expression.SQLExpression>,java.lang.Class<com.samskivert.depot.expression.SQLExpression>)
[javac] return and(Iterables.toArray(conditions, SQLExpression.class));
[javac] ^
[javac] /home/breath/Desktop/gardens/projects/depot/src/java/com/samskivert/depot/Ops.java:91: <T>toArray(java.lang.Iterable<T>,java.lang.Class<T>) in com.google.common.collect.Iterables cannot be applied to (java.lang.Iterable<capture#171 of ? extends com.samskivert.depot.expression.SQLExpression>,java.lang.Class<com.samskivert.depot.expression.SQLExpression>)
[javac] return or(Iterables.toArray(conditions, SQLExpression.class));
[javac] ^
[javac] 3 errors

BUILD FAILED


I'm running Java 1.6 on Ubuntu (with the ant package that doesn't use gcj).

Thoughts about how to get past this error?
[Apr 24, 2010 6:54:46 PM] Show Printable Version of Post        Send Private Message [Link]  Go to top 
[Show Printable Version of Thread]

Home | About | Account | Forums | Games           ©2005 Three Rings Design, Inc