lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Nithian <anith...@gmail.com>
Subject Re: how to skip test while building
Date Sat, 06 Apr 2013 20:52:52 GMT
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 <erickerickson@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 <parnab.2007@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message