You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Alex Parvulescu <al...@gmail.com> on 2014/12/11 17:33:48 UTC

trunk doesn't compile

gents,

the trunk doesn't compile anymore

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project oak-solr-core: Compilation failure

[ERROR]
/Users/aparvule/work/oak/oak-live2/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/query/SolrQueryIndex.java:[303,40]
error: <anonymous
org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$1> is not
abstract and does not override abstract method visit(FullTextContains) in
FullTextVisitor

[ERROR] -> [Help 1]


ideas?

alex

Re: trunk doesn't compile

Posted by Alex Parvulescu <al...@gmail.com>.
looks perfect!

you beat me to it, my fix would have been: "ft.accept(new
FullTextVisitorBase() {" :)

thanks Chetan!

best,
alex


On Thu, Dec 11, 2014 at 5:40 PM, Chetan Mehrotra <ch...@gmail.com>
wrote:

> This was due to new method add in FulltextIndexVisitor for OAK-2301.
> Fixed that in http://svn.apache.org/r1644694. Can you try again?
> Chetan Mehrotra
>
>
> On Thu, Dec 11, 2014 at 10:03 PM, Alex Parvulescu
> <al...@gmail.com> wrote:
> > gents,
> >
> > the trunk doesn't compile anymore
> >
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> > (default-compile) on project oak-solr-core: Compilation failure
> >
> > [ERROR]
> >
> /Users/aparvule/work/oak/oak-live2/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/query/SolrQueryIndex.java:[303,40]
> > error: <anonymous
> > org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$1> is
> not
> > abstract and does not override abstract method visit(FullTextContains) in
> > FullTextVisitor
> >
> > [ERROR] -> [Help 1]
> >
> >
> > ideas?
> >
> > alex
>

Re: trunk doesn't compile

Posted by Chetan Mehrotra <ch...@gmail.com>.
This was due to new method add in FulltextIndexVisitor for OAK-2301.
Fixed that in http://svn.apache.org/r1644694. Can you try again?
Chetan Mehrotra


On Thu, Dec 11, 2014 at 10:03 PM, Alex Parvulescu
<al...@gmail.com> wrote:
> gents,
>
> the trunk doesn't compile anymore
>
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
> (default-compile) on project oak-solr-core: Compilation failure
>
> [ERROR]
> /Users/aparvule/work/oak/oak-live2/oak-solr-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/solr/query/SolrQueryIndex.java:[303,40]
> error: <anonymous
> org.apache.jackrabbit.oak.plugins.index.solr.query.SolrQueryIndex$1> is not
> abstract and does not override abstract method visit(FullTextContains) in
> FullTextVisitor
>
> [ERROR] -> [Help 1]
>
>
> ideas?
>
> alex