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 <markrmil...@gmail.com> 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: > > [javac] > /home/mark/workspace/lucene_2_9/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java:266: > cannot find symbol > [javac] symbol : method > newIntRange(java.lang.String,int,int,boolean,boolean) > [javac] location: class org.apache.lucene.search.NumericRangeQuery > [javac] query = > 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-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-dev-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org