I fixed this in 3.x and trunk. I just have to lookup the corresponding JIRA issue.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: Uwe Schindler [mailto:[email protected]] > Sent: Sunday, March 25, 2012 5:20 PM > To: [email protected] > Subject: RE: Cannot build branch_3x > > Yeah that happens sometimes on Solr builds. Ant clean helps... > It must be a bug in javac! Maybe we should really move the class outside! > Especially non-inner pkg-private classes on the same level in a .java file > together with some other public class are a relict from Java 1.0 and should not > be used (there is already an issue open about this!). > > ----- > Uwe Schindler > H.-H.-Meier-Allee 63, D-28213 Bremen > http://www.thetaphi.de > eMail: [email protected] > > > > -----Original Message----- > > From: Michael McCandless [mailto:[email protected]] > > Sent: Sunday, March 25, 2012 4:58 PM > > To: [email protected] > > Subject: Re: Cannot build branch_3x > > > > 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 <[email protected]> > 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/BitDocSe > t > > .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 > .j > > ava: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/HashDocS > > et.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/SortedIn > t > > DocSet.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.j > av > > a:427: > > > warning: [unchecked] unchecked cast > > > [javac] found : java.lang.Object > > > [javac] required: T > > > [javac] return (T)con.newInstance(this); > > > [javac] ^ > > > > > > > > > -- > > > Bill Bell > > > [email protected] > > > cell 720-256-8076 > > > > > > -------------------------------------------------------------------- > > > - To unsubscribe, e-mail: [email protected] For > > > additional commands, e-mail: [email protected] > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] For > > additional commands, e-mail: [email protected] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional > commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
