I've seen this too... after fixing a previous compilation error. I think somehow ant/javac thinks DocSet.java doesn't need to be recompiled, yet its second (sneaky) DocSetBase class didn't get compiled (written as a class file)?
Really we should move DocSetBase class out of DocSet.java, I think? So... try "ant clean" and then compile again, and if you hit other compilation errors, fix them, and do "ant clean" again... is the workaround? Mike McCandless http://blog.mikemccandless.com On Sun, Mar 25, 2012 at 12:05 AM, William Bell <billnb...@gmail.com> wrote: > I an trying to build the branch and I get a bunch of errors... > > bill-bells-imac-2:branch3x bill$ svn info > Path: . > URL: http://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x > Repository Root: http://svn.apache.org/repos/asf > Repository UUID: 13f79535-47bb-0310-9956-ffa450edef68 > Revision: 1304979 > Node Kind: directory > Schedule: normal > Last Changed Author: sarowe > Last Changed Rev: 1304979 > Last Changed Date: 2012-03-24 20:29:48 -0600 (Sat, 24 Mar 2012) > >> cd solr >> ant example > > ommon.compile-core: > [javac] Compiling 449 source files to > /Users/bill/solr/branch3x/solr/build/solr-core/classes/java > [javac] > /Users/bill/solr/branch3x/solr/core/src/java/org/apache/solr/search/BitDocSet.java:31: > cannot find symbol > [javac] symbol: class DocSetBase > [javac] public class BitDocSet extends DocSetBase { > [javac] ^ > [javac] > /Users/bill/solr/branch3x/solr/core/src/java/org/apache/solr/search/DocSlice.java:26: > cannot find symbol > [javac] symbol: class DocSetBase > [javac] public class DocSlice extends DocSetBase implements DocList { > [javac] ^ > [javac] > /Users/bill/solr/branch3x/solr/core/src/java/org/apache/solr/search/HashDocSet.java:32: > cannot find symbol > [javac] symbol: class DocSetBase > [javac] public final class HashDocSet extends DocSetBase { > [javac] ^ > [javac] > /Users/bill/solr/branch3x/solr/core/src/java/org/apache/solr/search/SortedIntDocSet.java:31: > cannot find symbol > [javac] symbol: class DocSetBase > [javac] public class SortedIntDocSet extends DocSetBase { > [javac] ^ > [javac] > /Users/bill/solr/branch3x/solr/core/src/java/org/apache/solr/core/SolrCore.java:427: > warning: [unchecked] unchecked cast > [javac] found : java.lang.Object > [javac] required: T > [javac] return (T)con.newInstance(this); > [javac] ^ > > > -- > Bill Bell > billnb...@gmail.com > cell 720-256-8076 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org > For additional commands, e-mail: dev-h...@lucene.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org