Sunday, April 1, 2018

FW: Error when running ant package in solr 7.2.1 from source

-----Original Message-----
From: Shawn Heisey [mailto:apache@elyograg.org]
Sent: 28 March 2018 12:25
To: solr-user@lucene.apache.org
Subject: Re: Error when running ant package in solr 7.2.1 from source

On 3/27/2018 7:36 PM, C F wrote:
> I'm unable to run the ant package target in solr-7.2.1-src.tgz. Any ideas?
> Is git required now?

This is not a new requirement.  When the official repository was in
subversion, that target required svn -- it couldn't be built if the checkout
was done from github.  (now checkouts from github work fine)

https://issues.apache.org/jira/browse/LUCENE-4288

One of the things that the 'ant package' target will create is a source
package a lot like the one that you downloaded to begin with, and it seems
that it uses the version control software (git) to create that package.

There is another target which just creates the binary package.

Use "ant create-package" instead of "ant package" and it should work.

Thanks,
Shawn

No comments:

Post a Comment