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 Erick Erickson <er...@gmail.com> on 2017/09/02 17:18:15 UTC

Re: compiling Solr

I just hit that page with a sledgehammer and redirected people to the
"How to Contribute" page.

On Thu, Jul 13, 2017 at 3:06 PM, Shawn Heisey <ap...@elyograg.org> wrote:
> On 7/13/2017 2:16 PM, Steve Pruitt wrote:
>> I have been following the instructions on the Solr Wiki for compiling Solr.  I started with the 6.6 source.  The only thing I did different was download the src directly.  I did not use Subversion.
>> I made through step 7 - Compile application with no problems.  However, the dist folder contains newly build snapshot jars, but no war file.
>
> As noted by Daniel on your other reply, that page is very out of date.
> This is more current:
>
> https://wiki.apache.org/solr/HowToContribute
>
> There has been no war file in the dist directory since version 5.0.0,
> and there has been no war file produced *at all* since version 5.3.0.
>
> https://wiki.apache.org/solr/WhyNoWar
>
> If you run "ant server", then you will get a runnable server.  Once
> that's done, type "bin/solr start" or "bin\solr start" to start Solr,
> depending on the operating system.
>
> I agree with Daniel on another point:  If you aren't intending to
> immediately jump into editing the source code, then you should download
> the binary distribution, which is ready to run right away.
>
> You can also run "ant package" to create your own local copy of the
> binary distribution with a SNAPSHOT version number.
>
> Thanks,
> Shawn
>