You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by parnab kumar <pa...@gmail.com> on 2013/04/06 12:36:18 UTC
how to skip test while building
Hi All,
I am new to Solr . I am using solr 3.4 . I want to build without
building lucene tests files in lucene and skip the tests to be fired . Can
anyone please help where to make the necessary changes .
Thanks,
Pom
Re: how to skip test while building
Posted by Amit Nithian <an...@gmail.com>.
If you generate the maven pom files you can do this I think by doing mvn
<whtaever here> -DskipTests=true.
On Sat, Apr 6, 2013 at 7:25 AM, Erick Erickson <er...@gmail.com>wrote:
> Don't know a good way to skip compiling the tests, but there isn't
> any harm in compiling them...
>
> changing to the solr directory and just issuing
> "ant example dist" builds pretty much everything. You don't execute
> tests unless you specify "ant test".
>
> "ant -p" shows you all the targets. Note that you have different
> targets depending on whether you're executing it in <solr_home> or
> <solr_home>/solr or <solr_home>/lucene.
>
> Since you mention Solr, you probably want to work in <solr_home>/solr to
> start.
>
> Best
> Erick
>
> On Sat, Apr 6, 2013 at 5:36 AM, parnab kumar <pa...@gmail.com>
> wrote:
> > Hi All,
> >
> > I am new to Solr . I am using solr 3.4 . I want to build without
> > building lucene tests files in lucene and skip the tests to be fired .
> Can
> > anyone please help where to make the necessary changes .
> >
> > Thanks,
> > Pom
>
Re: how to skip test while building
Posted by Erick Erickson <er...@gmail.com>.
Don't know a good way to skip compiling the tests, but there isn't
any harm in compiling them...
changing to the solr directory and just issuing
"ant example dist" builds pretty much everything. You don't execute
tests unless you specify "ant test".
"ant -p" shows you all the targets. Note that you have different
targets depending on whether you're executing it in <solr_home> or
<solr_home>/solr or <solr_home>/lucene.
Since you mention Solr, you probably want to work in <solr_home>/solr to start.
Best
Erick
On Sat, Apr 6, 2013 at 5:36 AM, parnab kumar <pa...@gmail.com> wrote:
> Hi All,
>
> I am new to Solr . I am using solr 3.4 . I want to build without
> building lucene tests files in lucene and skip the tests to be fired . Can
> anyone please help where to make the necessary changes .
>
> Thanks,
> Pom