Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 64737 invoked from network); 20 Oct 2009 14:19:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Oct 2009 14:19:21 -0000 Received: (qmail 37843 invoked by uid 500); 20 Oct 2009 14:19:20 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 37755 invoked by uid 500); 20 Oct 2009 14:19:20 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 37747 invoked by uid 99); 20 Oct 2009 14:19:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 14:19:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of yseeley@gmail.com designates 216.239.58.189 as permitted sender) Received: from [216.239.58.189] (HELO gv-out-0910.google.com) (216.239.58.189) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2009 14:19:10 +0000 Received: by gv-out-0910.google.com with SMTP id n8so567685gve.23 for ; Tue, 20 Oct 2009 07:18:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; bh=xR+hL9wRSITs9K3vERKIJ0QN3D+ZvXu6yDS/oJPXK5E=; b=k7IN3YOGZVgCO3QhVikoS0bkSZZFrAIC8qWOx2UegUAaGT6fYU503DlcPPj4fJ8o9x sNtqlFnru9oq6i4v8sW4/TIdMEHca9lYLWb6wYHslRobhsaH6uJTcnDcDGM6YNG17Cjz dj3K7tlmV+zZ0Iporp7NHzaaXAranlQx3lDGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=eIHkv/Xh7UWnp6ROC5vyNtBr2HMU7nsLH5UeIQQdx3dZVpiLRmxW77Kzq3dEhHC9c8 LT57CBWByQeNsVDrUnjgBPK6xcosek5iLErrRyUsVgwjAzuq7vK2QhLrq52X8YrujFsc nGLouO5PpFF5QouOPSazD+r8jNlsl+Ixw1T98= MIME-Version: 1.0 Sender: yseeley@gmail.com Reply-To: yonik@lucidimagination.com Received: by 10.216.89.195 with SMTP id c45mr2327371wef.38.1256048328355; Tue, 20 Oct 2009 07:18:48 -0700 (PDT) In-Reply-To: <4ADDC30A.50207@gmail.com> References: <4ADDC30A.50207@gmail.com> Date: Tue, 20 Oct 2009 10:18:48 -0400 X-Google-Sender-Auth: dd2095be5a6de3a5 Message-ID: Subject: Re: Compile failure in 2.9.1 Highlighter From: Yonik Seeley To: java-dev@lucene.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Not sure... but could it just be that you are relying on autoboxing, which is a Java5 feature, and the core is still marked for Java1.4 syntax? -Yonik http://www.lucidimagination.com On Tue, Oct 20, 2009 at 10:02 AM, Mark Miller wrote= : > Can someone help me figure this out. The Highlighter test runs and > passes for me in Eclipse. It obviously compiles too. > > But when I try and compile with the ant build scripts, I get: > > =A0 =A0[javac] > /home/mark/workspace/lucene_2_9/contrib/highlighter/src/test/org/apache/l= ucene/search/highlight/HighlighterTest.java:266: > cannot find symbol > =A0 =A0[javac] symbol =A0: method > newIntRange(java.lang.String,int,int,boolean,boolean) > =A0 =A0[javac] location: class org.apache.lucene.search.NumericRangeQuery > =A0 =A0[javac] =A0 =A0 query =3D > NumericRangeQuery.newIntRange(NUMERIC_FIELD_NAME, 2, 6, true, true); > > But that method appears to exist - I'm momentarily at a loss - someone > see the issue? > > -- > - Mark > > http://www.lucidimagination.com > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org > For additional commands, e-mail: java-dev-help@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org